Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009929/0.0009926, allocations: 92.72 kB / 16.02 MB, free: 84 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.00113/0.00113, allocations: 174.8 kB / 16.92 MB, free: 6.68 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.602/1.602, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8853/0.8853, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 8 kB / 495.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1696, allocations: 77.53 MB / 0.5599 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.00186/0.1715, allocations: 0.9886 MB / 0.5609 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5364/0.708, allocations: 134.2 MB / 0.6919 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.7081, allocations: 0 / 0.6919 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.7081, allocations: 0 / 0.6919 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.175e-05/0.7082, allocations: 7.938 kB / 0.692 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.7095, allocations: 373.4 kB / 0.6923 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.403e-05/0.7096, allocations: 31.92 kB / 0.6923 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.7096, allocations: 7.984 kB / 0.6924 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.7097, allocations: 23.92 kB / 0.6924 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.7098, allocations: 15.97 kB / 0.6924 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.7098, allocations: 0 / 0.6924 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.7115, allocations: 0.8178 MB / 0.6932 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.7115, allocations: 15.91 kB / 0.6932 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.7116, allocations: 41.64 kB / 0.6932 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007841/0.7124, allocations: 445 kB / 0.6937 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7124, allocations: 0 / 0.6937 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7124, allocations: 0 / 0.6937 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.7124, allocations: 8 kB / 0.6937 GB, free: 13.23 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00053/0.7129, allocations: 355.5 kB / 0.694 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.713, allocations: 8.031 kB / 0.694 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.7132, allocations: 17.45 kB / 0.694 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.7133, allocations: 160.4 kB / 0.6942 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.7133, allocations: 12.36 kB / 0.6942 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.7134, allocations: 384 / 0.6942 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.7135, allocations: 61.61 kB / 0.6943 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.7136, allocations: 4 kB / 0.6943 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.7136, allocations: 3.938 kB / 0.6943 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.7136, allocations: 0 / 0.6943 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.7137, allocations: 19.98 kB / 0.6943 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.7139, allocations: 166.5 kB / 0.6944 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.714, allocations: 47.34 kB / 0.6945 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.714, allocations: 16.84 kB / 0.6945 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.7251, allocations: 3.209 MB / 0.6976 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.7252, allocations: 34.5 kB / 0.6977 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/0.7252, allocations: 0 / 0.6977 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.04096/0.7661, allocations: 14.25 MB / 0.7116 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.7663, allocations: 59.39 kB / 0.7116 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.7664, allocations: 93.86 kB / 0.7117 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.7664, allocations: 25.7 kB / 0.7118 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.7664, allocations: 84.14 kB / 0.7118 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.7665, allocations: 47.5 kB / 0.7119 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.7665, allocations: 17.72 kB / 0.7119 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7667, allocations: 318.8 kB / 0.7122 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.7667, allocations: 20 kB / 0.7122 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.7668, allocations: 27.98 kB / 0.7123 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.767, allocations: 65.91 kB / 0.7123 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.767, allocations: 0 / 0.7123 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002685/0.7672, allocations: 105.5 kB / 0.7124 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7673, allocations: 4 kB / 0.7124 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7673, allocations: 4 kB / 0.7124 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7673, allocations: 7.984 kB / 0.7124 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.7674, allocations: 27.92 kB / 0.7125 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.7675, allocations: 80 / 0.7125 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.7675, allocations: 4 kB / 0.7125 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.7675, allocations: 7.984 kB / 0.7125 GB, free: 9.531 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001137/0.7676, allocations: 127.2 kB / 0.7126 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.7677, allocations: 7.906 kB / 0.7126 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.768, allocations: 122.4 kB / 0.7127 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.768, allocations: 4 kB / 0.7127 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.768, allocations: 0 / 0.7127 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.768, allocations: 0 / 0.7127 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.7682, allocations: 177.6 kB / 0.7129 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7682, allocations: 0 / 0.7129 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.7684, allocations: 27.92 kB / 0.7129 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.7684, allocations: 4 kB / 0.7129 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.7684, allocations: 4 kB / 0.7129 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.7684, allocations: 4 kB / 0.7129 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7684, allocations: 0 / 0.7129 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.7687, allocations: 160 kB / 0.7131 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.7688, allocations: 89.14 kB / 0.7132 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.7688, allocations: 0 / 0.7132 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.769, allocations: 19.98 kB / 0.7132 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.769, allocations: 7.984 kB / 0.7132 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.769, allocations: 4 kB / 0.7132 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.664e-05/0.7691, allocations: 87.22 kB / 0.7133 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7691, allocations: 0 / 0.7133 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002073/0.7712, allocations: 0.5585 MB / 0.7138 GB, free: 8.051 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.003778/0.7749, allocations: 353.1 kB / 0.7142 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.7752, allocations: 67.97 kB / 0.7142 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7752, allocations: 0 / 0.7142 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.7752, allocations: 35.92 kB / 0.7143 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.7755, allocations: 12.73 kB / 0.7143 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006803/0.7761, allocations: 415.4 kB / 0.7147 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.7764, allocations: 0.6887 MB / 0.7153 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.7765, allocations: 24.55 kB / 0.7154 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.7766, allocations: 19.44 kB / 0.7154 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.7766, allocations: 4 kB / 0.7154 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of Templates: time 0.04132/0.8179, allocations: 24.18 MB / 0.739 GB, free: 14.18 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)