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.4849/0.4849, allocations: 111.6 MB / 132.2 MB, free: 4.414 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.263e-06/1.263e-06, allocations: 0 / 177.2 MB, free: 9.012 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.487e-05, allocations: 6.031 kB / 177.2 MB, free: 9.008 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.105/1.105, allocations: 257.1 MB / 434.3 MB, free: 228 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02396/1.129, allocations: 29.43 MB / 463.8 MB, free: 2.676 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/1.129, allocations: 4 kB / 463.8 MB, free: 2.672 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.0003322/1.129, allocations: 123.2 kB / 463.9 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/1.129, allocations: 117.1 kB / 464 MB, free: 2.434 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.01744/1.147, allocations: 8.685 MB / 472.7 MB, free: 9.719 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004674/1.147, allocations: 470.1 kB / 473.2 MB, free: 9.258 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/1.147, allocations: 185.4 kB / 473.3 MB, free: 9.074 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/1.148, allocations: 287.2 kB / 473.6 MB, free: 8.793 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/1.148, allocations: 147.6 kB / 473.8 MB, free: 8.648 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/1.148, allocations: 32 kB / 473.8 MB, free: 8.617 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2349/1.383, allocations: 14.3 MB / 488.1 MB, free: 11.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/1.383, allocations: 197.1 kB / 488.3 MB, free: 11.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/1.383, allocations: 158.4 kB / 488.4 MB, free: 11.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/1.399, allocations: 9.903 MB / 498.3 MB, free: 10.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.399, allocations: 2.5 kB / 498.3 MB, free: 10.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/1.399, allocations: 0.5 kB / 498.3 MB, free: 10.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/1.399, allocations: 2.656 kB / 498.3 MB, free: 10.74 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.004786/1.404, allocations: 1.954 MB / 0.4886 GB, free: 9.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/1.404, allocations: 11.7 kB / 0.4886 GB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/1.404, allocations: 119.8 kB / 0.4887 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/1.404, allocations: 383.3 kB / 0.4891 GB, free: 9.246 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/1.404, allocations: 28 kB / 0.4891 GB, free: 9.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/1.404, allocations: 32.09 kB / 0.4891 GB, free: 9.242 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/1.405, allocations: 363.7 kB / 0.4895 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.405, allocations: 0 / 0.4895 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/1.405, allocations: 14.03 kB / 0.4895 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.405, allocations: 16.27 kB / 0.4895 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/1.405, allocations: 220.9 kB / 0.4897 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/1.406, allocations: 1.611 MB / 0.4913 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/1.406, allocations: 349.1 kB / 0.4916 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.939e-05/1.407, allocations: 104.2 kB / 0.4917 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03358/1.44, allocations: 19.76 MB / 0.511 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.44, allocations: 37.39 kB / 0.5111 GB, free: 10.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.445e-06/1.44, allocations: 0 / 0.5111 GB, free: 10.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001324/1.441, allocations: 0.6528 MB / 0.5117 GB, free: 10.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/1.441, allocations: 56.97 kB / 0.5117 GB, free: 10.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/1.442, allocations: 0.6972 MB / 0.5124 GB, free: 9.469 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/1.442, allocations: 29.7 kB / 0.5125 GB, free: 9.434 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/1.442, allocations: 439.5 kB / 0.5129 GB, free: 9.031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/1.442, allocations: 140.7 kB / 0.513 GB, free: 8.902 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/1.442, allocations: 80.97 kB / 0.5131 GB, free: 8.824 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/1.442, allocations: 0.4907 MB / 0.5136 GB, free: 8.332 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/1.443, allocations: 84.77 kB / 0.5136 GB, free: 8.246 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/1.443, allocations: 158.4 kB / 0.5138 GB, free: 8.078 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/1.443, allocations: 257.7 kB / 0.514 GB, free: 7.816 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.443, allocations: 0 / 0.514 GB, free: 7.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005046/1.443, allocations: 0.4947 MB / 0.5145 GB, free: 7.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.443, allocations: 4 kB / 0.5145 GB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.443, allocations: 7.562 kB / 0.5145 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/1.446, allocations: 0.7394 MB / 0.5153 GB, free: 6.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.446, allocations: 44.31 kB / 0.5153 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008081/1.446, allocations: 1.313 MB / 0.5166 GB, free: 5.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/1.447, allocations: 35.77 kB / 0.5166 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/1.447, allocations: 12 kB / 0.5166 GB, free: 5.176 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.0001285/1.447, allocations: 174.9 kB / 0.5168 GB, free: 5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/1.447, allocations: 95.38 kB / 0.5169 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/1.447, allocations: 0.4919 MB / 0.5174 GB, free: 4.418 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000293/1.448, allocations: 356.9 kB / 0.5177 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/1.448, allocations: 0 / 0.5177 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.448, allocations: 3.984 kB / 0.5177 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009962/1.449, allocations: 1.053 MB / 0.5187 GB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.449, allocations: 5.562 kB / 0.5187 GB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/1.449, allocations: 59.97 kB / 0.5188 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007999/1.45, allocations: 328.9 kB / 0.5191 GB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/1.45, allocations: 15.98 kB / 0.5191 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004319/1.45, allocations: 0.9389 MB / 0.52 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.45, allocations: 3 kB / 0.52 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/1.451, allocations: 0.7448 MB / 0.5208 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.451, allocations: 112.3 kB / 0.5209 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/1.451, allocations: 12 kB / 0.5209 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/1.451, allocations: 11.98 kB / 0.5209 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/1.451, allocations: 27.89 kB / 0.5209 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/1.451, allocations: 15.98 kB / 0.5209 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00022/1.451, allocations: 413.5 kB / 0.5213 GB, free: 408 kB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/1.451, allocations: 0 / 0.5213 GB, free: 408 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.002998/1.454, allocations: 1.169 MB / 0.5225 GB, free: 15.23 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.003271/1.457, allocations: 1.86 MB / 0.5243 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005278/1.458, allocations: 382.3 kB / 0.5247 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/1.458, allocations: 0 / 0.5247 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/1.458, allocations: 223 kB / 0.5249 GB, free: 13.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/1.459, allocations: 97.12 kB / 0.525 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/1.46, allocations: 1.335 MB / 0.5263 GB, free: 11.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/1.46, allocations: 197.5 kB / 0.5265 GB, free: 11.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.494e-05/1.46, allocations: 24.78 kB / 0.5265 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.461, allocations: 126.2 kB / 0.5266 GB, free: 11.21 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/1.461, allocations: 0 / 0.5266 GB, free: 11.21 MB / 458.7 MB Notification: Performance of Templates: time 0.05474/1.515, allocations: 48.33 MB / 0.5738 GB, free: 11.16 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.789054928347468]