Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.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.5204/0.5204, allocations: 111.6 MB / 131.4 MB, free: 4.438 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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 176.5 MB, free: 9 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.454e-05, allocations: 9.047 kB / 176.5 MB, free: 8.992 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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4): time 1.073/1.073, allocations: 257.1 MB / 433.6 MB, free: 236 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02462/1.097, allocations: 29.44 MB / 463 MB, free: 2.676 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/1.098, allocations: 0 / 463 MB, free: 2.676 MB / 410.7 MB [/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/SourcePQ.mo:16:3-17: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/Sink.mo:10:3-11: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/ElectroMechanics/BoundaryConditions/SourceTorque.mo:5:3-6:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003356/1.098, allocations: 107.3 kB / 463.1 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/1.098, allocations: 133 kB / 463.2 MB, free: 2.438 MB / 410.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.01742/1.116, allocations: 8.681 MB / 471.9 MB, free: 9.727 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006496/1.116, allocations: 474.1 kB / 472.4 MB, free: 9.262 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/1.116, allocations: 193.3 kB / 472.6 MB, free: 9.07 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/1.117, allocations: 283.2 kB / 472.9 MB, free: 8.793 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/1.117, allocations: 135.6 kB / 473 MB, free: 8.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/1.117, allocations: 32 kB / 473 MB, free: 8.629 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2435/1.361, allocations: 14.31 MB / 487.3 MB, free: 11.12 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/1.361, allocations: 195.2 kB / 487.5 MB, free: 11.12 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/1.361, allocations: 157.4 kB / 487.7 MB, free: 11.12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01576/1.377, allocations: 9.907 MB / 497.6 MB, free: 10.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/1.377, allocations: 0 / 497.6 MB, free: 10.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.192e-06/1.377, allocations: 1.344 kB / 497.6 MB, free: 10.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/1.377, allocations: 0 / 497.6 MB, free: 10.83 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.004163/1.381, allocations: 1.965 MB / 499.5 MB, free: 9.641 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.381, allocations: 13.64 kB / 499.6 MB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/1.381, allocations: 118.4 kB / 499.7 MB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/1.381, allocations: 380.4 kB / 0.4883 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/1.381, allocations: 28.12 kB / 0.4883 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/1.381, allocations: 26.28 kB / 0.4884 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/1.382, allocations: 367.1 kB / 0.4887 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.382, allocations: 0 / 0.4887 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/1.382, allocations: 13 kB / 0.4887 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/1.382, allocations: 14.33 kB / 0.4887 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/1.382, allocations: 221.6 kB / 0.489 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.383, allocations: 1.612 MB / 0.4905 GB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/1.384, allocations: 352.2 kB / 0.4909 GB, free: 8.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/1.384, allocations: 108.3 kB / 0.491 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03114/1.415, allocations: 19.94 MB / 0.5104 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.415, allocations: 37.39 kB / 0.5105 GB, free: 10.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/1.415, allocations: 0 / 0.5105 GB, free: 10.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001297/1.416, allocations: 0.6613 MB / 0.5111 GB, free: 10.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/1.416, allocations: 51.41 kB / 0.5112 GB, free: 10.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/1.417, allocations: 0.6998 MB / 0.5119 GB, free: 9.398 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/1.417, allocations: 29.7 kB / 0.5119 GB, free: 9.363 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/1.417, allocations: 445.3 kB / 0.5123 GB, free: 8.957 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/1.417, allocations: 138.1 kB / 0.5124 GB, free: 8.828 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/1.417, allocations: 77.75 kB / 0.5125 GB, free: 8.754 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/1.417, allocations: 0.4955 MB / 0.513 GB, free: 8.258 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/1.417, allocations: 85.41 kB / 0.5131 GB, free: 8.172 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/1.417, allocations: 160.4 kB / 0.5132 GB, free: 8.004 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/1.418, allocations: 250.9 kB / 0.5135 GB, free: 7.746 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.418, allocations: 0 / 0.5135 GB, free: 7.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005245/1.418, allocations: 0.4975 MB / 0.514 GB, free: 7.254 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.418, allocations: 4 kB / 0.514 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.418, allocations: 4.625 kB / 0.514 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/1.42, allocations: 0.7436 MB / 0.5147 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/1.42, allocations: 48.05 kB / 0.5147 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007681/1.421, allocations: 1.311 MB / 0.516 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/1.421, allocations: 36.95 kB / 0.5161 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/1.421, allocations: 12 kB / 0.5161 GB, free: 5.102 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourceP.C.b,sinkP.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {(5,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001292/1.421, allocations: 171.8 kB / 0.5162 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/1.421, allocations: 99.36 kB / 0.5163 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/1.422, allocations: 0.4971 MB / 0.5168 GB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003017/1.422, allocations: 351.9 kB / 0.5171 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/1.422, allocations: 0 / 0.5171 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.422, allocations: 9.344 kB / 0.5172 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/1.423, allocations: 1.059 MB / 0.5182 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.423, allocations: 3.938 kB / 0.5182 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/1.423, allocations: 59.42 kB / 0.5183 GB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007819/1.424, allocations: 340.9 kB / 0.5186 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/1.424, allocations: 8 kB / 0.5186 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004604/1.425, allocations: 0.9357 MB / 0.5195 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.425, allocations: 0 / 0.5195 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006764/1.425, allocations: 0.7572 MB / 0.5202 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/1.426, allocations: 111.2 kB / 0.5203 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/1.426, allocations: 4 kB / 0.5203 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/1.426, allocations: 16.69 kB / 0.5204 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/1.426, allocations: 29.06 kB / 0.5204 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/1.426, allocations: 13.48 kB / 0.5204 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000292/1.426, allocations: 420.9 kB / 0.5208 GB, free: 308 kB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/1.426, allocations: 3.188 kB / 0.5208 GB, free: 308 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.003889/1.43, allocations: 1.169 MB / 0.5219 GB, free: 15.13 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (29): * Single equations (assignments): 28 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003273/1.433, allocations: 1.867 MB / 0.5238 GB, free: 13.47 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000527/1.434, allocations: 382.2 kB / 0.5241 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.434, allocations: 0 / 0.5241 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002476/1.434, allocations: 225.6 kB / 0.5244 GB, free: 12.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/1.434, allocations: 91.47 kB / 0.5244 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/1.436, allocations: 1.334 MB / 0.5257 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/1.436, allocations: 193.5 kB / 0.5259 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.405e-05/1.436, allocations: 28.36 kB / 0.526 GB, free: 11.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/1.436, allocations: 130.2 kB / 0.5261 GB, free: 11.09 MB / 458.7 MB Notification: Performance of SimCode: time 8.22e-07/1.436, allocations: 0 / 0.5261 GB, free: 11.09 MB / 458.7 MB Notification: Performance of Templates: time 0.04948/1.486, allocations: 48.3 MB / 0.5732 GB, free: 11.05 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0082113719545305]