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.877/0.877, allocations: 153.8 MB / 173.4 MB, free: 4.922 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005337/0.0005337, allocations: 11.98 kB / 251.1 MB, free: 3.941 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.16, allocations: 33.36 MB / 284.5 MB, free: 2.121 MB / 222.1 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.884/2.044, allocations: 307.2 MB / 0.5778 GB, free: 16.01 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/2.057, allocations: 12.19 MB / 0.5897 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/2.057, allocations: 0.7812 kB / 0.5897 GB, free: 13.58 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSolution/PressureLosses/SingularPressureLoss.mo:15:3-17:16: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:18:3-19:83: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:46:3-48:16: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:49:3-50:83: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:9:3-10:83: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:10:3-12:16: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.0001323/2.057, allocations: 32.88 kB / 0.5897 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/2.057, allocations: 57.61 kB / 0.5898 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008931/2.066, allocations: 3.492 MB / 0.5932 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004613/2.066, allocations: 264.8 kB / 0.5934 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/2.067, allocations: 121.9 kB / 0.5936 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/2.067, allocations: 106.9 kB / 0.5937 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/2.067, allocations: 123.7 kB / 0.5938 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/2.067, allocations: 23.19 kB / 0.5938 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01402/2.081, allocations: 7.677 MB / 0.6013 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.451e-05/2.081, allocations: 51.12 kB / 0.6013 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/2.081, allocations: 133 kB / 0.6015 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007293/2.089, allocations: 3.403 MB / 0.6048 GB, free: 7.809 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/2.089, allocations: 1.125 kB / 0.6048 GB, free: 7.809 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/2.089, allocations: 1.438 kB / 0.6048 GB, free: 7.809 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/2.089, allocations: 0 / 0.6048 GB, free: 7.809 MB / 478.1 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.002942/2.091, allocations: 0.7576 MB / 0.6055 GB, free: 7.238 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/2.092, allocations: 10.16 kB / 0.6055 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/2.092, allocations: 32.94 kB / 0.6056 GB, free: 7.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/2.092, allocations: 180.3 kB / 0.6057 GB, free: 7.047 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/2.092, allocations: 18.97 kB / 0.6058 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/2.092, allocations: 24.12 kB / 0.6058 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/2.092, allocations: 288.8 kB / 0.6061 GB, free: 6.828 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/2.092, allocations: 3.984 kB / 0.6061 GB, free: 6.824 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/2.092, allocations: 15.09 kB / 0.6061 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/2.092, allocations: 7.281 kB / 0.6061 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/2.093, allocations: 187 kB / 0.6063 GB, free: 6.734 MB / 478.1 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.006139/2.099, allocations: 2.557 MB / 0.6088 GB, free: 5.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/2.099, allocations: 174.4 kB / 0.6089 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/2.1, allocations: 64.28 kB / 0.609 GB, free: 4.988 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004406/2.104, allocations: 1.292 MB / 0.6103 GB, free: 3.984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/2.104, allocations: 154.5 kB / 0.6104 GB, free: 3.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.023e-06/2.104, allocations: 0 / 0.6104 GB, free: 3.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006302/2.105, allocations: 268.3 kB / 0.6107 GB, free: 3.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/2.105, allocations: 107.7 kB / 0.6108 GB, free: 3.418 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/2.105, allocations: 269.8 kB / 0.611 GB, free: 3.145 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/2.105, allocations: 37.7 kB / 0.6111 GB, free: 3.102 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/2.105, allocations: 159.4 kB / 0.6112 GB, free: 2.945 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/2.105, allocations: 55.58 kB / 0.6113 GB, free: 2.891 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/2.105, allocations: 53.69 kB / 0.6113 GB, free: 2.832 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/2.105, allocations: 334.8 kB / 0.6116 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/2.106, allocations: 60.19 kB / 0.6117 GB, free: 2.434 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/2.106, allocations: 123.3 kB / 0.6118 GB, free: 2.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/2.108, allocations: 0.6307 MB / 0.6124 GB, free: 1.621 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.108, allocations: 0 / 0.6124 GB, free: 1.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004519/2.109, allocations: 280.2 kB / 0.6127 GB, free: 1.348 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/2.109, allocations: 33.92 kB / 0.6127 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/2.109, allocations: 4 kB / 0.6127 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/2.109, allocations: 4 kB / 0.6127 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/2.11, allocations: 207.2 kB / 0.6129 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002146/2.11, allocations: 0.5914 MB / 0.6135 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/2.111, allocations: 48.67 kB / 0.6135 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/2.111, allocations: 4 kB / 0.6136 GB, free: 448 kB / 478.1 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.yL.signal,Pulse1.T0,$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.0001677/2.111, allocations: 179.8 kB / 0.6137 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/2.111, allocations: 23.86 kB / 0.6137 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/2.111, allocations: 240.7 kB / 0.614 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/2.111, allocations: 5.875 kB / 0.614 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/2.111, allocations: 3.938 kB / 0.614 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/2.111, allocations: 0 / 0.614 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/2.112, allocations: 265.2 kB / 0.6142 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/2.112, allocations: 4 kB / 0.6142 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/2.113, allocations: 205 kB / 0.6144 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/2.113, allocations: 0 / 0.6144 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/2.113, allocations: 8 kB / 0.6144 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004118/2.114, allocations: 0.5899 MB / 0.615 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.114, allocations: 0 / 0.615 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/2.114, allocations: 251.3 kB / 0.6153 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.863e-05/2.114, allocations: 48.34 kB / 0.6153 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/2.114, allocations: 4 kB / 0.6153 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/2.114, allocations: 11.98 kB / 0.6153 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/2.114, allocations: 19.97 kB / 0.6153 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/2.114, allocations: 9.562 kB / 0.6153 GB, free: 14.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001931/2.115, allocations: 181.2 kB / 0.6155 GB, free: 14.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/2.115, allocations: 0 / 0.6155 GB, free: 14.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001629/2.116, allocations: 403.4 kB / 0.6159 GB, free: 13.93 MB / 494.1 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.T0,Pulse1.yL.signal,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.001807/2.118, allocations: 0.501 MB / 0.6164 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01068/2.129, allocations: 0.8987 MB / 0.6173 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.129, allocations: 0 / 0.6173 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009168/2.138, allocations: 0.6292 MB / 0.6179 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/2.138, allocations: 43.11 kB / 0.6179 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/2.139, allocations: 487.6 kB / 0.6184 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/2.14, allocations: 0.7472 MB / 0.6191 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/2.14, allocations: 23.42 kB / 0.6191 GB, free: 10.56 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/2.14, allocations: 0 / 0.6191 GB, free: 10.56 MB / 494.1 MB Notification: Performance of Templates: time 0.01738/2.157, allocations: 10.37 MB / 0.6293 GB, free: 460 kB / 494.1 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: 8.974160393001512] Failed to read output from testmodel.py, exit status != 0: 2.326238133944571 2.341292839 0.249521824 Calling exit ...