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.7945/0.7945, allocations: 150.9 MB / 166.4 MB, free: 14.23 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 15.98 kB / 204.5 MB, free: 9.621 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 31.34 MB / 235.9 MB, free: 5.434 MB / 190.1 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.53/1.663, allocations: 294.4 MB / 0.5178 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/1.677, allocations: 12.03 MB / 0.5296 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/1.677, allocations: 4 kB / 0.5296 GB, free: 1.738 MB / 414.1 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.0001056/1.677, allocations: 39.39 kB / 0.5296 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/1.678, allocations: 55.42 kB / 0.5297 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007085/1.685, allocations: 3.432 MB / 0.533 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/1.685, allocations: 252.5 kB / 0.5333 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/1.685, allocations: 164.2 kB / 0.5334 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/1.685, allocations: 104.3 kB / 0.5335 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/1.685, allocations: 119.5 kB / 0.5336 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/1.686, allocations: 25.06 kB / 0.5337 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/1.696, allocations: 7.506 MB / 0.541 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/1.696, allocations: 52.31 kB / 0.541 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/1.696, allocations: 131.3 kB / 0.5412 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00433/1.701, allocations: 3.397 MB / 0.5445 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.701, allocations: 0 / 0.5445 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/1.701, allocations: 4 kB / 0.5445 GB, free: 2.488 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/1.701, allocations: 0 / 0.5445 GB, free: 2.488 MB / 430.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.00174/1.702, allocations: 0.8118 MB / 0.5453 GB, free: 1.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.702, allocations: 13 kB / 0.5453 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/1.702, allocations: 24.66 kB / 0.5453 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/1.703, allocations: 235.8 kB / 0.5455 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/1.703, allocations: 15.56 kB / 0.5456 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/1.703, allocations: 24.38 kB / 0.5456 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/1.703, allocations: 286.2 kB / 0.5459 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.703, allocations: 4 kB / 0.5459 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/1.703, allocations: 8 kB / 0.5459 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.703, allocations: 11.94 kB / 0.5459 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/1.704, allocations: 184.7 kB / 0.5461 GB, free: 0.7773 MB / 430.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.005877/1.71, allocations: 3.033 MB / 0.549 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/1.71, allocations: 181.9 kB / 0.5492 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/1.71, allocations: 68.83 kB / 0.5493 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00434/1.715, allocations: 1.691 MB / 0.5509 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/1.715, allocations: 149 kB / 0.551 GB, free: 11.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/1.715, allocations: 0 / 0.551 GB, free: 11.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006736/1.716, allocations: 268.7 kB / 0.5513 GB, free: 11.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/1.716, allocations: 110.8 kB / 0.5514 GB, free: 10.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/1.716, allocations: 262.5 kB / 0.5517 GB, free: 10.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/1.716, allocations: 29.7 kB / 0.5517 GB, free: 10.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/1.716, allocations: 156.2 kB / 0.5518 GB, free: 10.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/1.716, allocations: 59.19 kB / 0.5519 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/1.716, allocations: 53.69 kB / 0.5519 GB, free: 10.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/1.716, allocations: 338.7 kB / 0.5523 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/1.717, allocations: 68.2 kB / 0.5523 GB, free: 10 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/1.717, allocations: 115.3 kB / 0.5524 GB, free: 9.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/1.72, allocations: 0.6257 MB / 0.5531 GB, free: 9.191 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.72, allocations: 4 kB / 0.5531 GB, free: 9.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005216/1.72, allocations: 278.8 kB / 0.5533 GB, free: 8.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/1.72, allocations: 37.7 kB / 0.5534 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.72, allocations: 4 kB / 0.5534 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.72, allocations: 0.7031 kB / 0.5534 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.722, allocations: 219.9 kB / 0.5536 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003112/1.722, allocations: 0.5821 MB / 0.5541 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/1.722, allocations: 39.7 kB / 0.5542 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/1.722, allocations: 20.03 kB / 0.5542 GB, free: 7.977 MB / 446.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.0001985/1.722, allocations: 173.5 kB / 0.5544 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/1.723, allocations: 23.72 kB / 0.5544 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/1.723, allocations: 246.9 kB / 0.5546 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.723, allocations: 0 / 0.5546 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.723, allocations: 7.938 kB / 0.5546 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.723, allocations: 3.984 kB / 0.5546 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/1.723, allocations: 289.4 kB / 0.5549 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/1.723, allocations: 0 / 0.5549 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.725, allocations: 197.8 kB / 0.5551 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/1.725, allocations: 0 / 0.5551 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/1.725, allocations: 8 kB / 0.5551 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002868/1.725, allocations: 0.5897 MB / 0.5557 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.725, allocations: 0 / 0.5557 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/1.726, allocations: 254.6 kB / 0.5559 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/1.726, allocations: 120.7 kB / 0.556 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/1.726, allocations: 0 / 0.556 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.726, allocations: 19.97 kB / 0.5561 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/1.726, allocations: 11.98 kB / 0.5561 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/1.726, allocations: 12 kB / 0.5561 GB, free: 5.902 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001571/1.726, allocations: 189.9 kB / 0.5563 GB, free: 5.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.726, allocations: 0 / 0.5563 GB, free: 5.719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001047/1.727, allocations: 391.8 kB / 0.5566 GB, free: 5.336 MB / 446.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.001404/1.729, allocations: 0.5109 MB / 0.5571 GB, free: 4.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01153/1.74, allocations: 0.8993 MB / 0.558 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.74, allocations: 0 / 0.558 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01013/1.75, allocations: 0.6642 MB / 0.5587 GB, free: 3.238 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/1.751, allocations: 41.34 kB / 0.5587 GB, free: 3.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/1.752, allocations: 461.9 kB / 0.5591 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/1.752, allocations: 0.744 MB / 0.5599 GB, free: 1.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/1.752, allocations: 22.56 kB / 0.5599 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/1.752, allocations: 23.42 kB / 0.5599 GB, free: 1.91 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/1.752, allocations: 0 / 0.5599 GB, free: 1.91 MB / 446.1 MB Notification: Performance of Templates: time 0.01788/1.77, allocations: 13.02 MB / 0.5726 GB, free: 4.945 MB / 462.1 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)