Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.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.474/0.474, allocations: 111.6 MB / 131.2 MB, free: 4.508 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.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 176.2 MB, free: 8.883 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.483e-05, allocations: 6.25 kB / 176.2 MB, free: 8.875 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.SimpleExamples.TestCentrifugalPump12): time 0.9856/0.9857, allocations: 257.2 MB / 433.4 MB, free: 292 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02373/1.009, allocations: 29.97 MB / 463.4 MB, free: 2.195 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/1.009, allocations: 8 kB / 463.4 MB, free: 2.188 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.0002835/1.01, allocations: 115.2 kB / 463.5 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/1.01, allocations: 121.1 kB / 463.6 MB, free: 1.953 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.01277/1.023, allocations: 8.681 MB / 472.3 MB, free: 9.242 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/1.023, allocations: 470.1 kB / 472.7 MB, free: 8.781 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/1.023, allocations: 185.4 kB / 472.9 MB, free: 8.598 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/1.024, allocations: 287.2 kB / 473.2 MB, free: 8.316 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/1.024, allocations: 151.6 kB / 473.4 MB, free: 8.168 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/1.024, allocations: 32 kB / 473.4 MB, free: 8.137 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.171/1.195, allocations: 14.3 MB / 487.7 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/1.195, allocations: 192.3 kB / 487.9 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/1.195, allocations: 160.6 kB / 488 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/1.206, allocations: 9.901 MB / 497.9 MB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.206, allocations: 0 / 497.9 MB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.206, allocations: 2.562 kB / 497.9 MB, free: 10.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/1.206, allocations: 0 / 497.9 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003017/1.209, allocations: 1.946 MB / 499.9 MB, free: 8.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/1.209, allocations: 15.23 kB / 499.9 MB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.895e-05/1.209, allocations: 117.4 kB / 0.4883 GB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/1.21, allocations: 384.2 kB / 0.4887 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/1.21, allocations: 24.69 kB / 0.4887 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/1.21, allocations: 36.31 kB / 0.4887 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/1.21, allocations: 417.7 kB / 0.4891 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.21, allocations: 4.625 kB / 0.4891 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/1.21, allocations: 14.28 kB / 0.4891 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/1.21, allocations: 11.55 kB / 0.4891 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/1.21, allocations: 330.2 kB / 0.4895 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/1.212, allocations: 1.736 MB / 0.4911 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/1.212, allocations: 470 kB / 0.4916 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/1.212, allocations: 158.8 kB / 0.4917 GB, free: 7.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03487/1.247, allocations: 22.69 MB / 0.5139 GB, free: 6.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/1.247, allocations: 37.38 kB / 0.5139 GB, free: 6.727 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.744e-06/1.247, allocations: 4 kB / 0.5139 GB, free: 6.723 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001305/1.249, allocations: 0.7862 MB / 0.5147 GB, free: 5.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/1.249, allocations: 58.88 kB / 0.5148 GB, free: 5.863 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/1.249, allocations: 0.7065 MB / 0.5155 GB, free: 5.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/1.249, allocations: 29.7 kB / 0.5155 GB, free: 5.105 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/1.249, allocations: 431.4 kB / 0.5159 GB, free: 4.676 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/1.25, allocations: 141.9 kB / 0.516 GB, free: 4.539 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/1.25, allocations: 77.38 kB / 0.5161 GB, free: 4.457 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.967e-05/1.25, allocations: 0.4926 MB / 0.5166 GB, free: 3.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/1.25, allocations: 132.8 kB / 0.5167 GB, free: 3.824 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/1.25, allocations: 206.2 kB / 0.5169 GB, free: 3.602 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/1.25, allocations: 352.2 kB / 0.5173 GB, free: 3.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.25, allocations: 4 kB / 0.5173 GB, free: 3.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006076/1.251, allocations: 0.6277 MB / 0.5179 GB, free: 2.609 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.251, allocations: 8 kB / 0.5179 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.251, allocations: 1.141 kB / 0.5179 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/1.253, allocations: 0.7932 MB / 0.5187 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.253, allocations: 38.97 kB / 0.5187 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008154/1.254, allocations: 1.433 MB / 0.5201 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/1.254, allocations: 36.64 kB / 0.5201 GB, free: 280 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/1.254, allocations: 28.48 kB / 0.5202 GB, free: 252 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.000115/1.254, allocations: 167.6 kB / 0.5203 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/1.254, allocations: 95.38 kB / 0.5204 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000617/1.255, allocations: 0.597 MB / 0.521 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006229/1.256, allocations: 464.8 kB / 0.5214 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.256, allocations: 0 / 0.5214 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.256, allocations: 3.984 kB / 0.5214 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/1.257, allocations: 1.268 MB / 0.5227 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.257, allocations: 0 / 0.5227 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/1.257, allocations: 63.25 kB / 0.5227 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008084/1.258, allocations: 332 kB / 0.523 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/1.258, allocations: 8 kB / 0.5231 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004418/1.258, allocations: 0.9642 MB / 0.524 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.258, allocations: 4.828 kB / 0.524 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/1.259, allocations: 0.8977 MB / 0.5249 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.259, allocations: 107.3 kB / 0.525 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/1.259, allocations: 15.94 kB / 0.525 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.259, allocations: 11.98 kB / 0.525 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/1.259, allocations: 27.95 kB / 0.525 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/1.259, allocations: 15.98 kB / 0.525 GB, free: 11.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002722/1.259, allocations: 438.9 kB / 0.5255 GB, free: 10.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.259, allocations: 0 / 0.5255 GB, free: 10.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001716/1.261, allocations: 1.173 MB / 0.5266 GB, free: 9.539 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.003081/1.264, allocations: 1.779 MB / 0.5283 GB, free: 7.977 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006264/1.265, allocations: 483.5 kB / 0.5288 GB, free: 7.512 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/1.265, allocations: 4 kB / 0.5288 GB, free: 7.508 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/1.265, allocations: 269.7 kB / 0.5291 GB, free: 7.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/1.266, allocations: 100.9 kB / 0.5292 GB, free: 7.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/1.267, allocations: 1.375 MB / 0.5305 GB, free: 5.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/1.267, allocations: 193.5 kB / 0.5307 GB, free: 5.555 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.543e-05/1.267, allocations: 32.86 kB / 0.5307 GB, free: 5.523 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/1.267, allocations: 32.5 kB / 0.5308 GB, free: 5.492 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/1.267, allocations: 0 / 0.5308 GB, free: 5.492 MB / 458.7 MB Notification: Performance of Templates: time 0.04572/1.313, allocations: 51.03 MB / 0.5806 GB, free: 2.695 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.237210865132511]