Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001495, allocations: 198.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002465/0.002464, allocations: 283.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.125/1.125, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 96.61 kB / 0.6057 GB, free: 25.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1666, allocations: 89.14 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4736/0.6403, allocations: 134 MB / 0.8236 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03338/0.6737, allocations: 25.14 MB / 0.8482 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.6739, allocations: 2.094 kB / 0.8482 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.6742, allocations: 43.69 kB / 0.8482 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.6746, allocations: 88.11 kB / 0.8483 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01627/0.6908, allocations: 5.487 MB / 0.8537 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.6913, allocations: 313.2 kB / 0.854 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.6913, allocations: 17.03 kB / 0.854 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.6916, allocations: 126.5 kB / 0.8541 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.6918, allocations: 90.22 kB / 0.8542 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.6918, allocations: 7.406 kB / 0.8542 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02137/0.7132, allocations: 11.51 MB / 0.8655 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.7134, allocations: 47.81 kB / 0.8655 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.7136, allocations: 75.66 kB / 0.8656 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.73, allocations: 6.515 MB / 0.8719 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7301, allocations: 0 / 0.8719 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7301, allocations: 0 / 0.8719 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.7301, allocations: 0 / 0.8719 GB, free: 4.672 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003367/0.7335, allocations: 1.198 MB / 0.8731 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7335, allocations: 8.031 kB / 0.8731 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.7346, allocations: 88.66 kB / 0.8732 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.7349, allocations: 232 kB / 0.8734 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.7349, allocations: 20.12 kB / 0.8734 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.7349, allocations: 19.88 kB / 0.8735 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.7361, allocations: 453.7 kB / 0.8739 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7362, allocations: 0 / 0.8739 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.7362, allocations: 8 kB / 0.8739 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7362, allocations: 4 kB / 0.8739 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.7375, allocations: 0.6008 MB / 0.8745 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.7386, allocations: 0.8744 MB / 0.8753 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000866/0.7395, allocations: 262.8 kB / 0.8756 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.7397, allocations: 80.77 kB / 0.8757 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08578/0.8254, allocations: 35.04 MB / 0.9099 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.8255, allocations: 30.56 kB / 0.9099 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.8255, allocations: 0 / 0.9099 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001856/0.8274, allocations: 421.9 kB / 0.9103 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.8274, allocations: 55.41 kB / 0.9104 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.8276, allocations: 139.2 kB / 0.9105 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.8277, allocations: 37.7 kB / 0.9105 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.8278, allocations: 112.3 kB / 0.9106 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.8279, allocations: 86.73 kB / 0.9107 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.828, allocations: 81.67 kB / 0.9108 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8282, allocations: 330.8 kB / 0.9111 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.8284, allocations: 80.7 kB / 0.9112 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.8286, allocations: 129.1 kB / 0.9113 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.8291, allocations: 213 kB / 0.9115 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8291, allocations: 0 / 0.9115 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008288/0.83, allocations: 304.5 kB / 0.9118 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.83, allocations: 10.19 kB / 0.9118 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.83, allocations: 3.984 kB / 0.9118 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.83, allocations: 5.312 kB / 0.9118 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.8304, allocations: 83.88 kB / 0.9119 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8304, allocations: 0 / 0.9119 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.8306, allocations: 23.83 kB / 0.9119 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.8306, allocations: 23.92 kB / 0.912 GB, free: 8.285 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.8308, allocations: 129.9 kB / 0.9121 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.831, allocations: 23.75 kB / 0.9121 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.8336, allocations: 2.346 MB / 0.9144 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.8337, allocations: 19.97 kB / 0.9144 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8337, allocations: 0 / 0.9144 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.8337, allocations: 3.984 kB / 0.9144 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/0.8374, allocations: 3.427 MB / 0.9178 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.8374, allocations: 5.688 kB / 0.9178 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.8377, allocations: 51.95 kB / 0.9178 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.8377, allocations: 0 / 0.9178 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.8377, allocations: 11.94 kB / 0.9178 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.8377, allocations: 0 / 0.9178 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8377, allocations: 0 / 0.9178 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008249/0.8386, allocations: 0.5418 MB / 0.9184 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.8387, allocations: 148.5 kB / 0.9185 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.8388, allocations: 3.938 kB / 0.9185 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.839, allocations: 23.92 kB / 0.9185 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.8391, allocations: 19.98 kB / 0.9185 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.8391, allocations: 15.98 kB / 0.9186 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.189e-05/0.8392, allocations: 103.3 kB / 0.9187 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8392, allocations: 0 / 0.9187 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004328/0.8435, allocations: 1.687 MB / 0.9203 GB, free: 15.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00762/0.8511, allocations: 1.935 MB / 0.9222 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.8518, allocations: 328.6 kB / 0.9225 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.8519, allocations: 0 / 0.9225 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.8522, allocations: 244.5 kB / 0.9227 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.8528, allocations: 55.94 kB / 0.9228 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.854, allocations: 0.7633 MB / 0.9235 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.8545, allocations: 0.7661 MB / 0.9243 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006144/0.8551, allocations: 404.9 kB / 0.9247 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.8553, allocations: 51.41 kB / 0.9247 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.8553, allocations: 0 / 0.9247 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.08047/0.9357, allocations: 59.42 MB / 0.9827 GB, free: 15.54 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)