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.4983/0.4983, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.454e-06/2.454e-06, allocations: 0 / 176.2 MB, free: 8.867 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.603e-05, allocations: 2.312 kB / 176.2 MB, free: 8.863 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.105/1.105, allocations: 256.7 MB / 432.9 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0108/1.115, allocations: 11.87 MB / 444.8 MB, free: 4.828 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/1.116, allocations: 4 kB / 444.8 MB, free: 4.824 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.869e-05/1.116, allocations: 31.66 kB / 444.9 MB, free: 4.793 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/1.116, allocations: 63.36 kB / 444.9 MB, free: 4.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006047/1.122, allocations: 3.458 MB / 448.4 MB, free: 1.262 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/1.122, allocations: 271.2 kB / 448.6 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/1.122, allocations: 132 kB / 448.8 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/1.123, allocations: 155.7 kB / 448.9 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/1.123, allocations: 87.7 kB / 449 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/1.123, allocations: 24 kB / 449 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008375/1.131, allocations: 7.295 MB / 456.3 MB, free: 9.297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/1.131, allocations: 51.77 kB / 456.4 MB, free: 9.246 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/1.131, allocations: 87.83 kB / 456.5 MB, free: 9.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005403/1.137, allocations: 4.393 MB / 460.9 MB, free: 4.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.137, allocations: 0 / 460.9 MB, free: 4.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/1.137, allocations: 0 / 460.9 MB, free: 4.758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/1.137, allocations: 0 / 460.9 MB, free: 4.758 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.001591/1.138, allocations: 0.8559 MB / 461.7 MB, free: 3.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.138, allocations: 11.98 kB / 461.7 MB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/1.138, allocations: 52.78 kB / 461.8 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/1.139, allocations: 180.1 kB / 461.9 MB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/1.139, allocations: 20.88 kB / 462 MB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/1.139, allocations: 24.38 kB / 462 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/1.139, allocations: 301.8 kB / 462.3 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.139, allocations: 192 / 462.3 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/1.139, allocations: 12.38 kB / 462.3 MB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/1.139, allocations: 7.938 kB / 462.3 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/1.139, allocations: 136.5 kB / 462.4 MB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/1.143, allocations: 2.642 MB / 465.1 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/1.143, allocations: 133 kB / 465.2 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/1.143, allocations: 73.36 kB / 465.3 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/1.145, allocations: 1.31 MB / 466.6 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/1.146, allocations: 152.4 kB / 466.7 MB, free: 14.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/1.146, allocations: 0 / 466.7 MB, free: 14.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003805/1.146, allocations: 246.5 kB / 467 MB, free: 14.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.146, allocations: 106.8 kB / 467.1 MB, free: 14.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/1.146, allocations: 253.5 kB / 467.3 MB, free: 13.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.146, allocations: 29.7 kB / 467.4 MB, free: 13.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/1.146, allocations: 222.9 kB / 467.6 MB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/1.146, allocations: 51.59 kB / 467.6 MB, free: 13.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/1.146, allocations: 67.28 kB / 467.7 MB, free: 13.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/1.147, allocations: 0.4923 MB / 468.2 MB, free: 13.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/1.147, allocations: 61.91 kB / 468.3 MB, free: 13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/1.147, allocations: 139.6 kB / 468.4 MB, free: 12.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/1.147, allocations: 274.3 kB / 468.7 MB, free: 12.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.147, allocations: 0 / 468.7 MB, free: 12.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002544/1.147, allocations: 244.3 kB / 468.9 MB, free: 12.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/1.147, allocations: 37.64 kB / 468.9 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.147, allocations: 4 kB / 468.9 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.147, allocations: 7.938 kB / 468.9 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008342/1.148, allocations: 208 kB / 469.1 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003088/1.149, allocations: 0.9049 MB / 470 MB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/1.149, allocations: 35.88 kB / 470.1 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/1.149, allocations: 12 kB / 470.1 MB, free: 11.01 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.0001519/1.149, allocations: 206.4 kB / 470.3 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/1.149, allocations: 31.86 kB / 470.3 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/1.149, allocations: 210 kB / 470.5 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.149, allocations: 4 kB / 470.5 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.149, allocations: 0 / 470.5 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.149, allocations: 11.92 kB / 470.5 MB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/1.149, allocations: 204.4 kB / 470.7 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.149, allocations: 0 / 470.7 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007034/1.15, allocations: 199.8 kB / 470.9 MB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.15, allocations: 7.984 kB / 471 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/1.15, allocations: 4 kB / 471 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002463/1.15, allocations: 0.8933 MB / 471.8 MB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.15, allocations: 3.938 kB / 471.9 MB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/1.15, allocations: 235.7 kB / 472.1 MB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/1.151, allocations: 35.81 kB / 472.1 MB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/1.151, allocations: 4 kB / 472.1 MB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/1.151, allocations: 11.98 kB / 472.1 MB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/1.151, allocations: 23.97 kB / 472.2 MB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.151, allocations: 4 kB / 472.2 MB, free: 8.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.522e-05/1.151, allocations: 180.1 kB / 472.3 MB, free: 8.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/1.151, allocations: 0 / 472.3 MB, free: 8.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008389/1.152, allocations: 407.3 kB / 472.7 MB, free: 8.242 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.001172/1.153, allocations: 0.5647 MB / 473.3 MB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004847/1.158, allocations: 0.9117 MB / 474.2 MB, free: 6.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.158, allocations: 0 / 474.2 MB, free: 6.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004181/1.162, allocations: 0.6644 MB / 474.9 MB, free: 6.039 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/1.162, allocations: 23.98 kB / 474.9 MB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.163, allocations: 480.8 kB / 475.4 MB, free: 5.508 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.247e-05/1.163, allocations: 83.92 kB / 475.5 MB, free: 5.406 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.737e-05/1.163, allocations: 21.47 kB / 475.5 MB, free: 5.383 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/1.163, allocations: 16.5 kB / 475.5 MB, free: 5.367 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.163, allocations: 4 kB / 475.5 MB, free: 5.363 MB / 426.7 MB Notification: Performance of Templates: time 0.1646/1.328, allocations: 13.11 MB / 488.6 MB, free: 27.73 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: 3.8782398039475083]