Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.851/0.851, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 184.8 kB / 182.2 MB, free: 9.426 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008748/0.0008747, allocations: 96.09 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 276.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.821e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.4636, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.491/1.954, allocations: 0.6495 GB / 1.407 GB, free: 23.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/1.955, allocations: 83.48 kB / 1.407 GB, free: 23.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5642/2.519, allocations: 63.86 MB / 1.469 GB, free: 224.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/2.519, allocations: 0 / 1.469 GB, free: 224.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.897e-06/2.519, allocations: 3.312 kB / 1.469 GB, free: 224.1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001786/2.521, allocations: 497.2 kB / 1.47 GB, free: 223.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/2.521, allocations: 11.22 kB / 1.47 GB, free: 223.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/2.521, allocations: 21.94 kB / 1.47 GB, free: 223.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/2.521, allocations: 171.1 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/2.521, allocations: 29.36 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/2.521, allocations: 3.625 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001703/2.521, allocations: 84.64 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/2.522, allocations: 78.34 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/2.522, allocations: 3.938 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/2.522, allocations: 0 / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/2.522, allocations: 0 / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/2.522, allocations: 309.3 kB / 1.47 GB, free: 223.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/2.522, allocations: 102.4 kB / 1.471 GB, free: 223.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/2.522, allocations: 48.66 kB / 1.471 GB, free: 223.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/2.532, allocations: 4.164 MB / 1.475 GB, free: 221.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/2.533, allocations: 34.34 kB / 1.475 GB, free: 221.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.535e-06/2.533, allocations: 3.938 kB / 1.475 GB, free: 221.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005178/2.533, allocations: 123.4 kB / 1.475 GB, free: 221.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/2.533, allocations: 55.41 kB / 1.475 GB, free: 221.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/2.533, allocations: 96.59 kB / 1.475 GB, free: 221.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/2.533, allocations: 25.7 kB / 1.475 GB, free: 221.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/2.533, allocations: 83.89 kB / 1.475 GB, free: 221 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/2.533, allocations: 40.17 kB / 1.475 GB, free: 221 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/2.533, allocations: 0 / 1.475 GB, free: 221 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/2.533, allocations: 325.1 kB / 1.475 GB, free: 220.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.619e-05/2.533, allocations: 18.59 kB / 1.475 GB, free: 220.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/2.533, allocations: 26.41 kB / 1.475 GB, free: 220.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/2.534, allocations: 31.47 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/2.534, allocations: 0 / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002357/2.534, allocations: 104.2 kB / 1.476 GB, free: 220.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/2.534, allocations: 3.625 kB / 1.476 GB, free: 220.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/2.534, allocations: 0 / 1.476 GB, free: 220.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/2.534, allocations: 3.344 kB / 1.476 GB, free: 220.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/2.534, allocations: 23.2 kB / 1.476 GB, free: 220.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/2.534, allocations: 0 / 1.476 GB, free: 220.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/2.534, allocations: 10.17 kB / 1.476 GB, free: 220.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/2.534, allocations: 7.938 kB / 1.476 GB, free: 220.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/2.534, allocations: 111.7 kB / 1.476 GB, free: 220.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/2.534, allocations: 8.094 kB / 1.476 GB, free: 220.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/2.535, allocations: 354.6 kB / 1.476 GB, free: 220.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/2.535, allocations: 13.09 kB / 1.476 GB, free: 220.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.535, allocations: 0 / 1.476 GB, free: 220.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/2.535, allocations: 3.531 kB / 1.476 GB, free: 220.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/2.535, allocations: 241.3 kB / 1.476 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/2.535, allocations: 9.641 kB / 1.476 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/2.535, allocations: 20 kB / 1.476 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/2.535, allocations: 3.344 kB / 1.476 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/2.535, allocations: 0 / 1.476 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/2.535, allocations: 0 / 1.476 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.535, allocations: 0 / 1.476 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/2.536, allocations: 327.5 kB / 1.477 GB, free: 220.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.791e-05/2.536, allocations: 103.8 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/2.536, allocations: 7.734 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/2.536, allocations: 3.188 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/2.536, allocations: 9.891 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/2.536, allocations: 8.031 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.866e-05/2.536, allocations: 82.36 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.536, allocations: 4 kB / 1.477 GB, free: 219.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00168/2.538, allocations: 327.1 kB / 1.477 GB, free: 219.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00272/2.54, allocations: 0.9166 MB / 1.478 GB, free: 219.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001879/2.541, allocations: 114.2 kB / 1.478 GB, free: 219.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.541, allocations: 0 / 1.478 GB, free: 219.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/2.541, allocations: 104.9 kB / 1.478 GB, free: 219.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/2.541, allocations: 18.28 kB / 1.478 GB, free: 219.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/2.541, allocations: 209.4 kB / 1.479 GB, free: 219.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/2.542, allocations: 0.7254 MB / 1.479 GB, free: 218.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001181/2.542, allocations: 31.28 kB / 1.479 GB, free: 218.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/2.542, allocations: 14.97 kB / 1.479 GB, free: 218.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/2.542, allocations: 3.75 kB / 1.479 GB, free: 218.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01722/2.559, allocations: 11.65 MB / 1.491 GB, free: 216.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)