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.5223/0.5223, allocations: 111.6 MB / 131.2 MB, free: 4.512 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 2.414e-06/2.414e-06, allocations: 0 / 176.2 MB, free: 8.852 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.839e-05, allocations: 5.266 kB / 176.2 MB, free: 8.848 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.081/1.081, allocations: 256.7 MB / 432.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01175/1.092, allocations: 11.87 MB / 444.8 MB, free: 4.805 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/1.092, allocations: 3.938 kB / 444.8 MB, free: 4.801 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 9.118e-05/1.093, allocations: 31.66 kB / 444.9 MB, free: 4.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/1.093, allocations: 67.36 kB / 444.9 MB, free: 4.703 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005927/1.099, allocations: 3.451 MB / 448.4 MB, free: 1.242 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/1.099, allocations: 271.2 kB / 448.6 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/1.099, allocations: 136 kB / 448.8 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/1.099, allocations: 155.7 kB / 448.9 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/1.099, allocations: 87.69 kB / 449 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/1.099, allocations: 28 kB / 449 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00824/1.108, allocations: 7.283 MB / 456.3 MB, free: 9.281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/1.108, allocations: 55.77 kB / 456.4 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/1.108, allocations: 91.81 kB / 456.5 MB, free: 9.137 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/1.113, allocations: 4.393 MB / 460.9 MB, free: 4.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.113, allocations: 8 kB / 460.9 MB, free: 4.727 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/1.113, allocations: 0 / 460.9 MB, free: 4.727 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/1.113, allocations: 0 / 460.9 MB, free: 4.727 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.001919/1.115, allocations: 0.8403 MB / 461.7 MB, free: 3.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.115, allocations: 15.98 kB / 461.7 MB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/1.115, allocations: 44.8 kB / 461.8 MB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/1.115, allocations: 192.1 kB / 461.9 MB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/1.115, allocations: 20.88 kB / 462 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/1.115, allocations: 24.38 kB / 462 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/1.116, allocations: 297.8 kB / 462.3 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.116, allocations: 4.188 kB / 462.3 MB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1.116, allocations: 8.375 kB / 462.3 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/1.116, allocations: 11.94 kB / 462.3 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/1.116, allocations: 132.5 kB / 462.4 MB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/1.119, allocations: 2.638 MB / 465.1 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/1.12, allocations: 137 kB / 465.2 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/1.12, allocations: 65.38 kB / 465.3 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002228/1.122, allocations: 1.31 MB / 466.6 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/1.122, allocations: 160.3 kB / 466.7 MB, free: 14.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.614e-06/1.122, allocations: 0 / 466.7 MB, free: 14.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003437/1.122, allocations: 246.3 kB / 467 MB, free: 14.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.122, allocations: 114.8 kB / 467.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/1.123, allocations: 253.5 kB / 467.3 MB, free: 13.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/1.123, allocations: 29.7 kB / 467.4 MB, free: 13.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/1.123, allocations: 218.9 kB / 467.6 MB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/1.123, allocations: 55.52 kB / 467.6 MB, free: 13.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/1.123, allocations: 59.3 kB / 467.7 MB, free: 13.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/1.123, allocations: 0.5001 MB / 468.2 MB, free: 13.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/1.123, allocations: 61.92 kB / 468.3 MB, free: 12.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/1.123, allocations: 139.6 kB / 468.4 MB, free: 12.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/1.123, allocations: 270.3 kB / 468.7 MB, free: 12.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.123, allocations: 0 / 468.7 MB, free: 12.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002571/1.124, allocations: 244.3 kB / 468.9 MB, free: 12.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/1.124, allocations: 41.62 kB / 468.9 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.124, allocations: 0 / 468.9 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/1.124, allocations: 11.88 kB / 468.9 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008002/1.124, allocations: 216 kB / 469.2 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003262/1.125, allocations: 0.901 MB / 470.1 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/1.125, allocations: 27.88 kB / 470.1 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/1.125, allocations: 8 kB / 470.1 MB, free: 11 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.0001637/1.125, allocations: 218.4 kB / 470.3 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/1.125, allocations: 23.86 kB / 470.3 MB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/1.125, allocations: 214.7 kB / 470.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.125, allocations: 0 / 470.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.125, allocations: 0 / 470.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.125, allocations: 3.938 kB / 470.5 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/1.126, allocations: 204.5 kB / 470.7 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.126, allocations: 4 kB / 470.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/1.126, allocations: 199.8 kB / 470.9 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.126, allocations: 0 / 470.9 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.126, allocations: 8 kB / 471 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003096/1.127, allocations: 0.8933 MB / 471.8 MB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.127, allocations: 3.938 kB / 471.8 MB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/1.127, allocations: 243.9 kB / 472.1 MB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/1.127, allocations: 27.83 kB / 472.1 MB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/1.127, allocations: 4 kB / 472.1 MB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.703e-05/1.127, allocations: 11.98 kB / 472.1 MB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/1.127, allocations: 19.91 kB / 472.1 MB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/1.127, allocations: 4 kB / 472.2 MB, free: 8.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.416e-05/1.127, allocations: 180.2 kB / 472.3 MB, free: 8.629 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/1.127, allocations: 0 / 472.3 MB, free: 8.629 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008623/1.128, allocations: 415.2 kB / 472.7 MB, free: 8.223 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.001221/1.129, allocations: 0.5571 MB / 473.3 MB, free: 7.656 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004939/1.134, allocations: 0.9194 MB / 474.2 MB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.134, allocations: 0 / 474.2 MB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004043/1.138, allocations: 0.6644 MB / 474.9 MB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/1.138, allocations: 23.98 kB / 474.9 MB, free: 5.996 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/1.139, allocations: 480.8 kB / 475.4 MB, free: 5.488 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.617e-05/1.139, allocations: 79.92 kB / 475.4 MB, free: 5.391 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.154e-05/1.139, allocations: 25.47 kB / 475.5 MB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/1.139, allocations: 24.42 kB / 475.5 MB, free: 5.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/1.139, allocations: 0 / 475.5 MB, free: 5.34 MB / 426.7 MB Notification: Performance of Templates: time 0.2146/1.354, allocations: 15.23 MB / 490.7 MB, free: 27.29 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.085615020245314]