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.001073/0.001073, allocations: 117.7 kB / 17.08 MB, free: 6.016 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.001008/0.001008, allocations: 196.7 kB / 18.02 MB, free: 5.094 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.278/1.278, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7309/0.7309, allocations: 115.3 MB / 407.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.56 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1402, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.4981/0.6384, allocations: 136.1 MB / 0.7656 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02792/0.6663, allocations: 22.66 MB / 0.7878 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.6666, allocations: 0 / 0.7878 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.667, allocations: 45.5 kB / 0.7878 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.6675, allocations: 89.73 kB / 0.7879 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02401/0.6915, allocations: 6.955 MB / 0.7947 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.692, allocations: 248 kB / 0.7949 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.6921, allocations: 16.73 kB / 0.795 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.6925, allocations: 139.2 kB / 0.7951 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.6927, allocations: 92.28 kB / 0.7952 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.6927, allocations: 10.16 kB / 0.7952 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02715/0.7199, allocations: 11.64 MB / 0.8066 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.7201, allocations: 37.59 kB / 0.8066 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.7202, allocations: 84.16 kB / 0.8067 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01976/0.74, allocations: 6.471 MB / 0.813 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.7401, allocations: 2.562 kB / 0.813 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.975e-06/0.7401, allocations: 0 / 0.813 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.7401, allocations: 1.203 kB / 0.813 GB, free: 4.668 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.004827/0.7449, allocations: 1.204 MB / 0.8142 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.745, allocations: 9.562 kB / 0.8142 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.7462, allocations: 86.92 kB / 0.8143 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.7466, allocations: 232.1 kB / 0.8145 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.7466, allocations: 11.88 kB / 0.8145 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.7467, allocations: 17.66 kB / 0.8145 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.7479, allocations: 450.9 kB / 0.8149 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.7479, allocations: 0 / 0.8149 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.748, allocations: 16.3 kB / 0.815 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.748, allocations: 2.781 kB / 0.815 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.7492, allocations: 0.5913 MB / 0.8155 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.7503, allocations: 0.8847 MB / 0.8164 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009075/0.7512, allocations: 251.4 kB / 0.8166 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.7513, allocations: 81.91 kB / 0.8167 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08569/0.837, allocations: 35.42 MB / 0.8513 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.8371, allocations: 34.56 kB / 0.8513 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.8371, allocations: 0 / 0.8513 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001877/0.839, allocations: 425.2 kB / 0.8517 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.839, allocations: 55.41 kB / 0.8518 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.8392, allocations: 135.9 kB / 0.8519 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.8392, allocations: 33.7 kB / 0.852 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.8393, allocations: 112.3 kB / 0.8521 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/0.8394, allocations: 82.75 kB / 0.8521 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.8395, allocations: 82.88 kB / 0.8522 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8396, allocations: 326.8 kB / 0.8525 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.8398, allocations: 83.94 kB / 0.8526 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.8401, allocations: 125.6 kB / 0.8527 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.8405, allocations: 228.2 kB / 0.853 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8405, allocations: 0 / 0.853 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007514/0.8413, allocations: 300.1 kB / 0.8532 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8413, allocations: 8.156 kB / 0.8532 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.8413, allocations: 4 kB / 0.8533 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.8413, allocations: 0 / 0.8533 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.8416, allocations: 87.88 kB / 0.8533 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.8417, allocations: 5.141 kB / 0.8533 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.8418, allocations: 15.84 kB / 0.8534 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.8419, allocations: 31.91 kB / 0.8534 GB, free: 12.91 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.0001406/0.8421, allocations: 125.8 kB / 0.8535 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.8423, allocations: 15.81 kB / 0.8535 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.8446, allocations: 2.346 MB / 0.8558 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.8446, allocations: 11.98 kB / 0.8558 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.8446, allocations: 3.984 kB / 0.8558 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.8446, allocations: 0 / 0.8558 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.8478, allocations: 3.431 MB / 0.8592 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.8478, allocations: 1.094 kB / 0.8592 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.8481, allocations: 59.88 kB / 0.8592 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8481, allocations: 0 / 0.8592 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.8481, allocations: 15.94 kB / 0.8592 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.8481, allocations: 0 / 0.8592 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8482, allocations: 0 / 0.8592 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.8489, allocations: 0.5426 MB / 0.8598 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.8491, allocations: 140.6 kB / 0.8599 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.8491, allocations: 3.938 kB / 0.8599 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.8494, allocations: 15.98 kB / 0.8599 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.8494, allocations: 21.92 kB / 0.86 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.8495, allocations: 19.94 kB / 0.86 GB, free: 6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.082e-05/0.8495, allocations: 109.1 kB / 0.8601 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8495, allocations: 0 / 0.8601 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004489/0.854, allocations: 1.683 MB / 0.8617 GB, free: 4.211 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.008108/0.8621, allocations: 1.929 MB / 0.8636 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006062/0.8628, allocations: 324.3 kB / 0.8639 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.8628, allocations: 4 kB / 0.8639 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.8631, allocations: 238.2 kB / 0.8641 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.8636, allocations: 76.17 kB / 0.8642 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.8646, allocations: 0.6707 MB / 0.8649 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.8649, allocations: 0.7661 MB / 0.8656 GB, free: 316 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.8651, allocations: 51.41 kB / 0.8657 GB, free: 264 kB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.8651, allocations: 0 / 0.8657 GB, free: 264 kB / 0.6387 GB Notification: Performance of Templates: time 0.04696/0.912, allocations: 32.75 MB / 0.8976 GB, free: 15.48 MB / 0.6856 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)