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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/package.mo", uses=false) Using package ThermoSysPro with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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/Complex 3.2.2+maint.om/package.mo): time 0.001343/0.001343, allocations: 185.5 kB / 16.13 MB, free: 5.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.239/1.239, allocations: 194.5 MB / 211.3 MB, free: 2.957 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001565/0.001565, allocations: 110.1 kB / 256.6 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/package.mo): time 0.6088/0.6088, allocations: 92.57 MB / 394.4 MB, free: 40.74 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 20 kB / 468.3 MB, free: 424 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 63.18 MB / 0.519 GB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2938/0.3976, allocations: 98.5 MB / 0.6152 GB, free: 5.523 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001344/0.3978, allocations: 51.61 kB / 0.6153 GB, free: 5.477 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/WaterSolution/Connectors.mo:3:3-42:25:writable] Warning: Connector .ThermoSysPro.WaterSolution.Connectors.WaterSolutionInlet 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 3.2.0-master/WaterSolution/Connectors.mo:44:3-83:26:writable] Warning: Connector .ThermoSysPro.WaterSolution.Connectors.WaterSolutionOutlet 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 3.2.0-master/WaterSolution/Connectors.mo:3:3-42:25:writable] Warning: Connector .ThermoSysPro.WaterSolution.Connectors.WaterSolutionInlet 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 3.2.0-master/WaterSolution/Connectors.mo:44:3-83:26:writable] Warning: Connector .ThermoSysPro.WaterSolution.Connectors.WaterSolutionOutlet 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 3.2.0-master/Properties/WaterSteam/Common.mo:703:3-754:22:writable] Warning: pro.x was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/Properties/WaterSteam/Common.mo:1185:3-1241:26:writable] Warning: pro.x was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/WaterSolution/Connectors.mo:44:3-83:26:writable] Warning: Connector .ThermoSysPro.WaterSolution.Connectors.WaterSolutionOutlet 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 3.2.0-master/WaterSolution/Connectors.mo:3:3-42:25:writable] Warning: Connector .ThermoSysPro.WaterSolution.Connectors.WaterSolutionInlet is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.2379/0.6358, allocations: 91.93 MB / 0.705 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6358, allocations: 0 / 0.705 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.6358, allocations: 4 kB / 0.705 GB, free: 9.617 MB / 0.5261 GB 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.002777/0.6386, allocations: 0.8021 MB / 0.7058 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.6387, allocations: 8.031 kB / 0.7058 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.6387, allocations: 32.56 kB / 0.7059 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.639, allocations: 238.6 kB / 0.7061 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.639, allocations: 24.92 kB / 0.7061 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.639, allocations: 21.97 kB / 0.7061 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.6395, allocations: 293 kB / 0.7064 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6396, allocations: 4.172 kB / 0.7064 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.6396, allocations: 11.94 kB / 0.7064 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.6396, allocations: 8 kB / 0.7064 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.64, allocations: 201.5 kB / 0.7066 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005192/0.6452, allocations: 2.839 MB / 0.7094 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.6458, allocations: 202.7 kB / 0.7096 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.646, allocations: 72.83 kB / 0.7097 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0038/0.6498, allocations: 1.67 MB / 0.7113 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.6501, allocations: 153 kB / 0.7114 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 2.675e-06/0.6501, allocations: 0 / 0.7114 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17): time 0.0007009/0.6508, allocations: 282.9 kB / 0.7117 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.6509, allocations: 106.8 kB / 0.7118 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.6512, allocations: 268.4 kB / 0.7121 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.6512, allocations: 29.7 kB / 0.7121 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.6513, allocations: 152.2 kB / 0.7122 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.6514, allocations: 55.2 kB / 0.7123 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.6514, allocations: 4 kB / 0.7123 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6515, allocations: 338.8 kB / 0.7126 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.6517, allocations: 68.14 kB / 0.7127 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.652, allocations: 135 kB / 0.7128 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.6542, allocations: 0.625 MB / 0.7134 GB, free: 484 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.6542, allocations: 0 / 0.7134 GB, free: 484 kB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005239/0.6547, allocations: 293.2 kB / 0.7137 GB, free: 180 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.6548, allocations: 33.7 kB / 0.7137 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6548, allocations: 0 / 0.7137 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6548, allocations: 4 kB / 0.7137 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.6559, allocations: 196 kB / 0.7139 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002961/0.6562, allocations: 0.5859 MB / 0.7145 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.6564, allocations: 44.53 kB / 0.7145 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.6564, allocations: 8 kB / 0.7145 GB, free: 15.28 MB / 0.5417 GB Warning: Assuming fixed start value for the following 2 variables: Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real pulse.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.Pulse1.T0,$PRE.pulse.T0,$whenCondition2,Pulse1.T0,Pulse1.yL.signal,pulse.T0,singularPressureLossWaterLiBr.C2.b,sinkSolution.Ce.a,sourceSolution.Cs.b,staticCentrifugalPumpWaterLiBr.C1.a,staticCentrifugalPumpWaterLiBr.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.6566, allocations: 177.6 kB / 0.7147 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.6567, allocations: 27.66 kB / 0.7147 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005405/0.6572, allocations: 257.3 kB / 0.715 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6572, allocations: 4 kB / 0.715 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6572, allocations: 0 / 0.715 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6573, allocations: 4.812 kB / 0.715 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.6575, allocations: 291.6 kB / 0.7153 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6576, allocations: 3.984 kB / 0.7153 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.6586, allocations: 177.2 kB / 0.7154 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6586, allocations: 0 / 0.7154 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.6586, allocations: 8 kB / 0.7155 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002517/0.6589, allocations: 0.5859 MB / 0.716 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.6589, allocations: 4.984 kB / 0.716 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.6594, allocations: 269.8 kB / 0.7163 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.6595, allocations: 116.7 kB / 0.7164 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.6595, allocations: 8 kB / 0.7164 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.6597, allocations: 23.98 kB / 0.7164 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.6597, allocations: 15.97 kB / 0.7164 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.6598, allocations: 4 kB / 0.7165 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001592/0.6599, allocations: 185.9 kB / 0.7166 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6599, allocations: 0 / 0.7166 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00159/0.6615, allocations: 423.5 kB / 0.717 GB, free: 12.61 MB / 0.5417 GB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002246/0.6638, allocations: 0.5119 MB / 0.7175 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008965/0.6728, allocations: 0.862 MB / 0.7184 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6728, allocations: 0 / 0.7184 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008054/0.6808, allocations: 0.6327 MB / 0.719 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.6812, allocations: 38.36 kB / 0.719 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.6822, allocations: 0.5129 MB / 0.7195 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.6825, allocations: 0.7443 MB / 0.7203 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.6826, allocations: 25.94 kB / 0.7203 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.6827, allocations: 15.44 kB / 0.7203 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of SimCode: time 1.703e-06/0.6827, allocations: 8 kB / 0.7203 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of Templates: time 0.2169/0.8996, allocations: 12.54 MB / 0.7326 GB, free: 124.6 MB / 0.5417 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)