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.8346/0.8346, allocations: 150.9 MB / 167.2 MB, free: 14.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 15.16 kB / 237.8 MB, free: 1.695 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05818/0.05856, allocations: 31.36 MB / 269.1 MB, free: 7.039 MB / 222.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.662/1.721, allocations: 294.4 MB / 0.5503 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/1.735, allocations: 12.03 MB / 0.5621 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/1.735, allocations: 4 kB / 0.5621 GB, free: 1.309 MB / 446.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.0001088/1.735, allocations: 31.66 kB / 0.5621 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/1.735, allocations: 67.36 kB / 0.5622 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007268/1.743, allocations: 3.426 MB / 0.5655 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/1.743, allocations: 263.3 kB / 0.5658 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/1.743, allocations: 155.6 kB / 0.5659 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/1.743, allocations: 99.64 kB / 0.566 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/1.744, allocations: 127.5 kB / 0.5661 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/1.744, allocations: 24 kB / 0.5661 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/1.755, allocations: 7.65 MB / 0.5736 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/1.755, allocations: 55.77 kB / 0.5737 GB, free: 5.418 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/1.755, allocations: 127.3 kB / 0.5738 GB, free: 5.293 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005942/1.761, allocations: 3.395 MB / 0.5771 GB, free: 1.891 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.761, allocations: 0 / 0.5771 GB, free: 1.891 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/1.761, allocations: 0 / 0.5771 GB, free: 1.891 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/1.761, allocations: 0 / 0.5771 GB, free: 1.891 MB / 462.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.001959/1.763, allocations: 0.815 MB / 0.5779 GB, free: 1.023 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.763, allocations: 11.89 kB / 0.5779 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/1.763, allocations: 36.55 kB / 0.578 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/1.764, allocations: 231.9 kB / 0.5782 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/1.764, allocations: 24.92 kB / 0.5782 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/1.764, allocations: 24.38 kB / 0.5782 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/1.764, allocations: 288 kB / 0.5785 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/1.764, allocations: 0 / 0.5785 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/1.764, allocations: 15.94 kB / 0.5785 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/1.764, allocations: 15.94 kB / 0.5785 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/1.765, allocations: 177.6 kB / 0.5787 GB, free: 152 kB / 462.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.006018/1.771, allocations: 3.038 MB / 0.5817 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/1.771, allocations: 178.8 kB / 0.5818 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/1.771, allocations: 68.83 kB / 0.5819 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004516/1.776, allocations: 1.714 MB / 0.5836 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/1.776, allocations: 154.7 kB / 0.5837 GB, free: 10.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.354e-06/1.776, allocations: 4 kB / 0.5837 GB, free: 10.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006669/1.777, allocations: 260.4 kB / 0.584 GB, free: 10.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/1.777, allocations: 114.8 kB / 0.5841 GB, free: 10.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/1.777, allocations: 266.5 kB / 0.5843 GB, free: 9.961 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/1.777, allocations: 29.7 kB / 0.5844 GB, free: 9.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/1.777, allocations: 156.1 kB / 0.5845 GB, free: 9.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/1.777, allocations: 55.28 kB / 0.5846 GB, free: 9.715 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/1.777, allocations: 57.59 kB / 0.5846 GB, free: 9.652 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/1.778, allocations: 334.8 kB / 0.5849 GB, free: 9.316 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/1.778, allocations: 68.2 kB / 0.585 GB, free: 9.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/1.778, allocations: 115.2 kB / 0.5851 GB, free: 9.109 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002716/1.781, allocations: 0.6362 MB / 0.5857 GB, free: 8.426 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.781, allocations: 4 kB / 0.5857 GB, free: 8.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005401/1.781, allocations: 278.3 kB / 0.586 GB, free: 8.141 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/1.781, allocations: 33.7 kB / 0.586 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.781, allocations: 0 / 0.586 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.781, allocations: 4 kB / 0.586 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.783, allocations: 215.9 kB / 0.5862 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003193/1.783, allocations: 0.5898 MB / 0.5868 GB, free: 7.273 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/1.783, allocations: 43.61 kB / 0.5869 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/1.783, allocations: 8 kB / 0.5869 GB, free: 7.223 MB / 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.0002017/1.784, allocations: 182.3 kB / 0.587 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/1.784, allocations: 27.7 kB / 0.5871 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/1.784, allocations: 239.1 kB / 0.5873 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.784, allocations: 0 / 0.5873 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.784, allocations: 4 kB / 0.5873 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/1.784, allocations: 116.7 kB / 0.5874 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/1.784, allocations: 4 kB / 0.5874 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/1.785, allocations: 7.984 kB / 0.5874 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/1.785, allocations: 19.97 kB / 0.5874 GB, free: 6.59 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006523/1.785, allocations: 386.6 kB / 0.5878 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006802/1.786, allocations: 489 kB / 0.5883 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000176/1.786, allocations: 75.98 kB / 0.5884 GB, free: 5.609 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001569/1.786, allocations: 190 kB / 0.5885 GB, free: 5.426 MB / 478.1 MB Notification: Performance of Backend: time 5.51e-07/1.786, allocations: 0 / 0.5885 GB, free: 5.426 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01533/1.802, allocations: 1.655 MB / 0.5901 GB, free: 3.758 MB / 478.1 MB Notification: Performance of SimCode: time 0.0009483/1.803, allocations: 0.9176 MB / 0.591 GB, free: 2.781 MB / 478.1 MB Notification: Performance of Templates: time 0.03116/1.834, allocations: 24.86 MB / 0.6153 GB, free: 9.898 MB / 0.4981 GB 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)