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.5214/0.5214, 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.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.054e-06/2.054e-06, allocations: 0 / 176.4 MB, free: 9.496 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.217e-05, allocations: 2.312 kB / 176.4 MB, free: 9.492 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.086/1.086, allocations: 257 MB / 433.5 MB, free: 360 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02761/1.114, allocations: 29.89 MB / 463.4 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/1.114, allocations: 8 kB / 463.4 MB, free: 2.34 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.0003546/1.115, allocations: 111.2 kB / 463.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/1.115, allocations: 117.1 kB / 463.6 MB, free: 2.113 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.01696/1.132, allocations: 8.681 MB / 472.3 MB, free: 9.402 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005317/1.132, allocations: 474.1 kB / 472.7 MB, free: 8.938 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/1.133, allocations: 185.4 kB / 472.9 MB, free: 8.754 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/1.133, allocations: 283.2 kB / 473.2 MB, free: 8.477 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/1.133, allocations: 151.6 kB / 473.3 MB, free: 8.328 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/1.133, allocations: 32 kB / 473.4 MB, free: 8.297 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2155/1.349, allocations: 14.29 MB / 487.7 MB, free: 10.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/1.349, allocations: 200.9 kB / 487.9 MB, free: 10.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/1.349, allocations: 162 kB / 488 MB, free: 10.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01714/1.366, allocations: 9.904 MB / 497.9 MB, free: 10.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.366, allocations: 0 / 497.9 MB, free: 10.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/1.366, allocations: 0 / 497.9 MB, free: 10.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.378e-05/1.366, allocations: 1.344 kB / 497.9 MB, free: 10.18 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.005101/1.371, allocations: 1.953 MB / 499.9 MB, free: 9.004 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.371, allocations: 13.52 kB / 499.9 MB, free: 9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/1.371, allocations: 119 kB / 0.4883 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/1.372, allocations: 377.5 kB / 0.4887 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/1.372, allocations: 24.91 kB / 0.4887 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/1.372, allocations: 40.88 kB / 0.4887 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/1.372, allocations: 421.3 kB / 0.4891 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.372, allocations: 3.281 kB / 0.4891 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/1.372, allocations: 14.41 kB / 0.4891 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/1.372, allocations: 12.12 kB / 0.4891 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/1.373, allocations: 327.8 kB / 0.4895 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/1.374, allocations: 1.737 MB / 0.4912 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/1.375, allocations: 497.6 kB / 0.4916 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/1.375, allocations: 157.8 kB / 0.4918 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03932/1.414, allocations: 22.69 MB / 0.5139 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/1.414, allocations: 41.38 kB / 0.514 GB, free: 6.906 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.865e-06/1.414, allocations: 0 / 0.514 GB, free: 6.906 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001623/1.416, allocations: 0.8147 MB / 0.5148 GB, free: 6.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/1.416, allocations: 56.97 kB / 0.5148 GB, free: 6.023 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/1.417, allocations: 0.7065 MB / 0.5155 GB, free: 5.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/1.417, allocations: 33.7 kB / 0.5156 GB, free: 5.262 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/1.417, allocations: 434.5 kB / 0.516 GB, free: 4.832 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/1.417, allocations: 136.8 kB / 0.5161 GB, free: 4.699 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.417, allocations: 75.67 kB / 0.5162 GB, free: 4.617 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/1.417, allocations: 0.4926 MB / 0.5166 GB, free: 4.117 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/1.417, allocations: 128.8 kB / 0.5168 GB, free: 3.988 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/1.418, allocations: 212.9 kB / 0.517 GB, free: 3.762 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/1.418, allocations: 345.1 kB / 0.5173 GB, free: 3.402 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.418, allocations: 4 kB / 0.5173 GB, free: 3.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007295/1.419, allocations: 0.6314 MB / 0.5179 GB, free: 2.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.419, allocations: 4 kB / 0.5179 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.419, allocations: 4 kB / 0.5179 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/1.421, allocations: 0.8118 MB / 0.5187 GB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.422, allocations: 40.23 kB / 0.5188 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/1.423, allocations: 1.437 MB / 0.5202 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/1.423, allocations: 43.75 kB / 0.5202 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/1.423, allocations: 19.84 kB / 0.5202 GB, free: 396 kB / 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 (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 (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.0001835/1.423, allocations: 169.5 kB / 0.5204 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/1.423, allocations: 103.4 kB / 0.5205 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007305/1.424, allocations: 0.5935 MB / 0.5211 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004588/1.424, allocations: 466.5 kB / 0.5215 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.424, allocations: 0 / 0.5215 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.424, allocations: 4.828 kB / 0.5215 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/1.426, allocations: 1.258 MB / 0.5227 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.426, allocations: 7.984 kB / 0.5228 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/1.426, allocations: 59.72 kB / 0.5228 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009552/1.427, allocations: 355.8 kB / 0.5231 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/1.427, allocations: 11.98 kB / 0.5232 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005369/1.427, allocations: 0.9676 MB / 0.5241 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.427, allocations: 4.562 kB / 0.5241 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.428, allocations: 0.8976 MB / 0.525 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/1.429, allocations: 108.4 kB / 0.5251 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/1.429, allocations: 11.94 kB / 0.5251 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/1.429, allocations: 19.98 kB / 0.5251 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/1.429, allocations: 28.5 kB / 0.5251 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/1.429, allocations: 12.03 kB / 0.5252 GB, free: 11.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003385/1.429, allocations: 438.9 kB / 0.5256 GB, free: 10.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/1.429, allocations: 0 / 0.5256 GB, free: 10.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003013/1.432, allocations: 1.173 MB / 0.5267 GB, free: 9.641 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.005135/1.437, allocations: 1.787 MB / 0.5285 GB, free: 8.074 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008773/1.438, allocations: 487.1 kB / 0.5289 GB, free: 7.605 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.438, allocations: 0 / 0.5289 GB, free: 7.605 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/1.439, allocations: 269.6 kB / 0.5292 GB, free: 7.348 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/1.439, allocations: 100.2 kB / 0.5293 GB, free: 7.258 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/1.441, allocations: 1.365 MB / 0.5306 GB, free: 5.875 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/1.441, allocations: 200.8 kB / 0.5308 GB, free: 5.656 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/1.441, allocations: 25.86 kB / 0.5308 GB, free: 5.633 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/1.441, allocations: 28.48 kB / 0.5309 GB, free: 5.605 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/1.441, allocations: 0 / 0.5309 GB, free: 5.605 MB / 458.7 MB Notification: Performance of Templates: time 0.0467/1.488, allocations: 41.97 MB / 0.5718 GB, free: 11.92 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.190713403979316]