Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.724/2.724, allocations: 287.9 MB / 302.9 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 186.7 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 88.42 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004612, allocations: 15.78 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1566, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002001/0.1587, allocations: 1.674 MB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.1596, allocations: 0.574 MB / 0.981 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.1597, allocations: 4 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.92e-05/0.1598, allocations: 11.86 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.1599, allocations: 31.88 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1602, allocations: 51.94 kB / 0.9811 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1603, allocations: 136.3 kB / 0.9812 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1605, allocations: 83 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1607, allocations: 59.7 kB / 0.9813 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1608, allocations: 75.59 kB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.1608, allocations: 11.94 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.1609, allocations: 12 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.1609, allocations: 35.83 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.161, allocations: 57.58 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1612, allocations: 187.8 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.189e-06/0.1612, allocations: 0 / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.185e-06/0.1612, allocations: 3.938 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.413e-06/0.1612, allocations: 4 kB / 0.9817 GB, free: 25.16 MB / 0.6198 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.0006444/0.1619, allocations: 0.4907 MB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1619, allocations: 16.02 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.162, allocations: 27.67 kB / 0.9822 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1623, allocations: 247.5 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1624, allocations: 16 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1624, allocations: 16 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.1629, allocations: 225.5 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1629, allocations: 0 / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.1629, allocations: 12 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.291e-06/0.163, allocations: 4 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.1633, allocations: 143.9 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009745/0.1643, allocations: 0.6088 MB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.1648, allocations: 126.7 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.1648, allocations: 11.94 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.1649, allocations: 34.56 kB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.26e-06/0.1649, allocations: 0 / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005487/0.1654, allocations: 185.6 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1655, allocations: 128.5 kB / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.1657, allocations: 210.9 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1657, allocations: 33.7 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.1658, allocations: 140.2 kB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.1659, allocations: 35.55 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.1659, allocations: 4.375 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.166, allocations: 326.8 kB / 0.9846 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1661, allocations: 55.97 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1663, allocations: 88.27 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1665, allocations: 47.86 kB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-06/0.1665, allocations: 0 / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003901/0.1669, allocations: 159.1 kB / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1669, allocations: 15.89 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1669, allocations: 0 / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.167, allocations: 0 / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1671, allocations: 27.92 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.754e-06/0.1671, allocations: 0 / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.1673, allocations: 35.91 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.1673, allocations: 4 kB / 0.985 GB, free: 21.48 MB / 0.6198 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 ($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.0001237/0.1675, allocations: 131.4 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.1675, allocations: 23.84 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.168, allocations: 162.8 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.727e-06/0.168, allocations: 4 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.593e-06/0.168, allocations: 0 / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-06/0.168, allocations: 0 / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.1683, allocations: 273.5 kB / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-06/0.1683, allocations: 0 / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1684, allocations: 19.92 kB / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.735e-06/0.1685, allocations: 0 / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.1685, allocations: 7.984 kB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.166e-06/0.1685, allocations: 7.953 kB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.037e-06/0.1685, allocations: 0 / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.1689, allocations: 231.3 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.1689, allocations: 100.8 kB / 0.986 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.169, allocations: 4 kB / 0.986 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1692, allocations: 23.98 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.1693, allocations: 39.89 kB / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1693, allocations: 192 / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001287/0.1695, allocations: 156.4 kB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.79e-07/0.1695, allocations: 7.938 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003561/0.1698, allocations: 35.84 kB / 0.9862 GB, free: 20.18 MB / 0.6198 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 (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.0001454/0.17, allocations: 115.2 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.1704, allocations: 116 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.129e-06/0.1704, allocations: 4 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.1706, allocations: 59.86 kB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1709, allocations: 21.81 kB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.1715, allocations: 372.5 kB / 0.9869 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.1717, allocations: 0.7399 MB / 0.9876 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.1719, allocations: 17.42 kB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.1719, allocations: 23.42 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.72e-06/0.172, allocations: 0 / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.005708/0.1777, allocations: 1.815 MB / 0.9894 GB, free: 16.89 MB / 0.6198 GB