Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009852, allocations: 88.17 kB / 15.7 MB, free: 460 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.000873/0.000873, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.363/1.363, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7105/0.7105, allocations: 115.5 MB / 407.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 8 kB / 495.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 77.52 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002149/0.1437, allocations: 1.674 MB / 0.561 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.1446, allocations: 0.5263 MB / 0.5615 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.1447, allocations: 4 kB / 0.5615 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.421e-05/0.1448, allocations: 11.86 kB / 0.5615 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.1449, allocations: 31.72 kB / 0.5615 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1452, allocations: 51.94 kB / 0.5616 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.1454, allocations: 200 kB / 0.5618 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.1456, allocations: 86.12 kB / 0.5618 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1458, allocations: 63.64 kB / 0.5619 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1459, allocations: 67.62 kB / 0.562 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1459, allocations: 4 kB / 0.562 GB, free: 6.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.85e-05/0.146, allocations: 15.92 kB / 0.562 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.146, allocations: 31.84 kB / 0.562 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.1461, allocations: 57.62 kB / 0.5621 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1463, allocations: 199.8 kB / 0.5623 GB, free: 6.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1463, allocations: 4 kB / 0.5623 GB, free: 6.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1464, allocations: 0 / 0.5623 GB, free: 6.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1464, allocations: 0 / 0.5623 GB, free: 6.375 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007521/0.1471, allocations: 0.4962 MB / 0.5628 GB, free: 5.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1472, allocations: 8.031 kB / 0.5628 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1472, allocations: 23.72 kB / 0.5628 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1476, allocations: 259.3 kB / 0.563 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1476, allocations: 12 kB / 0.563 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.1476, allocations: 19.95 kB / 0.5631 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.148, allocations: 224.8 kB / 0.5633 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1481, allocations: 0 / 0.5633 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1481, allocations: 4 kB / 0.5633 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1481, allocations: 4 kB / 0.5633 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.1484, allocations: 159.6 kB / 0.5634 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.1493, allocations: 0.6013 MB / 0.564 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.1497, allocations: 134.7 kB / 0.5641 GB, free: 4.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1498, allocations: 48.83 kB / 0.5642 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.1499, allocations: 7.984 kB / 0.5642 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1499, allocations: 38.56 kB / 0.5642 GB, free: 4.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1499, allocations: 0 / 0.5642 GB, free: 4.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004424/0.1503, allocations: 181.6 kB / 0.5644 GB, free: 3.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.1504, allocations: 132.5 kB / 0.5645 GB, free: 3.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1506, allocations: 214.9 kB / 0.5647 GB, free: 3.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1506, allocations: 29.7 kB / 0.5648 GB, free: 3.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.1507, allocations: 144.2 kB / 0.5649 GB, free: 3.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.1508, allocations: 31.55 kB / 0.5649 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.1508, allocations: 4 kB / 0.5649 GB, free: 3.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1509, allocations: 326.8 kB / 0.5653 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.151, allocations: 51.97 kB / 0.5653 GB, free: 3.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.1512, allocations: 92.2 kB / 0.5654 GB, free: 2.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1513, allocations: 47.98 kB / 0.5654 GB, free: 2.863 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1513, allocations: 0 / 0.5654 GB, free: 2.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002999/0.1516, allocations: 160.5 kB / 0.5656 GB, free: 2.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1517, allocations: 8 kB / 0.5656 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1517, allocations: 0 / 0.5656 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1517, allocations: 48 / 0.5656 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1518, allocations: 32 kB / 0.5656 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1518, allocations: 0 / 0.5656 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.152, allocations: 35.81 kB / 0.5657 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.152, allocations: 7.953 kB / 0.5657 GB, free: 2.621 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.1521, allocations: 141.8 kB / 0.5658 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.1522, allocations: 23.8 kB / 0.5658 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.1525, allocations: 143.3 kB / 0.566 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1525, allocations: 4 kB / 0.566 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1525, allocations: 0 / 0.566 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1526, allocations: 96 / 0.566 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.1528, allocations: 289.3 kB / 0.5662 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1528, allocations: 0 / 0.5662 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1529, allocations: 15.98 kB / 0.5663 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.153, allocations: 0 / 0.5663 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.153, allocations: 3.984 kB / 0.5663 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.153, allocations: 4 kB / 0.5663 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.153, allocations: 0 / 0.5663 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.1533, allocations: 243.2 kB / 0.5665 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.1534, allocations: 96.83 kB / 0.5666 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.1534, allocations: 8 kB / 0.5666 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1536, allocations: 27.97 kB / 0.5666 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.1536, allocations: 27.95 kB / 0.5667 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1537, allocations: 0 / 0.5667 GB, free: 1.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1538, allocations: 156.7 kB / 0.5668 GB, free: 1.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1538, allocations: 0 / 0.5668 GB, free: 1.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1541, allocations: 31.94 kB / 0.5668 GB, free: 1.332 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.1542, allocations: 119.2 kB / 0.5669 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.1546, allocations: 119.9 kB / 0.5671 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1546, allocations: 0 / 0.5671 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1547, allocations: 51.97 kB / 0.5671 GB, free: 1.035 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.1551, allocations: 31.11 kB / 0.5671 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.1557, allocations: 392.2 kB / 0.5675 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.156, allocations: 0.7322 MB / 0.5682 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.566e-05/0.1561, allocations: 13.42 kB / 0.5682 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.1562, allocations: 23.42 kB / 0.5683 GB, free: 15.81 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1562, allocations: 0 / 0.5683 GB, free: 15.81 MB / 446.1 MB Notification: Performance of Templates: time 0.004933/0.1611, allocations: 1.805 MB / 0.57 GB, free: 14.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)