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.8426/0.8426, allocations: 120.4 MB / 140.1 MB, free: 36 kB / 126.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.0005375/0.0005375, allocations: 11.98 kB / 217.7 MB, free: 12.98 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05653/0.05707, allocations: 33.36 MB / 251.1 MB, free: 11.55 MB / 238.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.748/1.805, allocations: 253.7 MB / 0.493 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/1.821, allocations: 11.01 MB / 0.5038 GB, free: 4.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/1.821, allocations: 4.5 kB / 0.5038 GB, free: 4.309 MB / 462.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.0001387/1.821, allocations: 31.58 kB / 0.5038 GB, free: 4.281 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/1.821, allocations: 60.55 kB / 0.5039 GB, free: 4.223 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007804/1.829, allocations: 3.437 MB / 0.5072 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/1.829, allocations: 267.3 kB / 0.5075 GB, free: 0.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/1.83, allocations: 117.3 kB / 0.5076 GB, free: 432 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/1.83, allocations: 107.6 kB / 0.5077 GB, free: 324 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/1.83, allocations: 103.5 kB / 0.5078 GB, free: 220 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/1.83, allocations: 27.94 kB / 0.5078 GB, free: 192 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/1.842, allocations: 7.29 MB / 0.5149 GB, free: 8.906 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/1.842, allocations: 55.78 kB / 0.515 GB, free: 8.852 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/1.842, allocations: 104.4 kB / 0.5151 GB, free: 8.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005087/1.848, allocations: 3.407 MB / 0.5184 GB, free: 5.336 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.848, allocations: 0 / 0.5184 GB, free: 5.336 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/1.848, allocations: 0.5938 kB / 0.5184 GB, free: 5.336 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/1.848, allocations: 0.7188 kB / 0.5184 GB, free: 5.336 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.001785/1.849, allocations: 0.7618 MB / 0.5192 GB, free: 4.539 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/1.849, allocations: 12.03 kB / 0.5192 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/1.849, allocations: 33.75 kB / 0.5192 GB, free: 4.496 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/1.85, allocations: 174.9 kB / 0.5194 GB, free: 4.301 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/1.85, allocations: 20.88 kB / 0.5194 GB, free: 4.281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/1.85, allocations: 24.97 kB / 0.5194 GB, free: 4.258 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/1.85, allocations: 322.3 kB / 0.5197 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.85, allocations: 0 / 0.5197 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/1.85, allocations: 8 kB / 0.5197 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.85, allocations: 5.438 kB / 0.5197 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/1.851, allocations: 216.9 kB / 0.5199 GB, free: 3.688 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.006318/1.857, allocations: 2.309 MB / 0.5222 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/1.858, allocations: 207.7 kB / 0.5224 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/1.858, allocations: 90.53 kB / 0.5225 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004819/1.863, allocations: 1.284 MB / 0.5237 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/1.863, allocations: 178.7 kB / 0.5239 GB, free: 15.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 1.694e-06/1.863, allocations: 0 / 0.5239 GB, free: 15.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007478/1.864, allocations: 314.5 kB / 0.5242 GB, free: 15.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/1.864, allocations: 110.8 kB / 0.5243 GB, free: 15.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/1.864, allocations: 211.3 kB / 0.5245 GB, free: 14.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/1.864, allocations: 29.7 kB / 0.5245 GB, free: 14.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/1.864, allocations: 164.2 kB / 0.5247 GB, free: 14.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/1.864, allocations: 55.58 kB / 0.5247 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/1.864, allocations: 53.66 kB / 0.5248 GB, free: 14.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/1.865, allocations: 338.7 kB / 0.5251 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/1.865, allocations: 93.91 kB / 0.5252 GB, free: 14.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/1.865, allocations: 149 kB / 0.5254 GB, free: 13.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/1.868, allocations: 0.629 MB / 0.526 GB, free: 13.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.868, allocations: 4 kB / 0.526 GB, free: 13.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005834/1.868, allocations: 304.8 kB / 0.5263 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/1.868, allocations: 41.72 kB / 0.5263 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.869, allocations: 0 / 0.5263 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.869, allocations: 4 kB / 0.5263 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.87, allocations: 207.7 kB / 0.5265 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004098/1.87, allocations: 0.586 MB / 0.5271 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/1.871, allocations: 35.8 kB / 0.5271 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/1.871, allocations: 11.94 kB / 0.5271 GB, free: 12.09 MB / 494.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.0002582/1.871, allocations: 187.3 kB / 0.5273 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/1.871, allocations: 20 kB / 0.5273 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/1.872, allocations: 270.6 kB / 0.5276 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.872, allocations: 4 kB / 0.5276 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.872, allocations: 3.984 kB / 0.5276 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.872, allocations: 7.938 kB / 0.5276 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/1.872, allocations: 197.2 kB / 0.5278 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.872, allocations: 0 / 0.5278 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.873, allocations: 195.8 kB / 0.528 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.873, allocations: 4 kB / 0.528 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.873, allocations: 0 / 0.528 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000367/1.874, allocations: 0.5976 MB / 0.5286 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.874, allocations: 0 / 0.5286 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/1.874, allocations: 272.4 kB / 0.5288 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/1.874, allocations: 35.78 kB / 0.5288 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/1.874, allocations: 3.938 kB / 0.5288 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/1.874, allocations: 15.98 kB / 0.5289 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/1.875, allocations: 15.97 kB / 0.5289 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/1.875, allocations: 8 kB / 0.5289 GB, free: 10.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001337/1.875, allocations: 144.3 kB / 0.529 GB, free: 10.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.875, allocations: 0 / 0.529 GB, free: 10.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001102/1.876, allocations: 411.3 kB / 0.5294 GB, free: 9.617 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.001436/1.877, allocations: 0.5022 MB / 0.5299 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01152/1.889, allocations: 0.9511 MB / 0.5308 GB, free: 8.129 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.889, allocations: 0 / 0.5308 GB, free: 8.129 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009949/1.899, allocations: 0.6749 MB / 0.5315 GB, free: 7.438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/1.899, allocations: 33.3 kB / 0.5315 GB, free: 7.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.9, allocations: 494.6 kB / 0.532 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/1.9, allocations: 129.9 kB / 0.5321 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.944e-05/1.9, allocations: 13.48 kB / 0.5321 GB, free: 6.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/1.9, allocations: 20.5 kB / 0.5322 GB, free: 6.711 MB / 494.1 MB Notification: Performance of SimCode: time 7.11e-07/1.9, allocations: 0 / 0.5322 GB, free: 6.711 MB / 494.1 MB Notification: Performance of Templates: time 0.02067/1.921, allocations: 12.65 MB / 0.5445 GB, free: 10.11 MB / 0.4981 GB " [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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.921668760012835] Failed to read output from testmodel.py, exit status != 0: 2.0798669529613107 2.094924404 0.244147465 Calling exit ...