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.7829/0.7829, allocations: 150.9 MB / 166.1 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 19.97 kB / 204.2 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 31.33 MB / 235.5 MB, free: 5.688 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.546/1.687, allocations: 293.3 MB / 0.5164 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/1.703, allocations: 12.29 MB / 0.5284 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/1.703, allocations: 0 / 0.5284 GB, free: 2.027 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.0001453/1.703, allocations: 24.48 kB / 0.5284 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/1.703, allocations: 52.3 kB / 0.5285 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008237/1.711, allocations: 2.996 MB / 0.5314 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/1.712, allocations: 263.3 kB / 0.5317 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/1.712, allocations: 154.2 kB / 0.5318 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/1.712, allocations: 103.6 kB / 0.5319 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/1.712, allocations: 119.5 kB / 0.532 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/1.713, allocations: 24.59 kB / 0.532 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/1.723, allocations: 7.521 MB / 0.5394 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/1.723, allocations: 51.78 kB / 0.5394 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/1.723, allocations: 131.3 kB / 0.5396 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004499/1.728, allocations: 3.392 MB / 0.5429 GB, free: 3.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.728, allocations: 0 / 0.5429 GB, free: 3.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/1.728, allocations: 0 / 0.5429 GB, free: 3.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/1.728, allocations: 0 / 0.5429 GB, free: 3.219 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.001742/1.73, allocations: 0.8154 MB / 0.5437 GB, free: 2.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.73, allocations: 8.031 kB / 0.5437 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/1.73, allocations: 31.62 kB / 0.5437 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/1.73, allocations: 240.8 kB / 0.5439 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/1.73, allocations: 20.94 kB / 0.544 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/1.73, allocations: 24.38 kB / 0.544 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/1.731, allocations: 285.3 kB / 0.5442 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.731, allocations: 1.781 kB / 0.5442 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/1.731, allocations: 12 kB / 0.5443 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/1.731, allocations: 12 kB / 0.5443 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/1.731, allocations: 185 kB / 0.5444 GB, free: 1.496 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.005759/1.737, allocations: 3.011 MB / 0.5474 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/1.738, allocations: 178.7 kB / 0.5476 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/1.738, allocations: 78.27 kB / 0.5476 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004227/1.742, allocations: 1.69 MB / 0.5493 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/1.742, allocations: 151.9 kB / 0.5494 GB, free: 12.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.013e-06/1.742, allocations: 0 / 0.5494 GB, free: 12.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006577/1.743, allocations: 262.9 kB / 0.5497 GB, free: 11.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/1.743, allocations: 114.8 kB / 0.5498 GB, free: 11.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/1.743, allocations: 262.5 kB / 0.55 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/1.743, allocations: 29.7 kB / 0.5501 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.743, allocations: 160.2 kB / 0.5502 GB, free: 11.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/1.743, allocations: 51.27 kB / 0.5503 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/1.744, allocations: 53.69 kB / 0.5503 GB, free: 11.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/1.744, allocations: 342.8 kB / 0.5506 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/1.744, allocations: 60.14 kB / 0.5507 GB, free: 10.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/1.744, allocations: 123.3 kB / 0.5508 GB, free: 10.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/1.747, allocations: 0.6376 MB / 0.5514 GB, free: 9.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.747, allocations: 4 kB / 0.5514 GB, free: 9.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005246/1.747, allocations: 278.8 kB / 0.5517 GB, free: 9.617 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/1.747, allocations: 30.95 kB / 0.5517 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/1.747, allocations: 4 kB / 0.5517 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.747, allocations: 5.641 kB / 0.5518 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/1.749, allocations: 211.9 kB / 0.552 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003256/1.749, allocations: 0.6015 MB / 0.5525 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/1.75, allocations: 39.67 kB / 0.5526 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/1.75, allocations: 8 kB / 0.5526 GB, free: 8.695 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.0001844/1.75, allocations: 171.5 kB / 0.5528 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/1.75, allocations: 23.72 kB / 0.5528 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/1.75, allocations: 241.4 kB / 0.553 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/1.75, allocations: 4 kB / 0.553 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.75, allocations: 3.938 kB / 0.553 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.75, allocations: 3.984 kB / 0.553 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/1.751, allocations: 289.4 kB / 0.5533 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.751, allocations: 0 / 0.5533 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.752, allocations: 204.5 kB / 0.5535 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.752, allocations: 0 / 0.5535 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/1.752, allocations: 8 kB / 0.5535 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003018/1.753, allocations: 0.5898 MB / 0.5541 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.753, allocations: 0 / 0.5541 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/1.753, allocations: 251.5 kB / 0.5543 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/1.753, allocations: 124.6 kB / 0.5544 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/1.753, allocations: 4.094 kB / 0.5544 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/1.753, allocations: 23.97 kB / 0.5545 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/1.753, allocations: 18.19 kB / 0.5545 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/1.753, allocations: 4 kB / 0.5545 GB, free: 6.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001539/1.754, allocations: 190 kB / 0.5547 GB, free: 6.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.754, allocations: 0 / 0.5547 GB, free: 6.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001024/1.755, allocations: 395.8 kB / 0.555 GB, free: 6.043 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.001513/1.756, allocations: 0.5039 MB / 0.5555 GB, free: 5.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01089/1.767, allocations: 0.8999 MB / 0.5564 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.767, allocations: 0 / 0.5564 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009759/1.777, allocations: 0.6568 MB / 0.557 GB, free: 3.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/1.777, allocations: 51.23 kB / 0.5571 GB, free: 3.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009834/1.778, allocations: 0.5096 MB / 0.5576 GB, free: 3.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/1.779, allocations: 0.744 MB / 0.5583 GB, free: 2.605 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/1.779, allocations: 20.62 kB / 0.5583 GB, free: 2.586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/1.779, allocations: 23.42 kB / 0.5584 GB, free: 2.562 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/1.779, allocations: 0 / 0.5584 GB, free: 2.562 MB / 446.1 MB Notification: Performance of Templates: time 0.01783/1.797, allocations: 12.92 MB / 0.571 GB, free: 5.691 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)