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.00119/0.00119, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 207 kB / 16.79 MB, free: 6.84 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7901/0.7901, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 59.58 kB / 0.4904 GB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1812, allocations: 77.95 MB / 0.5665 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.531/0.7122, allocations: 134 MB / 0.6974 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03866/0.7509, allocations: 25.15 MB / 0.7219 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.7511, allocations: 4 kB / 0.7219 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.7515, allocations: 35.75 kB / 0.722 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.7518, allocations: 95.47 kB / 0.722 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01692/0.7688, allocations: 5.481 MB / 0.7274 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.7692, allocations: 307.8 kB / 0.7277 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.7693, allocations: 9.562 kB / 0.7277 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.7697, allocations: 131.5 kB / 0.7278 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.7699, allocations: 95.59 kB / 0.7279 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.7699, allocations: 8 kB / 0.7279 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02273/0.7926, allocations: 11.51 MB / 0.7392 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.7928, allocations: 35.89 kB / 0.7392 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.793, allocations: 79.66 kB / 0.7393 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02217/0.8152, allocations: 6.519 MB / 0.7456 GB, free: 496 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.8152, allocations: 0 / 0.7456 GB, free: 496 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8152, allocations: 0 / 0.7456 GB, free: 496 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.8153, allocations: 0 / 0.7456 GB, free: 496 kB / 0.5606 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.004355/0.8196, allocations: 1.205 MB / 0.7468 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8197, allocations: 8.031 kB / 0.7468 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.8209, allocations: 88.67 kB / 0.7469 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.8212, allocations: 232.1 kB / 0.7471 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.8212, allocations: 12.38 kB / 0.7471 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.8212, allocations: 15.94 kB / 0.7472 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.8225, allocations: 456.5 kB / 0.7476 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.8225, allocations: 4 kB / 0.7476 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.8225, allocations: 4 kB / 0.7476 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.8225, allocations: 4 kB / 0.7476 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.8238, allocations: 0.6053 MB / 0.7482 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.825, allocations: 0.8899 MB / 0.7491 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.826, allocations: 246.4 kB / 0.7493 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.8261, allocations: 76.83 kB / 0.7494 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08578/0.9119, allocations: 35.04 MB / 0.7836 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.912, allocations: 34.56 kB / 0.7836 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.674e-06/0.912, allocations: 3.938 kB / 0.7836 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001845/0.9138, allocations: 424.8 kB / 0.784 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.9139, allocations: 55.41 kB / 0.7841 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.914, allocations: 136 kB / 0.7842 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.9141, allocations: 37.69 kB / 0.7843 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/0.9142, allocations: 112.3 kB / 0.7844 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/0.9143, allocations: 78.75 kB / 0.7844 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.9144, allocations: 85.59 kB / 0.7845 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9145, allocations: 330.8 kB / 0.7848 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.9147, allocations: 83.95 kB / 0.7849 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.915, allocations: 130 kB / 0.785 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.9155, allocations: 221 kB / 0.7852 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.9155, allocations: 0 / 0.7852 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000781/0.9163, allocations: 293.2 kB / 0.7855 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.9163, allocations: 8 kB / 0.7855 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.9163, allocations: 3.984 kB / 0.7855 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9163, allocations: 4 kB / 0.7855 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.9166, allocations: 83.81 kB / 0.7856 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.9167, allocations: 4.156 kB / 0.7856 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.9168, allocations: 19.84 kB / 0.7856 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.9169, allocations: 27.92 kB / 0.7857 GB, free: 4.102 MB / 0.6075 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.0001354/0.917, allocations: 125.8 kB / 0.7858 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.9172, allocations: 23.8 kB / 0.7858 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.9195, allocations: 2.346 MB / 0.7881 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.9196, allocations: 19.97 kB / 0.7881 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9196, allocations: 0 / 0.7881 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9196, allocations: 3.938 kB / 0.7881 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/0.9228, allocations: 3.424 MB / 0.7915 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.9228, allocations: 0 / 0.7915 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.9231, allocations: 59.89 kB / 0.7915 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.9231, allocations: 0 / 0.7915 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.9231, allocations: 15.92 kB / 0.7915 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.9231, allocations: 0 / 0.7915 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9231, allocations: 0 / 0.7915 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/0.9239, allocations: 0.5456 MB / 0.7921 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.9241, allocations: 140.6 kB / 0.7922 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.9241, allocations: 11.94 kB / 0.7922 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.9244, allocations: 15.97 kB / 0.7922 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.9244, allocations: 19.98 kB / 0.7923 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.9244, allocations: 11.98 kB / 0.7923 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.037e-05/0.9245, allocations: 103.3 kB / 0.7924 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.824e-06/0.9245, allocations: 4 kB / 0.7924 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00416/0.9287, allocations: 1.694 MB / 0.794 GB, free: 11.38 MB / 0.6231 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.009097/0.9378, allocations: 1.93 MB / 0.7959 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008856/0.9387, allocations: 324.3 kB / 0.7962 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.9388, allocations: 0 / 0.7962 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.9392, allocations: 241.4 kB / 0.7965 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000749/0.94, allocations: 75.23 kB / 0.7965 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.9415, allocations: 0.7445 MB / 0.7972 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.9419, allocations: 0.7661 MB / 0.798 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000668/0.9426, allocations: 405.1 kB / 0.7984 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.9428, allocations: 51.41 kB / 0.7984 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of SimCode: time 1.293e-06/0.9428, allocations: 0 / 0.7984 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of Templates: time 0.3271/1.27, allocations: 59.4 MB / 0.8564 GB, free: 207 MB / 0.6387 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)