Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.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.7865/0.7865, allocations: 111.6 MB / 131 MB, free: 5.07 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.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 175.7 MB, free: 9.438 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.664e-05, allocations: 4.703 kB / 175.7 MB, free: 9.434 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.TestStaticCentrifugalPumpWaterSolution): time 1.653/1.653, allocations: 254.3 MB / 430 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0182/1.671, allocations: 11.05 MB / 441 MB, free: 5.512 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/1.671, allocations: 4 kB / 441 MB, free: 5.508 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSolution/PressureLosses/SingularPressureLoss.mo:9:3-10: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/WaterSolution/PressureLosses/SingularPressureLoss.mo:11:3-12: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/WaterSolution/Machines/StaticCentrifugalPump.mo:26:3-27: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/WaterSolution/Machines/StaticCentrifugalPump.mo:28:3-29: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/WaterSolution/BoundaryConditions/SourcePQ.mo:8:3-9:78:writable] Warning: Connector Cs 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/WaterSolution/BoundaryConditions/Sink.mo:8:3-9:80:writable] Warning: Connector Ce 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.0001305/1.671, allocations: 31.66 kB / 441.1 MB, free: 5.477 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/1.672, allocations: 55.38 kB / 441.1 MB, free: 5.422 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008971/1.68, allocations: 3.458 MB / 444.6 MB, free: 1.949 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/1.681, allocations: 267.3 kB / 444.9 MB, free: 1.688 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/1.681, allocations: 120.1 kB / 445 MB, free: 1.566 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/1.681, allocations: 159.7 kB / 445.1 MB, free: 1.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/1.682, allocations: 87.7 kB / 445.2 MB, free: 1.324 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/1.682, allocations: 24 kB / 445.2 MB, free: 1.301 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01415/1.696, allocations: 7.295 MB / 452.5 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/1.696, allocations: 59.75 kB / 452.6 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/1.696, allocations: 79.83 kB / 452.7 MB, free: 9.859 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008006/1.704, allocations: 4.494 MB / 457.2 MB, free: 5.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.704, allocations: 0 / 457.2 MB, free: 5.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/1.704, allocations: 0 / 457.2 MB, free: 5.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/1.704, allocations: 0 / 457.2 MB, free: 5.355 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00235/1.706, allocations: 0.7525 MB / 457.9 MB, free: 4.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.707, allocations: 11.98 kB / 457.9 MB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/1.707, allocations: 48.8 kB / 458 MB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/1.707, allocations: 185.2 kB / 458.2 MB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/1.707, allocations: 16.88 kB / 458.2 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/1.707, allocations: 24.38 kB / 458.2 MB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/1.708, allocations: 317.2 kB / 458.5 MB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.708, allocations: 192 / 458.5 MB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/1.708, allocations: 12.38 kB / 458.5 MB, free: 3.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.708, allocations: 11.94 kB / 458.5 MB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/1.708, allocations: 211.5 kB / 458.7 MB, free: 3.68 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00662/1.715, allocations: 2.322 MB / 461.1 MB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/1.716, allocations: 208.4 kB / 461.3 MB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/1.716, allocations: 90.53 kB / 461.3 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004995/1.721, allocations: 1.306 MB / 462.7 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/1.721, allocations: 178.7 kB / 462.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/1.721, allocations: 0 / 462.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.000863/1.722, allocations: 326.5 kB / 463.1 MB, free: 15.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/1.722, allocations: 106.8 kB / 463.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/1.722, allocations: 202.5 kB / 463.4 MB, free: 14.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/1.722, allocations: 29.7 kB / 463.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/1.723, allocations: 168.2 kB / 463.6 MB, free: 14.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/1.723, allocations: 59.53 kB / 463.7 MB, free: 14.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/1.723, allocations: 53.69 kB / 463.8 MB, free: 14.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/1.723, allocations: 326.8 kB / 464.1 MB, free: 14.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/1.723, allocations: 97.83 kB / 464.2 MB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/1.723, allocations: 145 kB / 464.3 MB, free: 13.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/1.726, allocations: 0.6404 MB / 464.9 MB, free: 13.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.726, allocations: 4 kB / 465 MB, free: 13.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006697/1.727, allocations: 308.7 kB / 465.3 MB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/1.727, allocations: 33.7 kB / 465.3 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.727, allocations: 4 kB / 465.3 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/1.727, allocations: 4.219 kB / 465.3 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.729, allocations: 215.7 kB / 465.5 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004739/1.729, allocations: 0.586 MB / 466.1 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/1.729, allocations: 31.97 kB / 466.1 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/1.729, allocations: 12 kB / 466.1 MB, free: 11.95 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.T0,Pulse1.yL.signal,$whenCondition2,sinkSolution.Ce.a,sourceSolution.Cs.b,staticCentrifugalPumpWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,singularPressureLossWaterLiBr.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002491/1.73, allocations: 187.3 kB / 466.3 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/1.73, allocations: 31.8 kB / 466.3 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006446/1.73, allocations: 270.2 kB / 466.6 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.73, allocations: 0 / 466.6 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.73, allocations: 4 kB / 466.6 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.73, allocations: 3.984 kB / 466.6 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/1.731, allocations: 193.2 kB / 466.8 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.731, allocations: 4 kB / 466.8 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.732, allocations: 199.8 kB / 467 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.732, allocations: 0 / 467 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.732, allocations: 8 kB / 467 MB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004224/1.733, allocations: 0.5859 MB / 467.6 MB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.733, allocations: 3.938 kB / 467.6 MB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/1.733, allocations: 292.3 kB / 467.9 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.012e-05/1.733, allocations: 27.89 kB / 467.9 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/1.733, allocations: 0 / 467.9 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/1.734, allocations: 15.98 kB / 467.9 MB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/1.734, allocations: 23.91 kB / 468 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/1.734, allocations: 4 kB / 468 MB, free: 10.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001442/1.734, allocations: 136.5 kB / 468.1 MB, free: 9.875 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/1.734, allocations: 0 / 468.1 MB, free: 9.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001288/1.735, allocations: 415.2 kB / 468.5 MB, free: 9.469 MB / 426.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: 5 ($whenCondition1,$whenCondition2,Pulse1.yL.signal,Pulse1.T0,pulse.T0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001918/1.737, allocations: 0.5647 MB / 469.1 MB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01142/1.748, allocations: 0.9356 MB / 470 MB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.748, allocations: 0 / 470 MB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009997/1.758, allocations: 0.6724 MB / 470.7 MB, free: 7.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/1.759, allocations: 27.98 kB / 470.7 MB, free: 7.215 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/1.76, allocations: 475.3 kB / 471.2 MB, free: 6.715 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/1.76, allocations: 133.8 kB / 471.3 MB, free: 6.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.476e-05/1.76, allocations: 17.48 kB / 471.3 MB, free: 6.547 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/1.76, allocations: 20.5 kB / 471.3 MB, free: 6.527 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.76, allocations: 0 / 471.3 MB, free: 6.527 MB / 426.7 MB Notification: Performance of Templates: time 0.02468/1.785, allocations: 12.79 MB / 484.1 MB, free: 9.754 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.783715319004841]