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.5204/0.5204, allocations: 111.6 MB / 131.5 MB, free: 4.406 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.994e-06/1.994e-06, allocations: 0 / 176.7 MB, free: 8.809 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.73e-05, allocations: 2.312 kB / 176.7 MB, free: 8.805 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.125/1.125, allocations: 262.6 MB / 439.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01109/1.136, allocations: 11.87 MB / 451.1 MB, free: 3.473 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/1.136, allocations: 0 / 451.1 MB, free: 3.473 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 7.712e-05/1.136, allocations: 31.66 kB / 451.2 MB, free: 3.441 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/1.136, allocations: 75.23 kB / 451.2 MB, free: 3.367 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005059/1.141, allocations: 2.973 MB / 454.2 MB, free: 392 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/1.141, allocations: 271.2 kB / 454.5 MB, free: 116 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/1.142, allocations: 134.8 kB / 454.6 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/1.142, allocations: 159.6 kB / 454.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/1.142, allocations: 83.72 kB / 454.8 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/1.142, allocations: 24 kB / 454.9 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008774/1.151, allocations: 7.768 MB / 462.6 MB, free: 7.941 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/1.151, allocations: 55.81 kB / 462.7 MB, free: 7.887 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/1.151, allocations: 91.75 kB / 462.8 MB, free: 7.797 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003933/1.155, allocations: 4.389 MB / 467.2 MB, free: 3.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.155, allocations: 3.938 kB / 467.2 MB, free: 3.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/1.155, allocations: 4 kB / 467.2 MB, free: 3.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/1.155, allocations: 0 / 467.2 MB, free: 3.391 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.001009/1.156, allocations: 0.7234 MB / 467.9 MB, free: 2.637 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/1.156, allocations: 11.98 kB / 467.9 MB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/1.156, allocations: 40.91 kB / 468 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/1.156, allocations: 169.2 kB / 468.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/1.156, allocations: 16.88 kB / 468.1 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/1.156, allocations: 24.38 kB / 468.2 MB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/1.156, allocations: 270 kB / 468.4 MB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.156, allocations: 8.125 kB / 468.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/1.156, allocations: 12.38 kB / 468.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.156, allocations: 11.92 kB / 468.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.896e-05/1.157, allocations: 97.09 kB / 468.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/1.159, allocations: 2.054 MB / 470.6 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/1.159, allocations: 112.2 kB / 470.7 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/1.159, allocations: 58.53 kB / 470.8 MB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/1.161, allocations: 1.166 MB / 471.9 MB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/1.161, allocations: 150.6 kB / 472.1 MB, free: 14.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/1.161, allocations: 0 / 472.1 MB, free: 14.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002003/1.162, allocations: 194.7 kB / 472.3 MB, free: 14.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/1.162, allocations: 118.7 kB / 472.4 MB, free: 13.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/1.162, allocations: 186.5 kB / 472.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/1.162, allocations: 29.7 kB / 472.6 MB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/1.162, allocations: 164.2 kB / 472.8 MB, free: 13.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/1.162, allocations: 59.5 kB / 472.8 MB, free: 13.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/1.162, allocations: 53.62 kB / 472.9 MB, free: 13.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/1.162, allocations: 334.8 kB / 473.2 MB, free: 13.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/1.162, allocations: 45.92 kB / 473.2 MB, free: 13.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/1.162, allocations: 101 kB / 473.3 MB, free: 12.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/1.162, allocations: 239.1 kB / 473.6 MB, free: 12.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.162, allocations: 3.938 kB / 473.6 MB, free: 12.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003067/1.163, allocations: 196.9 kB / 473.8 MB, free: 12.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.163, allocations: 29.7 kB / 473.8 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.163, allocations: 4 kB / 473.8 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.163, allocations: 4 kB / 473.8 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/1.163, allocations: 223.8 kB / 474 MB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002141/1.164, allocations: 0.5821 MB / 474.6 MB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/1.164, allocations: 23.88 kB / 474.6 MB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.164, allocations: 8 kB / 474.6 MB, free: 11.52 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,singularPressureLossWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,staticCentrifugalPumpWaterLiBr.C2.b,sourceSolution.Cs.b,sinkSolution.Ce.a,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.T0,Pulse1.yL.signal,$whenCondition2) * 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.0001231/1.164, allocations: 175.5 kB / 474.8 MB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/1.164, allocations: 23.92 kB / 474.8 MB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/1.164, allocations: 174.5 kB / 475 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.164, allocations: 4 kB / 475 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/1.164, allocations: 0 / 475 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.164, allocations: 3.984 kB / 475 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/1.164, allocations: 133.8 kB / 475.1 MB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.164, allocations: 0 / 475.1 MB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/1.165, allocations: 195.8 kB / 475.3 MB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.165, allocations: 4 kB / 475.3 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.165, allocations: 0 / 475.3 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001783/1.165, allocations: 0.5976 MB / 475.9 MB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.165, allocations: 0 / 475.9 MB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/1.165, allocations: 188.2 kB / 476.1 MB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/1.165, allocations: 19.86 kB / 476.1 MB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/1.165, allocations: 11.98 kB / 476.2 MB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/1.165, allocations: 4 kB / 476.2 MB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/1.165, allocations: 23.91 kB / 476.2 MB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/1.165, allocations: 0 / 476.2 MB, free: 9.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.78e-05/1.165, allocations: 65.48 kB / 476.2 MB, free: 9.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/1.165, allocations: 4.062 kB / 476.2 MB, free: 9.809 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005826/1.166, allocations: 407.3 kB / 476.6 MB, free: 9.41 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.001013/1.167, allocations: 0.5815 MB / 477.2 MB, free: 8.816 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003993/1.171, allocations: 0.8963 MB / 478.1 MB, free: 7.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.171, allocations: 0 / 478.1 MB, free: 7.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003497/1.174, allocations: 0.6773 MB / 478.8 MB, free: 7.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/1.174, allocations: 31.86 kB / 478.8 MB, free: 7.164 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/1.175, allocations: 459.2 kB / 479.3 MB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/1.175, allocations: 79.97 kB / 479.4 MB, free: 6.586 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.665e-05/1.175, allocations: 17.5 kB / 479.4 MB, free: 6.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/1.175, allocations: 91.33 kB / 479.5 MB, free: 6.477 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/1.175, allocations: 0 / 479.5 MB, free: 6.477 MB / 426.7 MB Notification: Performance of Templates: time 0.1779/1.353, allocations: 14.06 MB / 493.5 MB, free: 27.77 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.627915386110544]