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.5114/0.5114, allocations: 111.6 MB / 131.5 MB, free: 4.398 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.623e-06/1.623e-06, allocations: 0 / 176.6 MB, free: 8.84 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.212e-05, allocations: 2.312 kB / 176.6 MB, free: 8.836 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.085/1.085, allocations: 262.9 MB / 439.6 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02899/1.114, allocations: 32.97 MB / 472.5 MB, free: 13.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/1.114, allocations: 7.938 kB / 472.5 MB, free: 13.46 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.0003361/1.114, allocations: 111.3 kB / 472.7 MB, free: 13.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/1.115, allocations: 131 kB / 472.8 MB, free: 13.23 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.02003/1.135, allocations: 9.888 MB / 482.7 MB, free: 3.293 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004825/1.135, allocations: 422 kB / 483.1 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/1.135, allocations: 126.6 kB / 483.2 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/1.135, allocations: 251.2 kB / 483.5 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/1.136, allocations: 99.7 kB / 483.5 MB, free: 2.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/1.136, allocations: 20 kB / 483.6 MB, free: 2.391 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2325/1.368, allocations: 16.77 MB / 0.4886 GB, free: 8.109 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/1.368, allocations: 55.48 kB / 0.4887 GB, free: 8.109 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/1.368, allocations: 103.8 kB / 0.4888 GB, free: 8.109 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01945/1.388, allocations: 10.76 MB / 0.4993 GB, free: 3.395 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.388, allocations: 0.75 kB / 0.4993 GB, free: 3.395 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.388, allocations: 3.188 kB / 0.4993 GB, free: 3.395 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/1.388, allocations: 0.5 kB / 0.4993 GB, free: 3.395 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.003694/1.392, allocations: 1.434 MB / 0.5007 GB, free: 2.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/1.392, allocations: 13.02 kB / 0.5007 GB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/1.392, allocations: 36.69 kB / 0.5007 GB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/1.392, allocations: 173 kB / 0.5009 GB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/1.392, allocations: 18.12 kB / 0.5009 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/1.392, allocations: 24.12 kB / 0.5009 GB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/1.392, allocations: 251.9 kB / 0.5012 GB, free: 2.062 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.392, allocations: 3.812 kB / 0.5012 GB, free: 2.062 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.392, allocations: 7.219 kB / 0.5012 GB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/1.392, allocations: 14.95 kB / 0.5012 GB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/1.392, allocations: 99.56 kB / 0.5013 GB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/1.411, allocations: 9.188 MB / 0.5103 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/1.411, allocations: 151.9 kB / 0.5104 GB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/1.411, allocations: 36.86 kB / 0.5104 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0694/1.481, allocations: 39.05 MB / 0.5486 GB, free: 4.375 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.481, allocations: 38.56 kB / 0.5486 GB, free: 4.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 2.304e-06/1.481, allocations: 4 kB / 0.5486 GB, free: 4.324 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.001208/1.482, allocations: 399.7 kB / 0.549 GB, free: 3.934 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/1.482, allocations: 55.39 kB / 0.549 GB, free: 3.867 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.482, allocations: 192.3 kB / 0.5492 GB, free: 3.688 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/1.482, allocations: 25.7 kB / 0.5492 GB, free: 3.656 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/1.482, allocations: 165.1 kB / 0.5494 GB, free: 3.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/1.482, allocations: 138.5 kB / 0.5495 GB, free: 3.371 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.136e-05/1.482, allocations: 56.08 kB / 0.5496 GB, free: 3.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/1.482, allocations: 343.4 kB / 0.5499 GB, free: 2.988 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/1.482, allocations: 31.31 kB / 0.5499 GB, free: 2.957 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/1.482, allocations: 86.3 kB / 0.55 GB, free: 2.871 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/1.483, allocations: 155.7 kB / 0.5502 GB, free: 2.715 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.483, allocations: 0 / 0.5502 GB, free: 2.715 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006072/1.483, allocations: 289.6 kB / 0.5505 GB, free: 2.441 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.483, allocations: 8 kB / 0.5505 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/1.483, allocations: 0 / 0.5505 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/1.484, allocations: 194.3 kB / 0.5506 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/1.484, allocations: 19.27 kB / 0.5507 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/1.484, allocations: 0.6256 MB / 0.5513 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/1.484, allocations: 27.77 kB / 0.5513 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/1.484, allocations: 8 kB / 0.5513 GB, free: 1.555 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 9.852e-05/1.485, allocations: 118.6 kB / 0.5514 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/1.485, allocations: 19.98 kB / 0.5514 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005248/1.485, allocations: 0.6571 MB / 0.5521 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001429/1.485, allocations: 146.5 kB / 0.5522 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/1.485, allocations: 0 / 0.5522 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.485, allocations: 7.266 kB / 0.5522 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/1.486, allocations: 0.5512 MB / 0.5528 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.486, allocations: 3.938 kB / 0.5528 GB, free: 120 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/1.486, allocations: 27.98 kB / 0.5528 GB, free: 92 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/1.486, allocations: 151.3 kB / 0.5529 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/1.486, allocations: 4.875 kB / 0.5529 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003638/1.487, allocations: 0.6377 MB / 0.5536 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.487, allocations: 0.625 kB / 0.5536 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/1.487, allocations: 332 kB / 0.5539 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/1.487, allocations: 32.33 kB / 0.5539 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/1.487, allocations: 19.83 kB / 0.5539 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/1.487, allocations: 0 / 0.5539 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/1.487, allocations: 19.25 kB / 0.554 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/1.487, allocations: 4.562 kB / 0.554 GB, free: 14.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.057e-05/1.487, allocations: 98.59 kB / 0.5541 GB, free: 14.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/1.487, allocations: 0 / 0.5541 GB, free: 14.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003194/1.49, allocations: 1.216 MB / 0.5552 GB, free: 13.57 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.004171/1.494, allocations: 2.021 MB / 0.5572 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004354/1.495, allocations: 218.6 kB / 0.5574 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.495, allocations: 7.938 kB / 0.5574 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/1.495, allocations: 114.4 kB / 0.5575 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/1.495, allocations: 117.4 kB / 0.5577 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/1.497, allocations: 0.5689 MB / 0.5582 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.411e-05/1.497, allocations: 96.3 kB / 0.5583 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.177e-05/1.497, allocations: 21.94 kB / 0.5583 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/1.497, allocations: 110.4 kB / 0.5584 GB, free: 10.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/1.497, allocations: 0 / 0.5584 GB, free: 10.53 MB / 490.7 MB Notification: Performance of Templates: time 0.07506/1.572, allocations: 49.69 MB / 0.607 GB, free: 9.121 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.187656684778631]