Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") translateModel(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001745, allocations: 105.6 kB / 16.4 MB, free: 6.457 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.002205/0.002205, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7741/0.7741, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 61.47 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 76.18 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.5953/0.741, allocations: 136.1 MB / 0.765 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02468/0.7657, allocations: 22.67 MB / 0.7871 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.766, allocations: 1.344 kB / 0.7871 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.7663, allocations: 52 kB / 0.7872 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.7667, allocations: 93.12 kB / 0.7873 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0245/0.7912, allocations: 6.968 MB / 0.7941 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.7918, allocations: 252.6 kB / 0.7943 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.7918, allocations: 12.92 kB / 0.7943 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.7922, allocations: 141.3 kB / 0.7945 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.7924, allocations: 88.98 kB / 0.7945 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.7924, allocations: 7.969 kB / 0.7946 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02484/0.8172, allocations: 11.64 MB / 0.8059 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.8174, allocations: 38.48 kB / 0.806 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.8176, allocations: 84.09 kB / 0.806 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01931/0.8369, allocations: 6.478 MB / 0.8124 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.8369, allocations: 2.562 kB / 0.8124 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8369, allocations: 0 / 0.8124 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.837, allocations: 0 / 0.8124 GB, free: 4.77 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.004741/0.8417, allocations: 1.202 MB / 0.8135 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.8418, allocations: 7.469 kB / 0.8135 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.8429, allocations: 86.97 kB / 0.8136 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.8432, allocations: 232.8 kB / 0.8139 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.8432, allocations: 15.41 kB / 0.8139 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.8433, allocations: 22.72 kB / 0.8139 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.8444, allocations: 436.5 kB / 0.8143 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.8445, allocations: 6.031 kB / 0.8143 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.8445, allocations: 10.91 kB / 0.8143 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.8445, allocations: 3.875 kB / 0.8143 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.8457, allocations: 0.5999 MB / 0.8149 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.8468, allocations: 0.882 MB / 0.8158 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.8477, allocations: 255 kB / 0.816 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.8478, allocations: 73.08 kB / 0.8161 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09155/0.9393, allocations: 35.42 MB / 0.8507 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.9394, allocations: 34.56 kB / 0.8507 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.9394, allocations: 0 / 0.8507 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001838/0.9413, allocations: 424.5 kB / 0.8511 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.9413, allocations: 63.41 kB / 0.8512 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.9415, allocations: 137.8 kB / 0.8513 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.9415, allocations: 33.7 kB / 0.8513 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.9416, allocations: 108.3 kB / 0.8514 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.9416, allocations: 78.77 kB / 0.8515 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.9418, allocations: 82.86 kB / 0.8516 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.9419, allocations: 326.8 kB / 0.8519 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.9421, allocations: 83.95 kB / 0.852 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.9423, allocations: 129.6 kB / 0.8521 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.9428, allocations: 228.2 kB / 0.8523 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.9428, allocations: 1.188 kB / 0.8523 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007645/0.9435, allocations: 297.2 kB / 0.8526 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.9436, allocations: 5.25 kB / 0.8526 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9436, allocations: 4 kB / 0.8526 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.9436, allocations: 4 kB / 0.8526 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.9439, allocations: 83.88 kB / 0.8527 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.9439, allocations: 5.359 kB / 0.8527 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.9441, allocations: 19.84 kB / 0.8527 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.9441, allocations: 23.92 kB / 0.8528 GB, free: 13.05 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.0001381/0.9443, allocations: 133.8 kB / 0.8529 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.9445, allocations: 15.81 kB / 0.8529 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.947, allocations: 2.346 MB / 0.8552 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.9471, allocations: 7.984 kB / 0.8552 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.9471, allocations: 0.75 kB / 0.8552 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.9471, allocations: 4 kB / 0.8552 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.9503, allocations: 3.43 MB / 0.8585 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.9503, allocations: 1.203 kB / 0.8585 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.9506, allocations: 55.89 kB / 0.8586 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.9506, allocations: 1.125 kB / 0.8586 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.9506, allocations: 15.92 kB / 0.8586 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9506, allocations: 0 / 0.8586 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9507, allocations: 0 / 0.8586 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.9514, allocations: 0.553 MB / 0.8592 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.9516, allocations: 136.6 kB / 0.8593 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.9516, allocations: 7.938 kB / 0.8593 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.9518, allocations: 15.98 kB / 0.8593 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.9519, allocations: 11.98 kB / 0.8593 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.9519, allocations: 17.95 kB / 0.8593 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.398e-05/0.952, allocations: 109.4 kB / 0.8594 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.952, allocations: 0 / 0.8594 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005124/0.9571, allocations: 1.691 MB / 0.8611 GB, free: 4.352 MB / 0.6387 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.007496/0.9646, allocations: 1.925 MB / 0.863 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006622/0.9653, allocations: 321.5 kB / 0.8633 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9653, allocations: 4 kB / 0.8633 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.9656, allocations: 242.2 kB / 0.8635 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.9662, allocations: 72.17 kB / 0.8636 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.9672, allocations: 0.6433 MB / 0.8642 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.9675, allocations: 0.7622 MB / 0.865 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005194/0.9681, allocations: 401.1 kB / 0.8653 GB, free: 100 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.9682, allocations: 51.41 kB / 0.8654 GB, free: 48 kB / 0.6387 GB Notification: Performance of SimCode: time 3.3e-07/0.9682, allocations: 0 / 0.8654 GB, free: 48 kB / 0.6387 GB Notification: Performance of Templates: time 0.07556/1.044, allocations: 59.42 MB / 0.9234 GB, free: 4.609 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)