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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 104.1 kB / 16.4 MB, free: 6.457 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.001519/0.001519, allocations: 196 kB / 17.34 MB, free: 5.715 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7883/0.7883, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 71.42 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.154, allocations: 78.86 MB / 0.6506 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003435/0.1575, allocations: 2.035 MB / 0.6525 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.1585, allocations: 0.5689 MB / 0.6531 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.1586, allocations: 3.938 kB / 0.6531 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.1587, allocations: 19.73 kB / 0.6531 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.68e-05/0.1588, allocations: 39.59 kB / 0.6532 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1591, allocations: 75.92 kB / 0.6532 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.1594, allocations: 231.9 kB / 0.6535 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1596, allocations: 111.6 kB / 0.6536 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1597, allocations: 91.62 kB / 0.6537 GB, free: 420 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1599, allocations: 95.48 kB / 0.6537 GB, free: 324 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1599, allocations: 28 kB / 0.6538 GB, free: 296 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.16, allocations: 39.98 kB / 0.6538 GB, free: 256 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.1601, allocations: 51.83 kB / 0.6539 GB, free: 204 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1602, allocations: 107.4 kB / 0.654 GB, free: 96 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.1606, allocations: 279.1 kB / 0.6542 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1606, allocations: 0 / 0.6542 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1606, allocations: 0 / 0.6542 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1606, allocations: 4 kB / 0.6542 GB, free: 15.82 MB / 0.4981 GB 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.0008213/0.1614, allocations: 0.5256 MB / 0.6547 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1615, allocations: 8.031 kB / 0.6548 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.1615, allocations: 54.73 kB / 0.6548 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.1616, allocations: 28.73 kB / 0.6548 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1619, allocations: 252.8 kB / 0.6551 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.162, allocations: 19.91 kB / 0.6551 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.162, allocations: 20 kB / 0.6551 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.1624, allocations: 228.7 kB / 0.6553 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1625, allocations: 0 / 0.6553 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1625, allocations: 4 kB / 0.6553 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1625, allocations: 4 kB / 0.6553 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.1628, allocations: 151.6 kB / 0.6555 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009391/0.1638, allocations: 0.5859 MB / 0.6561 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.1641, allocations: 122.7 kB / 0.6562 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1643, allocations: 48.83 kB / 0.6562 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.1643, allocations: 0 / 0.6562 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1643, allocations: 42.5 kB / 0.6563 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.935e-06/0.1644, allocations: 4.188 kB / 0.6563 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004613/0.1648, allocations: 169.4 kB / 0.6564 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.1649, allocations: 136.4 kB / 0.6566 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1651, allocations: 207 kB / 0.6567 GB, free: 13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.1652, allocations: 33.7 kB / 0.6568 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1653, allocations: 148.3 kB / 0.6569 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.1653, allocations: 35.73 kB / 0.657 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.1654, allocations: 37.7 kB / 0.657 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1656, allocations: 326.8 kB / 0.6573 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1657, allocations: 47.97 kB / 0.6573 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1659, allocations: 84.27 kB / 0.6574 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.1661, allocations: 91.75 kB / 0.6575 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1661, allocations: 0 / 0.6575 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003143/0.1664, allocations: 153.6 kB / 0.6577 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1664, allocations: 7.938 kB / 0.6577 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1665, allocations: 384 / 0.6577 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1665, allocations: 0 / 0.6577 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1666, allocations: 27.92 kB / 0.6577 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1666, allocations: 4.031 kB / 0.6577 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1667, allocations: 35.8 kB / 0.6577 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.1668, allocations: 4 kB / 0.6577 GB, free: 11.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.1669, allocations: 129.8 kB / 0.6579 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.167, allocations: 27.8 kB / 0.6579 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.1673, allocations: 151 kB / 0.658 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1673, allocations: 0 / 0.658 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1673, allocations: 0 / 0.658 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1673, allocations: 0 / 0.658 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.1676, allocations: 273.5 kB / 0.6583 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1677, allocations: 0 / 0.6583 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.59e-05/0.1678, allocations: 23.86 kB / 0.6583 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1678, allocations: 3.938 kB / 0.6583 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1678, allocations: 3.984 kB / 0.6583 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1678, allocations: 0 / 0.6583 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1678, allocations: 0 / 0.6583 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.1682, allocations: 231.4 kB / 0.6585 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.1683, allocations: 100.9 kB / 0.6586 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.1683, allocations: 8 kB / 0.6587 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1685, allocations: 19.97 kB / 0.6587 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.1686, allocations: 19.97 kB / 0.6587 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1686, allocations: 12.05 kB / 0.6587 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000126/0.1687, allocations: 148.7 kB / 0.6588 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1687, allocations: 0 / 0.6588 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000266/0.169, allocations: 43.88 kB / 0.6589 GB, free: 10.67 MB / 0.4981 GB 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 (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.0007133/0.1697, allocations: 0.7826 MB / 0.6596 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.17, allocations: 111.9 kB / 0.6598 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.17, allocations: 0 / 0.6598 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1702, allocations: 55.91 kB / 0.6598 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1705, allocations: 16 kB / 0.6598 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.173, allocations: 1.985 MB / 0.6618 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1734, allocations: 0.7319 MB / 0.6625 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.082e-05/0.1735, allocations: 13.42 kB / 0.6625 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1736, allocations: 67.41 kB / 0.6626 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of SimCode: time 2.435e-06/0.1736, allocations: 0 / 0.6626 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.2013, allocations: 4 MB / 0.6665 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.01, allocations: 8.547 kB / 0.6665 GB, free: 2.93 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)