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.00105/0.001051, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.00126/0.00126, allocations: 183.8 kB / 17.58 MB, free: 6.188 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.351/1.351, allocations: 223.3 MB / 241.6 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.701/0.701, allocations: 115.5 MB / 408.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 8 kB / 496.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4536, allocations: 77.52 MB / 0.5606 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002014/0.4556, allocations: 0.9851 MB / 0.5615 GB, free: 34.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2477/0.7034, allocations: 134.2 MB / 0.6926 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.7035, allocations: 4 kB / 0.6926 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.7036, allocations: 0 / 0.6926 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.7036, allocations: 3.938 kB / 0.6926 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.7054, allocations: 370.8 kB / 0.693 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.7055, allocations: 35.91 kB / 0.693 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.7055, allocations: 7.984 kB / 0.693 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.7056, allocations: 23.88 kB / 0.693 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.393e-05/0.7057, allocations: 27.89 kB / 0.693 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.7058, allocations: 0 / 0.693 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.7079, allocations: 0.8192 MB / 0.6938 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.7079, allocations: 7.984 kB / 0.6939 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.681e-05/0.708, allocations: 45.62 kB / 0.6939 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.7085, allocations: 293.4 kB / 0.6942 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.7086, allocations: 4 kB / 0.6942 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.474e-06/0.7086, allocations: 0 / 0.6942 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7086, allocations: 0 / 0.6942 GB, free: 10.16 MB / 0.5294 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.0006282/0.7092, allocations: 351.5 kB / 0.6945 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.7093, allocations: 11.97 kB / 0.6945 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.7096, allocations: 20.83 kB / 0.6945 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.7098, allocations: 160.4 kB / 0.6947 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.7098, allocations: 4.375 kB / 0.6947 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.7098, allocations: 8.125 kB / 0.6947 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.71, allocations: 53.67 kB / 0.6948 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.7101, allocations: 3.938 kB / 0.6948 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.7101, allocations: 0 / 0.6948 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.7101, allocations: 0 / 0.6948 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.7102, allocations: 27.92 kB / 0.6948 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.7105, allocations: 173.6 kB / 0.695 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.7106, allocations: 46.56 kB / 0.695 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.7107, allocations: 20.8 kB / 0.695 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.7218, allocations: 3.205 MB / 0.6982 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.7219, allocations: 34.56 kB / 0.6982 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.7219, allocations: 0 / 0.6982 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.03935/0.7613, allocations: 14.26 MB / 0.7121 GB, free: 7.398 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.7613, allocations: 55.41 kB / 0.7122 GB, free: 7.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.7614, allocations: 93.84 kB / 0.7123 GB, free: 7.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.7614, allocations: 29.7 kB / 0.7123 GB, free: 7.195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.7615, allocations: 84.14 kB / 0.7124 GB, free: 7.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.7615, allocations: 35.41 kB / 0.7124 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.7616, allocations: 21.7 kB / 0.7124 GB, free: 7.047 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7617, allocations: 318.9 kB / 0.7127 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.7617, allocations: 27.98 kB / 0.7127 GB, free: 6.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.187e-05/0.7618, allocations: 23.98 kB / 0.7128 GB, free: 6.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.7619, allocations: 59.98 kB / 0.7128 GB, free: 6.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.7619, allocations: 0 / 0.7128 GB, free: 6.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002214/0.7622, allocations: 113.5 kB / 0.7129 GB, free: 6.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7622, allocations: 4 kB / 0.7129 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7622, allocations: 0 / 0.7129 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.7622, allocations: 3.938 kB / 0.7129 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.7623, allocations: 27.98 kB / 0.713 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7624, allocations: 4 kB / 0.713 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.7624, allocations: 4 kB / 0.713 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.7624, allocations: 0 / 0.713 GB, free: 6.457 MB / 0.545 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 8.358e-05/0.7625, allocations: 126.6 kB / 0.7131 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.7625, allocations: 7.906 kB / 0.7131 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.7628, allocations: 125.5 kB / 0.7132 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.7628, allocations: 3.984 kB / 0.7132 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7628, allocations: 0 / 0.7132 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7628, allocations: 0 / 0.7132 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.763, allocations: 177.6 kB / 0.7134 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.763, allocations: 0 / 0.7134 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.7631, allocations: 31.92 kB / 0.7134 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7631, allocations: 0 / 0.7134 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.7631, allocations: 4 kB / 0.7134 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7631, allocations: 0 / 0.7134 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7632, allocations: 4 kB / 0.7134 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.7634, allocations: 160.6 kB / 0.7136 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.7635, allocations: 85.14 kB / 0.7137 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.7635, allocations: 8 kB / 0.7137 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.7637, allocations: 15.98 kB / 0.7137 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.7637, allocations: 8 kB / 0.7137 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.7637, allocations: 11.98 kB / 0.7137 GB, free: 5.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.7638, allocations: 79.22 kB / 0.7138 GB, free: 5.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7638, allocations: 0 / 0.7138 GB, free: 5.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001574/0.7654, allocations: 0.5585 MB / 0.7143 GB, free: 4.969 MB / 0.545 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.002794/0.7682, allocations: 355.1 kB / 0.7147 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.7683, allocations: 63.92 kB / 0.7147 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7683, allocations: 0 / 0.7147 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.099e-05/0.7684, allocations: 39.92 kB / 0.7148 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.7686, allocations: 15.94 kB / 0.7148 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.7692, allocations: 432 kB / 0.7152 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.7694, allocations: 0.6888 MB / 0.7159 GB, free: 3.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.7695, allocations: 23.42 kB / 0.7159 GB, free: 3.305 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.7695, allocations: 0 / 0.7159 GB, free: 3.305 MB / 0.545 GB Notification: Performance of Templates: time 0.02268/0.7922, allocations: 14.32 MB / 0.7299 GB, free: 5.016 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)