Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 152 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.001187/0.001187, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 294.8 kB / 290.7 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 96.62 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.156, allocations: 86.99 MB / 0.6802 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003124/0.1591, allocations: 2.011 MB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008844/0.16, allocations: 0.5724 MB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.1601, allocations: 4 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1602, allocations: 23.67 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.1603, allocations: 35.67 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1606, allocations: 87.84 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1608, allocations: 220 kB / 0.6831 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.1611, allocations: 124.5 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1612, allocations: 87.64 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1613, allocations: 103.5 kB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.1614, allocations: 24 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.1614, allocations: 32 kB / 0.6834 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.1615, allocations: 59.77 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.091e-05/0.1616, allocations: 103.5 kB / 0.6836 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1619, allocations: 271.1 kB / 0.6838 GB, free: 12.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1619, allocations: 0 / 0.6838 GB, free: 12.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1619, allocations: 0 / 0.6838 GB, free: 12.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1619, allocations: 0 / 0.6838 GB, free: 12.91 MB / 494.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.0007574/0.1627, allocations: 0.5219 MB / 0.6844 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1627, allocations: 8.031 kB / 0.6844 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.1628, allocations: 24.66 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1631, allocations: 252.7 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1631, allocations: 12.38 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.1632, allocations: 24.38 kB / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.1636, allocations: 225.1 kB / 0.6849 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1636, allocations: 0 / 0.6849 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1636, allocations: 8 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1636, allocations: 4 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.1639, allocations: 147.9 kB / 0.685 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.1648, allocations: 0.5933 MB / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.1652, allocations: 118.7 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1653, allocations: 48.84 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1653, allocations: 0 / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.1654, allocations: 42.55 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.1654, allocations: 0 / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004346/0.1658, allocations: 169.5 kB / 0.686 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.1659, allocations: 136.4 kB / 0.6861 GB, free: 10.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1661, allocations: 211.7 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.1661, allocations: 37.69 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1663, allocations: 152.1 kB / 0.6865 GB, free: 9.969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1663, allocations: 23.66 kB / 0.6865 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.1664, allocations: 34.08 kB / 0.6865 GB, free: 9.906 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1665, allocations: 330.8 kB / 0.6868 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1666, allocations: 43.98 kB / 0.6869 GB, free: 9.531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1668, allocations: 97.31 kB / 0.687 GB, free: 9.422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.167, allocations: 88.12 kB / 0.6871 GB, free: 9.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.167, allocations: 0 / 0.6871 GB, free: 9.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000292/0.1673, allocations: 161.4 kB / 0.6872 GB, free: 9.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1673, allocations: 4 kB / 0.6872 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1673, allocations: 0 / 0.6872 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1673, allocations: 0 / 0.6872 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1674, allocations: 27.92 kB / 0.6873 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1675, allocations: 0 / 0.6873 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.1676, allocations: 31.75 kB / 0.6873 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1676, allocations: 4 kB / 0.6873 GB, free: 9.102 MB / 494.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 (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.0001204/0.1678, allocations: 137.9 kB / 0.6874 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.1678, allocations: 15.81 kB / 0.6874 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.1681, allocations: 143 kB / 0.6876 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1682, allocations: 7.938 kB / 0.6876 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1682, allocations: 0 / 0.6876 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1682, allocations: 0 / 0.6876 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.1684, allocations: 273.4 kB / 0.6878 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1685, allocations: 8 kB / 0.6878 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.1686, allocations: 15.98 kB / 0.6879 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1686, allocations: 0 / 0.6879 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1686, allocations: 0 / 0.6879 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1686, allocations: 3.938 kB / 0.6879 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1686, allocations: 3.984 kB / 0.6879 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.1689, allocations: 227.3 kB / 0.6881 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.169, allocations: 100.8 kB / 0.6882 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.169, allocations: 8 kB / 0.6882 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.1692, allocations: 15.92 kB / 0.6882 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.1693, allocations: 27.95 kB / 0.6882 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1693, allocations: 12.12 kB / 0.6882 GB, free: 8.023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1694, allocations: 144.6 kB / 0.6884 GB, free: 7.883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1694, allocations: 3.938 kB / 0.6884 GB, free: 7.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1697, allocations: 39.84 kB / 0.6884 GB, free: 7.84 MB / 494.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 (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.0001553/0.1699, allocations: 123.2 kB / 0.6885 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.1702, allocations: 107.9 kB / 0.6886 GB, free: 7.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1702, allocations: 0 / 0.6886 GB, free: 7.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1703, allocations: 59.91 kB / 0.6887 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1707, allocations: 21.69 kB / 0.6887 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.1713, allocations: 327.2 kB / 0.689 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1716, allocations: 0.7319 MB / 0.6897 GB, free: 6.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.932e-05/0.1716, allocations: 17.45 kB / 0.6898 GB, free: 6.406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.1717, allocations: 27.42 kB / 0.6898 GB, free: 6.379 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1717, allocations: 0 / 0.6898 GB, free: 6.379 MB / 494.1 MB Notification: Performance of Templates: time 0.005029/0.1767, allocations: 2.165 MB / 0.6919 GB, free: 4.262 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)