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.4901/0.4901, allocations: 111.6 MB / 131.5 MB, free: 4.41 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 2.335e-06/2.335e-06, allocations: 0 / 176.6 MB, free: 8.945 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.321e-05, allocations: 5.125 kB / 176.6 MB, free: 8.941 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.069/1.069, allocations: 262.9 MB / 439.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02519/1.094, allocations: 29.9 MB / 469.4 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/1.094, allocations: 4 kB / 469.4 MB, free: 0.5742 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.0003232/1.094, allocations: 111.2 kB / 469.5 MB, free: 476 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/1.095, allocations: 121.1 kB / 469.6 MB, free: 352 kB / 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.01618/1.111, allocations: 8.766 MB / 478.4 MB, free: 7.543 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000485/1.111, allocations: 470.1 kB / 478.8 MB, free: 7.082 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/1.112, allocations: 187.4 kB / 479 MB, free: 6.895 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/1.112, allocations: 287.2 kB / 479.3 MB, free: 6.613 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/1.112, allocations: 143.6 kB / 479.4 MB, free: 6.473 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/1.112, allocations: 32 kB / 479.5 MB, free: 6.441 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2279/1.34, allocations: 14.3 MB / 493.8 MB, free: 9.816 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/1.34, allocations: 194 kB / 493.9 MB, free: 9.816 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/1.34, allocations: 161.6 kB / 494.1 MB, free: 9.816 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01577/1.356, allocations: 9.906 MB / 0.4922 GB, free: 9.402 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.356, allocations: 0 / 0.4922 GB, free: 9.402 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.356, allocations: 0 / 0.4922 GB, free: 9.402 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/1.356, allocations: 0 / 0.4922 GB, free: 9.402 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.004092/1.36, allocations: 1.811 MB / 0.494 GB, free: 8.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.36, allocations: 17.44 kB / 0.494 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/1.36, allocations: 73.28 kB / 0.4941 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/1.361, allocations: 359.2 kB / 0.4944 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/1.361, allocations: 27.38 kB / 0.4944 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/1.361, allocations: 31.16 kB / 0.4944 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/1.361, allocations: 351.7 kB / 0.4948 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.361, allocations: 2.594 kB / 0.4948 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/1.361, allocations: 13.78 kB / 0.4948 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/1.361, allocations: 12 kB / 0.4948 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/1.361, allocations: 209.4 kB / 0.495 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/1.362, allocations: 1.139 MB / 0.4961 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/1.363, allocations: 326.6 kB / 0.4964 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/1.363, allocations: 90.14 kB / 0.4965 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0323/1.395, allocations: 20.35 MB / 0.5164 GB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.395, allocations: 34.56 kB / 0.5164 GB, free: 7.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.124e-06/1.395, allocations: 0 / 0.5164 GB, free: 7.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001076/1.396, allocations: 0.5426 MB / 0.517 GB, free: 7.004 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/1.396, allocations: 63.34 kB / 0.517 GB, free: 6.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/1.397, allocations: 0.5811 MB / 0.5176 GB, free: 6.445 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/1.397, allocations: 33.64 kB / 0.5176 GB, free: 6.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.397, allocations: 248.6 kB / 0.5179 GB, free: 6.191 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/1.397, allocations: 138.3 kB / 0.518 GB, free: 6.062 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/1.397, allocations: 75.53 kB / 0.5181 GB, free: 5.992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/1.397, allocations: 322.2 kB / 0.5184 GB, free: 5.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/1.397, allocations: 75.62 kB / 0.5184 GB, free: 5.602 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/1.397, allocations: 140.7 kB / 0.5186 GB, free: 5.461 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/1.397, allocations: 235.7 kB / 0.5188 GB, free: 5.223 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.397, allocations: 0.5625 kB / 0.5188 GB, free: 5.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003904/1.398, allocations: 408 kB / 0.5192 GB, free: 4.832 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.398, allocations: 8 kB / 0.5192 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.398, allocations: 0 / 0.5192 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/1.4, allocations: 0.7437 MB / 0.5199 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/1.4, allocations: 40.28 kB / 0.52 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005918/1.4, allocations: 0.9909 MB / 0.5209 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/1.4, allocations: 35.73 kB / 0.521 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/1.4, allocations: 11.98 kB / 0.521 GB, free: 3.02 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.0001161/1.401, allocations: 124.7 kB / 0.5211 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/1.401, allocations: 51.23 kB / 0.5211 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/1.401, allocations: 495.5 kB / 0.5216 GB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000231/1.401, allocations: 303.7 kB / 0.5219 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/1.401, allocations: 0 / 0.5219 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.401, allocations: 5.297 kB / 0.5219 GB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008058/1.402, allocations: 0.8964 MB / 0.5228 GB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.402, allocations: 0 / 0.5228 GB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/1.402, allocations: 63.7 kB / 0.5228 GB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007042/1.403, allocations: 323.9 kB / 0.5232 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/1.403, allocations: 15.98 kB / 0.5232 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003569/1.403, allocations: 0.6842 MB / 0.5238 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.403, allocations: 0 / 0.5238 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/1.404, allocations: 0.6514 MB / 0.5245 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/1.404, allocations: 87.3 kB / 0.5246 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/1.404, allocations: 16.89 kB / 0.5246 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/1.404, allocations: 12 kB / 0.5246 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/1.404, allocations: 28.97 kB / 0.5246 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/1.404, allocations: 4 kB / 0.5246 GB, free: 15.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001742/1.404, allocations: 290.3 kB / 0.5249 GB, free: 15.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/1.404, allocations: 0 / 0.5249 GB, free: 15.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003/1.407, allocations: 1.181 MB / 0.526 GB, free: 13.89 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.003123/1.41, allocations: 1.892 MB / 0.5279 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004693/1.411, allocations: 363.2 kB / 0.5282 GB, free: 11.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.411, allocations: 8 kB / 0.5282 GB, free: 11.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/1.411, allocations: 211.5 kB / 0.5284 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/1.411, allocations: 97.25 kB / 0.5285 GB, free: 11.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/1.413, allocations: 1.346 MB / 0.5299 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/1.413, allocations: 193.5 kB / 0.53 GB, free: 10 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.654e-05/1.413, allocations: 32.95 kB / 0.5301 GB, free: 9.973 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.413, allocations: 95.34 kB / 0.5302 GB, free: 9.879 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/1.413, allocations: 4 kB / 0.5302 GB, free: 9.875 MB / 458.7 MB Notification: Performance of Templates: time 0.04724/1.461, allocations: 47.59 MB / 0.5766 GB, free: 10.57 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.109191263094544]