Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.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.4817/0.4817, allocations: 111.6 MB / 131.7 MB, free: 5.055 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.TestCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 176.5 MB, free: 9.422 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.914e-05, allocations: 2.312 kB / 176.5 MB, free: 9.418 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.TestCentrifugalPump2): time 1.025/1.025, allocations: 257.9 MB / 434.4 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3365/1.361, allocations: 181 MB / 0.601 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/1.362, allocations: 0 / 0.601 GB, free: 15.03 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65: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/CentrifugalPump.mo:66:3-67: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/Machines/CentrifugalPump.mo:70:3-71:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:29:3-30: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/PressureLosses/LumpedStraightPipe.mo:31:3-32:78:writable] Warning: Connector C2 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.0004087/1.362, allocations: 145.3 kB / 0.6011 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/1.363, allocations: 224.4 kB / 0.6013 GB, free: 14.67 MB / 0.5261 GB [/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.02325/1.386, allocations: 11.77 MB / 0.6128 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008948/1.387, allocations: 0.7394 MB / 0.6135 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/1.387, allocations: 247.9 kB / 0.6138 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004799/1.388, allocations: 442.9 kB / 0.6142 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/1.388, allocations: 199.4 kB / 0.6144 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.649e-05/1.388, allocations: 44 kB / 0.6144 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02607/1.414, allocations: 18.98 MB / 0.633 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/1.414, allocations: 235.1 kB / 0.6332 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002968/1.414, allocations: 219.2 kB / 0.6334 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02171/1.436, allocations: 12.64 MB / 0.6457 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.436, allocations: 0 / 0.6457 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.422e-06/1.436, allocations: 0 / 0.6457 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.341e-05/1.436, allocations: 0 / 0.6457 GB, free: 1.203 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004546/1.441, allocations: 2.488 MB / 0.6482 GB, free: 14.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.441, allocations: 11.98 kB / 0.6482 GB, free: 14.65 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/1.441, allocations: 155.1 kB / 0.6483 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/1.441, allocations: 431.9 kB / 0.6487 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/1.441, allocations: 33 kB / 0.6488 GB, free: 14.02 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/1.441, allocations: 47.94 kB / 0.6488 GB, free: 13.97 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/1.442, allocations: 0.6622 MB / 0.6495 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.442, allocations: 7.875 kB / 0.6495 GB, free: 13.22 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/1.442, allocations: 20 kB / 0.6495 GB, free: 13.2 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/1.442, allocations: 23.98 kB / 0.6495 GB, free: 13.18 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/1.443, allocations: 0.5132 MB / 0.65 GB, free: 12.66 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/1.454, allocations: 8.272 MB / 0.6581 GB, free: 4.281 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/1.455, allocations: 0.6599 MB / 0.6587 GB, free: 3.609 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/1.455, allocations: 256.9 kB / 0.659 GB, free: 3.352 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2962/1.751, allocations: 91.98 MB / 0.7488 GB, free: 263 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.751, allocations: 41.38 kB / 0.7488 GB, free: 263 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/1.751, allocations: 0 / 0.7488 GB, free: 263 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72): time 0.002192/1.753, allocations: 1.377 MB / 0.7502 GB, free: 261.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/1.753, allocations: 55.41 kB / 0.7502 GB, free: 261.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/1.754, allocations: 0.778 MB / 0.751 GB, free: 260.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/1.754, allocations: 33.7 kB / 0.751 GB, free: 260.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/1.754, allocations: 493.3 kB / 0.7515 GB, free: 260.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.754, allocations: 247.8 kB / 0.7517 GB, free: 260.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/1.754, allocations: 115.8 kB / 0.7518 GB, free: 260 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.109e-05/1.754, allocations: 0.509 MB / 0.7523 GB, free: 259.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.754, allocations: 237.4 kB / 0.7526 GB, free: 259.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/1.755, allocations: 352.6 kB / 0.7529 GB, free: 258.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/1.755, allocations: 0.6084 MB / 0.7535 GB, free: 258.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.755, allocations: 0 / 0.7535 GB, free: 258.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007387/1.756, allocations: 0.9091 MB / 0.7544 GB, free: 257.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.756, allocations: 4 kB / 0.7544 GB, free: 257.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.756, allocations: 4 kB / 0.7544 GB, free: 257.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/1.759, allocations: 1.172 MB / 0.7555 GB, free: 256.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/1.759, allocations: 53.08 kB / 0.7556 GB, free: 256.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008023/1.76, allocations: 1.504 MB / 0.7571 GB, free: 254.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/1.76, allocations: 63.08 kB / 0.7571 GB, free: 254.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/1.76, allocations: 15.98 kB / 0.7571 GB, free: 254.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sinkP.C.a,sourceP.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 27 * 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 {(5,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/1.76, allocations: 180.5 kB / 0.7573 GB, free: 254.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/1.76, allocations: 111.3 kB / 0.7574 GB, free: 254.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009763/1.761, allocations: 1.373 MB / 0.7588 GB, free: 252.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005587/1.762, allocations: 0.7923 MB / 0.7595 GB, free: 251.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.762, allocations: 0 / 0.7595 GB, free: 251.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.762, allocations: 3.984 kB / 0.7595 GB, free: 251.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/1.763, allocations: 1.957 MB / 0.7614 GB, free: 250 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.763, allocations: 0.5625 kB / 0.7614 GB, free: 250 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/1.763, allocations: 75.89 kB / 0.7615 GB, free: 249.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/1.764, allocations: 493 kB / 0.762 GB, free: 249.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/1.764, allocations: 12.94 kB / 0.762 GB, free: 249.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005556/1.765, allocations: 1.417 MB / 0.7634 GB, free: 247.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.765, allocations: 4.766 kB / 0.7634 GB, free: 247.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008977/1.766, allocations: 1.401 MB / 0.7648 GB, free: 246.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/1.766, allocations: 136.2 kB / 0.7649 GB, free: 246.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/1.766, allocations: 12 kB / 0.7649 GB, free: 246.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/1.766, allocations: 19.98 kB / 0.7649 GB, free: 246.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/1.766, allocations: 37.75 kB / 0.7649 GB, free: 246.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/1.766, allocations: 16.56 kB / 0.765 GB, free: 246.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002998/1.767, allocations: 0.4998 MB / 0.7655 GB, free: 245.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/1.767, allocations: 0 / 0.7655 GB, free: 245.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002813/1.769, allocations: 1.617 MB / 0.767 GB, free: 244.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (lumpedStraightPipe.Q) * 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 (39): * Single equations (assignments): 36 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004602/1.774, allocations: 2.567 MB / 0.7695 GB, free: 242.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009024/1.775, allocations: 0.7578 MB / 0.7703 GB, free: 241.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.775, allocations: 0 / 0.7703 GB, free: 241.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003884/1.775, allocations: 407.5 kB / 0.7707 GB, free: 240.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006467/1.776, allocations: 212.7 kB / 0.7709 GB, free: 240.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/1.778, allocations: 1.754 MB / 0.7726 GB, free: 238.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/1.778, allocations: 226.8 kB / 0.7728 GB, free: 238.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000146/1.778, allocations: 49.91 kB / 0.7728 GB, free: 238.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/1.778, allocations: 36.5 kB / 0.7729 GB, free: 238.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.944e-06/1.778, allocations: 0 / 0.7729 GB, free: 238.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.04293/1.821, allocations: 54.37 MB / 0.826 GB, free: 184.6 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.862066088011488]