Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.4897/0.4897, allocations: 111.6 MB / 131.2 MB, free: 4.609 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 176.2 MB, free: 9.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.598e-05, allocations: 11.5 kB / 176.2 MB, free: 9.156 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.03/1.03, allocations: 257.1 MB / 433.3 MB, free: 296 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02932/1.059, allocations: 33.07 MB / 466.4 MB, free: 15.1 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/1.059, allocations: 4 kB / 466.4 MB, free: 15.09 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:33:3-34:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:35:3-36:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000313/1.059, allocations: 111.3 kB / 466.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/1.06, allocations: 131 kB / 466.6 MB, free: 14.86 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01828/1.078, allocations: 9.81 MB / 476.4 MB, free: 5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005594/1.078, allocations: 425.9 kB / 476.9 MB, free: 4.582 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/1.079, allocations: 120.7 kB / 477 MB, free: 4.461 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/1.079, allocations: 243.3 kB / 477.2 MB, free: 4.223 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/1.079, allocations: 103.7 kB / 477.3 MB, free: 4.121 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/1.079, allocations: 24 kB / 477.3 MB, free: 4.098 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2288/1.308, allocations: 16.77 MB / 494.1 MB, free: 8.598 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.733e-05/1.308, allocations: 56.66 kB / 494.2 MB, free: 8.598 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/1.308, allocations: 103.8 kB / 494.3 MB, free: 8.598 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01579/1.324, allocations: 10.76 MB / 0.4932 GB, free: 5.312 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.324, allocations: 0 / 0.4932 GB, free: 5.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.324, allocations: 5.328 kB / 0.4932 GB, free: 5.309 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.343e-06/1.324, allocations: 0 / 0.4932 GB, free: 5.309 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002316/1.326, allocations: 1.554 MB / 0.4947 GB, free: 4.191 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.326, allocations: 11.61 kB / 0.4947 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/1.326, allocations: 55.3 kB / 0.4948 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/1.327, allocations: 198.6 kB / 0.495 GB, free: 3.977 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.327, allocations: 18.56 kB / 0.495 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/1.327, allocations: 21.97 kB / 0.495 GB, free: 3.961 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/1.327, allocations: 282.2 kB / 0.4953 GB, free: 3.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.327, allocations: 0.9375 kB / 0.4953 GB, free: 3.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/1.327, allocations: 12.81 kB / 0.4953 GB, free: 3.742 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/1.327, allocations: 9.094 kB / 0.4953 GB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/1.327, allocations: 123.7 kB / 0.4954 GB, free: 3.707 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/1.343, allocations: 11.18 MB / 0.5063 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/1.344, allocations: 127 kB / 0.5064 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/1.344, allocations: 55.66 kB / 0.5065 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07171/1.415, allocations: 43.75 MB / 0.5492 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/1.416, allocations: 41.39 kB / 0.5493 GB, free: 0.793 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 2.355e-06/1.416, allocations: 0 / 0.5493 GB, free: 0.793 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.001387/1.417, allocations: 485.3 kB / 0.5497 GB, free: 320 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/1.417, allocations: 51.41 kB / 0.5498 GB, free: 256 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/1.417, allocations: 254.7 kB / 0.55 GB, free: 15.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/1.417, allocations: 29.7 kB / 0.55 GB, free: 15.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/1.417, allocations: 218.4 kB / 0.5503 GB, free: 15.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/1.417, allocations: 142.7 kB / 0.5504 GB, free: 15.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/1.417, allocations: 63.31 kB / 0.5504 GB, free: 15.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/1.417, allocations: 0.5157 MB / 0.551 GB, free: 15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.891e-05/1.418, allocations: 48.47 kB / 0.551 GB, free: 14.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/1.418, allocations: 113.4 kB / 0.5511 GB, free: 14.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/1.418, allocations: 179.4 kB / 0.5513 GB, free: 14.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.418, allocations: 0 / 0.5513 GB, free: 14.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007315/1.419, allocations: 369.6 kB / 0.5516 GB, free: 14.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.419, allocations: 9.406 kB / 0.5516 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.419, allocations: 4 kB / 0.5516 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/1.419, allocations: 198.5 kB / 0.5518 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/1.419, allocations: 19.98 kB / 0.5519 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004933/1.42, allocations: 0.9356 MB / 0.5528 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/1.42, allocations: 31.72 kB / 0.5528 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/1.42, allocations: 8 kB / 0.5528 GB, free: 13.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 9.33e-05/1.42, allocations: 163.6 kB / 0.553 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/1.42, allocations: 31.8 kB / 0.553 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/1.42, allocations: 0.8036 MB / 0.5538 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001949/1.421, allocations: 201.3 kB / 0.554 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/1.421, allocations: 0 / 0.554 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/1.421, allocations: 4 kB / 0.554 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/1.421, allocations: 0.7171 MB / 0.5547 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.421, allocations: 0 / 0.5547 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/1.421, allocations: 23.98 kB / 0.5547 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003135/1.422, allocations: 161.5 kB / 0.5548 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.422, allocations: 7.938 kB / 0.5549 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007099/1.422, allocations: 0.9411 MB / 0.5558 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.422, allocations: 0 / 0.5558 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/1.423, allocations: 398.8 kB / 0.5562 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/1.423, allocations: 35.83 kB / 0.5562 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/1.423, allocations: 11.89 kB / 0.5562 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/1.423, allocations: 4.5 kB / 0.5562 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/1.423, allocations: 11.97 kB / 0.5562 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/1.423, allocations: 12 kB / 0.5562 GB, free: 9.352 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001305/1.423, allocations: 241 kB / 0.5565 GB, free: 9.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.423, allocations: 0 / 0.5565 GB, free: 9.113 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002183/1.425, allocations: 1.216 MB / 0.5576 GB, free: 7.895 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003369/1.428, allocations: 1.896 MB / 0.5595 GB, free: 6.227 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004179/1.429, allocations: 246.5 kB / 0.5597 GB, free: 5.988 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.429, allocations: 0 / 0.5597 GB, free: 5.988 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/1.429, allocations: 120.7 kB / 0.5598 GB, free: 5.871 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/1.429, allocations: 118.6 kB / 0.56 GB, free: 5.766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.43, allocations: 0.5721 MB / 0.5605 GB, free: 5.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.623e-05/1.431, allocations: 96.3 kB / 0.5606 GB, free: 5.066 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.532e-05/1.431, allocations: 18.8 kB / 0.5606 GB, free: 5.051 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/1.431, allocations: 20.5 kB / 0.5606 GB, free: 5.031 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/1.431, allocations: 2.906 kB / 0.5606 GB, free: 5.031 MB / 490.7 MB Notification: Performance of Templates: time 0.05742/1.488, allocations: 53.63 MB / 0.613 GB, free: 15.69 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9802264319732785]