Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.481/0.481, allocations: 111.6 MB / 132.2 MB, free: 4.418 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.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 177.3 MB, free: 8.934 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.577e-05, allocations: 2.312 kB / 177.3 MB, free: 8.93 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.TestStaticCentrifugalPump1): time 1.093/1.093, allocations: 257.2 MB / 434.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02729/1.121, allocations: 32.47 MB / 466.9 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/1.121, allocations: 0 / 466.9 MB, free: 15.24 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:33:3-34: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/StaticCentrifugalPump.mo:35:3-36: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/BoundaryConditions/SourceP.mo:19:3-20: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/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003284/1.121, allocations: 107.4 kB / 467 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/1.121, allocations: 134.9 kB / 467.2 MB, free: 15 MB / 426.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.01785/1.139, allocations: 9.807 MB / 477 MB, free: 5.148 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003774/1.14, allocations: 426 kB / 477.4 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/1.14, allocations: 116.7 kB / 477.5 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/1.14, allocations: 251.3 kB / 477.7 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/1.14, allocations: 103.7 kB / 477.8 MB, free: 4.266 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/1.14, allocations: 20 kB / 477.9 MB, free: 4.246 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2326/1.373, allocations: 16.77 MB / 494.6 MB, free: 8.648 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/1.373, allocations: 60.31 kB / 494.7 MB, free: 8.648 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/1.373, allocations: 96.86 kB / 494.8 MB, free: 8.648 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0228/1.396, allocations: 10.77 MB / 0.4937 GB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.396, allocations: 0 / 0.4937 GB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.396, allocations: 4.797 kB / 0.4937 GB, free: 5.449 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/1.396, allocations: 0 / 0.4937 GB, free: 5.449 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004768/1.401, allocations: 1.56 MB / 0.4952 GB, free: 4.344 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.401, allocations: 13.05 kB / 0.4952 GB, free: 4.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/1.401, allocations: 56.7 kB / 0.4953 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/1.401, allocations: 195 kB / 0.4955 GB, free: 4.129 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/1.401, allocations: 13.88 kB / 0.4955 GB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/1.401, allocations: 23.16 kB / 0.4955 GB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/1.402, allocations: 266.9 kB / 0.4958 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.402, allocations: 0 / 0.4958 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/1.402, allocations: 14.84 kB / 0.4958 GB, free: 3.914 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/1.402, allocations: 10.34 kB / 0.4958 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/1.402, allocations: 93.3 kB / 0.4959 GB, free: 3.891 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/1.425, allocations: 9.708 MB / 0.5054 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/1.425, allocations: 114.1 kB / 0.5055 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/1.425, allocations: 48.47 kB / 0.5055 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06915/1.494, allocations: 37.88 MB / 0.5425 GB, free: 7.945 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/1.495, allocations: 33.39 kB / 0.5425 GB, free: 7.902 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 1.753e-06/1.495, allocations: 0 / 0.5425 GB, free: 7.902 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.00137/1.496, allocations: 459 kB / 0.543 GB, free: 7.453 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/1.496, allocations: 55.41 kB / 0.543 GB, free: 7.387 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/1.496, allocations: 249.1 kB / 0.5433 GB, free: 7.148 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/1.496, allocations: 25.7 kB / 0.5433 GB, free: 7.117 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/1.496, allocations: 214.2 kB / 0.5435 GB, free: 6.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/1.496, allocations: 144.1 kB / 0.5436 GB, free: 6.777 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/1.496, allocations: 72.44 kB / 0.5437 GB, free: 6.707 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/1.496, allocations: 0.5082 MB / 0.5442 GB, free: 6.199 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/1.497, allocations: 36.48 kB / 0.5442 GB, free: 6.164 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/1.497, allocations: 104.4 kB / 0.5443 GB, free: 6.051 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/1.497, allocations: 165 kB / 0.5445 GB, free: 5.883 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.497, allocations: 0 / 0.5445 GB, free: 5.883 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000703/1.497, allocations: 343.1 kB / 0.5448 GB, free: 5.555 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.497, allocations: 8.125 kB / 0.5448 GB, free: 5.547 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/1.497, allocations: 7.938 kB / 0.5448 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004888/1.498, allocations: 191.9 kB / 0.545 GB, free: 5.352 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/1.498, allocations: 23 kB / 0.545 GB, free: 5.332 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005942/1.499, allocations: 0.9272 MB / 0.5459 GB, free: 4.387 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/1.499, allocations: 27.73 kB / 0.546 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/1.499, allocations: 8 kB / 0.546 GB, free: 4.352 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (StaticCentrifugalPump1.C1.a,StaticCentrifugalPump1.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.499, allocations: 163.6 kB / 0.5461 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/1.499, allocations: 25.94 kB / 0.5462 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007428/1.5, allocations: 0.807 MB / 0.5469 GB, free: 3.395 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002028/1.5, allocations: 181.5 kB / 0.5471 GB, free: 3.215 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.5, allocations: 4 kB / 0.5471 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.5, allocations: 0 / 0.5471 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007639/1.501, allocations: 0.6593 MB / 0.5478 GB, free: 2.555 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/1.501, allocations: 4 kB / 0.5478 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/1.501, allocations: 20.92 kB / 0.5478 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003734/1.501, allocations: 153.1 kB / 0.5479 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.501, allocations: 4 kB / 0.5479 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005121/1.502, allocations: 0.9287 MB / 0.5488 GB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.502, allocations: 3.938 kB / 0.5489 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/1.502, allocations: 379.7 kB / 0.5492 GB, free: 1.047 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/1.502, allocations: 27.83 kB / 0.5492 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/1.502, allocations: 15.89 kB / 0.5493 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.502, allocations: 9.75 kB / 0.5493 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/1.502, allocations: 15.97 kB / 0.5493 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/1.502, allocations: 0 / 0.5493 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001389/1.502, allocations: 221.5 kB / 0.5495 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.502, allocations: 7.938 kB / 0.5495 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003222/1.506, allocations: 1.216 MB / 0.5507 GB, free: 15.54 MB / 490.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 (13): * Single equations (assignments): 12 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005081/1.511, allocations: 1.976 MB / 0.5526 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004983/1.511, allocations: 226.9 kB / 0.5528 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/1.511, allocations: 4 kB / 0.5528 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/1.511, allocations: 111.6 kB / 0.5529 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/1.512, allocations: 126.3 kB / 0.5531 GB, free: 13.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/1.513, allocations: 0.5628 MB / 0.5536 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/1.513, allocations: 96.3 kB / 0.5537 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.162e-05/1.513, allocations: 15.23 kB / 0.5537 GB, free: 12.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/1.513, allocations: 138.1 kB / 0.5539 GB, free: 12.51 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/1.513, allocations: 0 / 0.5539 GB, free: 12.51 MB / 490.7 MB Notification: Performance of Templates: time 0.05732/1.571, allocations: 50.48 MB / 0.6032 GB, free: 10.32 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.891802859958261]