Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.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.4884/0.4884, allocations: 111.6 MB / 131.2 MB, free: 4.578 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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.34e-06, allocations: 0 / 176.1 MB, free: 8.953 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.174e-05/4.708e-05, allocations: 2.312 kB / 176.1 MB, free: 8.949 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_2): time 1.068/1.068, allocations: 257.1 MB / 433.2 MB, free: 340 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02596/1.094, allocations: 29.98 MB / 463.2 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/1.095, allocations: 4 kB / 463.2 MB, free: 2.227 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/SourceAngularVelocity.mo:6:3-7: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.00034/1.095, allocations: 115.2 kB / 463.3 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/1.095, allocations: 113.1 kB / 463.4 MB, free: 2 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.01668/1.112, allocations: 8.7 MB / 472.1 MB, free: 9.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000553/1.112, allocations: 454.1 kB / 472.6 MB, free: 8.824 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/1.113, allocations: 181.6 kB / 472.7 MB, free: 8.648 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/1.113, allocations: 279.2 kB / 473 MB, free: 8.375 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/1.113, allocations: 131.7 kB / 473.1 MB, free: 8.246 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/1.113, allocations: 28 kB / 473.2 MB, free: 8.219 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2167/1.33, allocations: 14.29 MB / 487.5 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/1.33, allocations: 196.9 kB / 487.7 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/1.33, allocations: 152.7 kB / 487.8 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01886/1.349, allocations: 9.876 MB / 497.7 MB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/1.349, allocations: 4.25 kB / 497.7 MB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.349, allocations: 0.5938 kB / 497.7 MB, free: 10.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.944e-05/1.349, allocations: 0 / 497.7 MB, free: 10.12 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.006541/1.356, allocations: 1.923 MB / 499.6 MB, free: 8.945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.356, allocations: 13.64 kB / 499.6 MB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/1.356, allocations: 120 kB / 499.7 MB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/1.356, allocations: 379 kB / 0.4884 GB, free: 8.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/1.356, allocations: 25.59 kB / 0.4884 GB, free: 8.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/1.356, allocations: 32.84 kB / 0.4884 GB, free: 8.629 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/1.357, allocations: 0.5126 MB / 0.4889 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.357, allocations: 0 / 0.4889 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/1.357, allocations: 12.09 kB / 0.489 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.381e-05/1.357, allocations: 10.62 kB / 0.489 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/1.358, allocations: 453.2 kB / 0.4894 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/1.359, allocations: 2.456 MB / 0.4918 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006664/1.36, allocations: 0.6459 MB / 0.4924 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/1.36, allocations: 224.2 kB / 0.4926 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03708/1.397, allocations: 22.69 MB / 0.5148 GB, free: 5.715 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/1.397, allocations: 36.67 kB / 0.5148 GB, free: 5.672 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.215e-06/1.397, allocations: 0 / 0.5148 GB, free: 5.672 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001868/1.399, allocations: 1.141 MB / 0.5159 GB, free: 4.523 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/1.399, allocations: 59.34 kB / 0.516 GB, free: 4.453 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/1.399, allocations: 0.6908 MB / 0.5167 GB, free: 3.746 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/1.399, allocations: 29.7 kB / 0.5167 GB, free: 3.711 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/1.4, allocations: 427.5 kB / 0.5171 GB, free: 3.285 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/1.4, allocations: 133.9 kB / 0.5172 GB, free: 3.156 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/1.4, allocations: 67.34 kB / 0.5173 GB, free: 3.082 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/1.4, allocations: 0.4887 MB / 0.5178 GB, free: 2.586 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/1.4, allocations: 191.9 kB / 0.518 GB, free: 2.398 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/1.4, allocations: 262 kB / 0.5182 GB, free: 2.117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/1.401, allocations: 473.5 kB / 0.5187 GB, free: 1.637 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.401, allocations: 0 / 0.5187 GB, free: 1.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006406/1.401, allocations: 0.7355 MB / 0.5194 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.401, allocations: 4 kB / 0.5194 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.401, allocations: 0 / 0.5194 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/1.403, allocations: 0.7209 MB / 0.5201 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/1.403, allocations: 35.08 kB / 0.5201 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008712/1.404, allocations: 1.406 MB / 0.5215 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/1.404, allocations: 39.72 kB / 0.5215 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/1.404, allocations: 8 kB / 0.5215 GB, free: 14.7 MB / 458.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 (sink.C.a,sourcePQ.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 (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001388/1.404, allocations: 172.5 kB / 0.5217 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/1.405, allocations: 94.42 kB / 0.5218 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/1.405, allocations: 0.7988 MB / 0.5226 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005633/1.406, allocations: 0.6512 MB / 0.5232 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.406, allocations: 3.094 kB / 0.5232 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.406, allocations: 3.984 kB / 0.5232 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/1.407, allocations: 1.606 MB / 0.5248 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.407, allocations: 0 / 0.5248 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/1.407, allocations: 42.98 kB / 0.5248 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009999/1.408, allocations: 481.2 kB / 0.5253 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/1.408, allocations: 8.562 kB / 0.5253 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008066/1.409, allocations: 1.405 MB / 0.5267 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.409, allocations: 0 / 0.5267 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/1.41, allocations: 0.9122 MB / 0.5276 GB, free: 8.434 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.41, allocations: 99.89 kB / 0.5277 GB, free: 8.336 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/1.41, allocations: 11.94 kB / 0.5277 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/1.41, allocations: 12 kB / 0.5277 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/1.41, allocations: 23.95 kB / 0.5277 GB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/1.41, allocations: 13.25 kB / 0.5277 GB, free: 8.277 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002889/1.411, allocations: 431 kB / 0.5281 GB, free: 7.863 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.411, allocations: 0 / 0.5281 GB, free: 7.863 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003517/1.414, allocations: 1.161 MB / 0.5293 GB, free: 6.699 MB / 458.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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004782/1.419, allocations: 1.772 MB / 0.531 GB, free: 5.145 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008662/1.42, allocations: 0.5837 MB / 0.5316 GB, free: 4.566 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.42, allocations: 0 / 0.5316 GB, free: 4.566 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003582/1.42, allocations: 337.4 kB / 0.5319 GB, free: 4.238 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/1.421, allocations: 89.7 kB / 0.532 GB, free: 4.156 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/1.423, allocations: 1.435 MB / 0.5334 GB, free: 2.703 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/1.423, allocations: 188.8 kB / 0.5335 GB, free: 2.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.349e-05/1.423, allocations: 28.48 kB / 0.5336 GB, free: 2.473 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/1.423, allocations: 20.5 kB / 0.5336 GB, free: 2.453 MB / 458.7 MB Notification: Performance of SimCode: time 2.294e-06/1.423, allocations: 0 / 0.5336 GB, free: 2.453 MB / 458.7 MB Notification: Performance of Templates: time 0.05406/1.477, allocations: 50.35 MB / 0.5828 GB, free: 388 kB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.431304490193725]