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 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7978/0.7978, allocations: 150.8 MB / 166.6 MB, free: 11.15 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002677, allocations: 23.98 kB / 204.7 MB, free: 6.145 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 31.32 MB / 236 MB, free: 3.875 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution): time 1.571/1.715, allocations: 291.7 MB / 0.5153 GB, free: 10.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01551/1.731, allocations: 13.57 MB / 0.5286 GB, free: 12.94 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/1.731, allocations: 4 kB / 0.5286 GB, free: 12.93 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0001094/1.731, allocations: 23.78 kB / 0.5286 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/1.731, allocations: 48.7 kB / 0.5286 GB, free: 12.86 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005628/1.737, allocations: 2.563 MB / 0.5311 GB, free: 10.31 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/1.737, allocations: 251.3 kB / 0.5314 GB, free: 10.07 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/1.737, allocations: 146.4 kB / 0.5315 GB, free: 9.934 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/1.738, allocations: 95.66 kB / 0.5316 GB, free: 9.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/1.738, allocations: 112 kB / 0.5317 GB, free: 9.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/1.738, allocations: 16.81 kB / 0.5317 GB, free: 9.715 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01/1.748, allocations: 7.515 MB / 0.5391 GB, free: 2.207 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/1.748, allocations: 43.78 kB / 0.5391 GB, free: 2.164 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/1.748, allocations: 125 kB / 0.5392 GB, free: 2.043 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004036/1.752, allocations: 3.395 MB / 0.5425 GB, free: 14.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.752, allocations: 0 / 0.5425 GB, free: 14.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.332e-06/1.752, allocations: 0 / 0.5425 GB, free: 14.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/1.752, allocations: 0 / 0.5425 GB, free: 14.64 MB / 442.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.001691/1.754, allocations: 0.8137 MB / 0.5433 GB, free: 13.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.754, allocations: 8.031 kB / 0.5433 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/1.754, allocations: 32.56 kB / 0.5434 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/1.754, allocations: 236.9 kB / 0.5436 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/1.754, allocations: 24.88 kB / 0.5436 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/1.754, allocations: 27.66 kB / 0.5437 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/1.755, allocations: 280.1 kB / 0.5439 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.755, allocations: 6.344 kB / 0.5439 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/1.755, allocations: 15.98 kB / 0.5439 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.755, allocations: 4 kB / 0.5439 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/1.755, allocations: 181.6 kB / 0.5441 GB, free: 12.92 MB / 442.7 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.005697/1.761, allocations: 3.015 MB / 0.5471 GB, free: 9.684 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/1.761, allocations: 192.4 kB / 0.5472 GB, free: 9.488 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/1.762, allocations: 64.83 kB / 0.5473 GB, free: 9.422 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004281/1.766, allocations: 1.686 MB / 0.549 GB, free: 7.625 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/1.766, allocations: 154.5 kB / 0.5491 GB, free: 7.457 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.793e-06/1.766, allocations: 0 / 0.5491 GB, free: 7.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006539/1.767, allocations: 268.7 kB / 0.5494 GB, free: 7.184 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/1.767, allocations: 110.8 kB / 0.5495 GB, free: 7.051 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/1.767, allocations: 262.5 kB / 0.5497 GB, free: 6.785 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/1.767, allocations: 25.7 kB / 0.5497 GB, free: 6.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.096e-05/1.767, allocations: 164.2 kB / 0.5499 GB, free: 6.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/1.767, allocations: 51.27 kB / 0.5499 GB, free: 6.539 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/1.767, allocations: 57.69 kB / 0.55 GB, free: 6.477 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/1.768, allocations: 346.7 kB / 0.5503 GB, free: 6.129 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/1.768, allocations: 56.2 kB / 0.5504 GB, free: 6.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/1.768, allocations: 123.3 kB / 0.5505 GB, free: 5.926 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/1.771, allocations: 0.6339 MB / 0.5511 GB, free: 5.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.771, allocations: 0 / 0.5511 GB, free: 5.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005121/1.771, allocations: 282.8 kB / 0.5514 GB, free: 4.961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/1.771, allocations: 29.7 kB / 0.5514 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.771, allocations: 4 kB / 0.5514 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.771, allocations: 4.219 kB / 0.5514 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.773, allocations: 211.7 kB / 0.5516 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003031/1.773, allocations: 0.6015 MB / 0.5522 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/1.773, allocations: 35.67 kB / 0.5523 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/1.773, allocations: 8 kB / 0.5523 GB, free: 4.043 MB / 442.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.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.0001826/1.774, allocations: 175.6 kB / 0.5524 GB, free: 3.855 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/1.774, allocations: 31.59 kB / 0.5525 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/1.774, allocations: 238.6 kB / 0.5527 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.774, allocations: 0 / 0.5527 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.774, allocations: 7.938 kB / 0.5527 GB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.774, allocations: 3.984 kB / 0.5527 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/1.774, allocations: 285.4 kB / 0.553 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.774, allocations: 8 kB / 0.553 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.776, allocations: 199.8 kB / 0.5532 GB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.776, allocations: 3.938 kB / 0.5532 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/1.776, allocations: 4 kB / 0.5532 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002784/1.776, allocations: 0.5937 MB / 0.5538 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.776, allocations: 0 / 0.5538 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/1.777, allocations: 0.9147 MB / 0.5546 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/1.777, allocations: 104.8 kB / 0.5547 GB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/1.777, allocations: 7.984 kB / 0.5548 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/1.777, allocations: 19.89 kB / 0.5548 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/1.778, allocations: 11.98 kB / 0.5548 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.778, allocations: 4 kB / 0.5548 GB, free: 1.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001553/1.778, allocations: 194 kB / 0.555 GB, free: 1.082 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.778, allocations: 0 / 0.555 GB, free: 1.082 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001069/1.779, allocations: 411.7 kB / 0.5554 GB, free: 0.6797 MB / 442.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.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.001503/1.78, allocations: 0.4948 MB / 0.5558 GB, free: 180 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01159/1.792, allocations: 0.8954 MB / 0.5567 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.792, allocations: 3.938 kB / 0.5567 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00997/1.802, allocations: 0.6525 MB / 0.5574 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/1.802, allocations: 34.73 kB / 0.5574 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/1.803, allocations: 0.6642 MB / 0.558 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/1.804, allocations: 0.7482 MB / 0.5588 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/1.804, allocations: 29.92 kB / 0.5588 GB, free: 13.06 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/1.804, allocations: 19.44 kB / 0.5588 GB, free: 13.04 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/1.804, allocations: 0 / 0.5588 GB, free: 13.04 MB / 458.7 MB Notification: Performance of Templates: time 0.01718/1.821, allocations: 12.85 MB / 0.5714 GB, free: 220 kB / 458.7 MB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile (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)