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.8273/0.8273, allocations: 111.6 MB / 131 MB, free: 5.102 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 2.204e-06/2.204e-06, allocations: 0 / 175.7 MB, free: 9.527 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.964e-05, allocations: 5.125 kB / 175.7 MB, free: 9.523 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.771/1.771, allocations: 254.8 MB / 430.4 MB, free: 428 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04738/1.819, allocations: 29.86 MB / 460.3 MB, free: 2.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/1.819, allocations: 4 kB / 460.3 MB, free: 2.445 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.0004763/1.819, allocations: 107.3 kB / 460.4 MB, free: 2.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/1.82, allocations: 125.1 kB / 460.5 MB, free: 2.219 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.0249/1.845, allocations: 8.677 MB / 469.2 MB, free: 9.504 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008161/1.845, allocations: 458.1 kB / 469.6 MB, free: 9.055 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/1.846, allocations: 173.8 kB / 469.8 MB, free: 8.883 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004767/1.846, allocations: 279.2 kB / 470.1 MB, free: 8.609 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/1.846, allocations: 139.6 kB / 470.2 MB, free: 8.473 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.054e-05/1.846, allocations: 28 kB / 470.2 MB, free: 8.445 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02953/1.876, allocations: 14.29 MB / 484.5 MB, free: 10.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003002/1.876, allocations: 195.3 kB / 484.7 MB, free: 9.945 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002657/1.877, allocations: 155.4 kB / 484.9 MB, free: 9.793 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.244/2.121, allocations: 10.03 MB / 494.9 MB, free: 23.22 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/2.121, allocations: 2.375 kB / 494.9 MB, free: 23.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/2.121, allocations: 0 / 494.9 MB, free: 23.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.343e-05/2.121, allocations: 1.25 kB / 494.9 MB, free: 23.22 MB / 442.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.005143/2.126, allocations: 1.964 MB / 496.9 MB, free: 22.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/2.126, allocations: 14.23 kB / 496.9 MB, free: 22.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/2.126, allocations: 121.9 kB / 497 MB, free: 22.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/2.126, allocations: 383.2 kB / 497.4 MB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/2.126, allocations: 26 kB / 497.4 MB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/2.127, allocations: 31.47 kB / 497.4 MB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008567/2.127, allocations: 0.5676 MB / 498 MB, free: 21.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/2.127, allocations: 3.188 kB / 498 MB, free: 21.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/2.127, allocations: 15.38 kB / 498 MB, free: 21.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/2.127, allocations: 10.02 kB / 498 MB, free: 21.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/2.128, allocations: 0.5433 MB / 498.6 MB, free: 21.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/2.131, allocations: 2.588 MB / 0.4894 GB, free: 20.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/2.132, allocations: 0.745 MB / 0.4901 GB, free: 20.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/2.133, allocations: 264 kB / 0.4904 GB, free: 20.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07278/2.205, allocations: 22.7 MB / 0.5126 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/2.205, allocations: 35.69 kB / 0.5126 GB, free: 15.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.064e-06/2.205, allocations: 0 / 0.5126 GB, free: 15.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.003554/2.209, allocations: 1.353 MB / 0.5139 GB, free: 14.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/2.209, allocations: 59.3 kB / 0.514 GB, free: 14.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007148/2.21, allocations: 0.7836 MB / 0.5147 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/2.21, allocations: 29.33 kB / 0.5148 GB, free: 13.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/2.21, allocations: 456.2 kB / 0.5152 GB, free: 13.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/2.21, allocations: 137 kB / 0.5153 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/2.21, allocations: 80.7 kB / 0.5154 GB, free: 13.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/2.21, allocations: 0.4949 MB / 0.5159 GB, free: 12.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/2.21, allocations: 234.8 kB / 0.5161 GB, free: 12.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/2.211, allocations: 322.3 kB / 0.5164 GB, free: 12.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/2.211, allocations: 0.5478 MB / 0.517 GB, free: 12.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.211, allocations: 3.281 kB / 0.517 GB, free: 12.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001118/2.213, allocations: 0.8461 MB / 0.5178 GB, free: 11.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/2.213, allocations: 5.562 kB / 0.5178 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/2.213, allocations: 8 kB / 0.5178 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/2.217, allocations: 0.7855 MB / 0.5186 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/2.217, allocations: 38.95 kB / 0.5186 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/2.218, allocations: 1.531 MB / 0.5201 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/2.218, allocations: 35.59 kB / 0.5201 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/2.218, allocations: 11.88 kB / 0.5201 GB, free: 9.57 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 (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.0002021/2.219, allocations: 193.5 kB / 0.5203 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/2.219, allocations: 88.11 kB / 0.5204 GB, free: 9.309 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/2.22, allocations: 0.914 MB / 0.5213 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001033/2.221, allocations: 0.7713 MB / 0.5221 GB, free: 7.945 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.221, allocations: 4 kB / 0.5221 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/2.221, allocations: 7.922 kB / 0.5221 GB, free: 7.934 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/2.223, allocations: 1.843 MB / 0.5239 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/2.223, allocations: 0 / 0.5239 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/2.223, allocations: 41.42 kB / 0.5239 GB, free: 6.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/2.225, allocations: 0.5166 MB / 0.5244 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/2.225, allocations: 12 kB / 0.5244 GB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/2.226, allocations: 1.525 MB / 0.5259 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.226, allocations: 0.625 kB / 0.5259 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/2.228, allocations: 1.032 MB / 0.5269 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/2.228, allocations: 106.7 kB / 0.527 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/2.228, allocations: 8 kB / 0.527 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/2.228, allocations: 12 kB / 0.527 GB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/2.228, allocations: 28.73 kB / 0.5271 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/2.228, allocations: 9.312 kB / 0.5271 GB, free: 3.148 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003854/2.229, allocations: 470.9 kB / 0.5275 GB, free: 2.695 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/2.229, allocations: 0 / 0.5275 GB, free: 2.695 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002903/2.231, allocations: 1.159 MB / 0.5287 GB, free: 1.535 MB / 442.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.004096/2.236, allocations: 1.773 MB / 0.5304 GB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/2.237, allocations: 0.6834 MB / 0.5311 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/2.237, allocations: 1.969 kB / 0.5311 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008073/2.238, allocations: 378.5 kB / 0.5314 GB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007674/2.239, allocations: 94.38 kB / 0.5315 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/2.242, allocations: 1.457 MB / 0.5329 GB, free: 13.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/2.242, allocations: 376.9 kB / 0.5333 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/2.242, allocations: 20.25 kB / 0.5333 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/2.242, allocations: 24.5 kB / 0.5333 GB, free: 12.93 MB / 458.7 MB Notification: Performance of SimCode: time 1.362e-06/2.242, allocations: 0 / 0.5333 GB, free: 12.93 MB / 458.7 MB Notification: Performance of Templates: time 0.07062/2.313, allocations: 41.19 MB / 0.5736 GB, free: 3.984 MB / 490.7 MB " [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: 8.322337934980169]