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.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001657/0.001656, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 290.8 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9104/0.9104, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 88.77 kB / 0.5945 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1459, allocations: 86.99 MB / 0.6795 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003059/0.149, allocations: 2.074 MB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.1498, allocations: 0.5528 MB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.1499, allocations: 3.938 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.15, allocations: 11.86 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.1501, allocations: 29.03 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1503, allocations: 76.77 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1505, allocations: 208 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.1507, allocations: 107.2 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1509, allocations: 79.62 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.151, allocations: 99.47 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.151, allocations: 12 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.726e-05/0.1511, allocations: 16 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.1512, allocations: 47.77 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1513, allocations: 91.45 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.1515, allocations: 259 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1515, allocations: 4 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1515, allocations: 0 / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1516, allocations: 0 / 0.683 GB, free: 13.52 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.0006679/0.1522, allocations: 0.5142 MB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1523, allocations: 12.03 kB / 0.6835 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.1523, allocations: 28.64 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1526, allocations: 252.7 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1527, allocations: 16.38 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.1527, allocations: 16.38 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.1531, allocations: 228.8 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1531, allocations: 4 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.1531, allocations: 7.984 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1531, allocations: 4 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.1534, allocations: 135.9 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.1543, allocations: 0.5972 MB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.1546, allocations: 118.7 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.1547, allocations: 44.84 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.1548, allocations: 12 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1548, allocations: 34.69 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1548, allocations: 0 / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004441/0.1553, allocations: 173.3 kB / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1553, allocations: 136.5 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1555, allocations: 207 kB / 0.6855 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1556, allocations: 33.64 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.1557, allocations: 156.1 kB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.1557, allocations: 27.64 kB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.1558, allocations: 33.7 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1559, allocations: 330.8 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.156, allocations: 44.36 kB / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1562, allocations: 88.27 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.1564, allocations: 93.62 kB / 0.6862 GB, free: 9.941 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1564, allocations: 0 / 0.6862 GB, free: 9.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003015/0.1567, allocations: 160.6 kB / 0.6864 GB, free: 9.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1567, allocations: 4 kB / 0.6864 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1567, allocations: 4.031 kB / 0.6864 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1567, allocations: 4 kB / 0.6864 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1568, allocations: 23.86 kB / 0.6864 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1569, allocations: 0 / 0.6864 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.157, allocations: 27.83 kB / 0.6865 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.157, allocations: 11.98 kB / 0.6865 GB, free: 9.707 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.0001189/0.1571, allocations: 133.8 kB / 0.6866 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.1572, allocations: 15.81 kB / 0.6866 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.1575, allocations: 143 kB / 0.6867 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1575, allocations: 7.969 kB / 0.6868 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1575, allocations: 3.984 kB / 0.6868 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1576, allocations: 0 / 0.6868 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.1578, allocations: 273.4 kB / 0.687 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1578, allocations: 4 kB / 0.687 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1579, allocations: 19.92 kB / 0.687 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1579, allocations: 4 kB / 0.687 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.158, allocations: 4 kB / 0.687 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.158, allocations: 3.938 kB / 0.6871 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.158, allocations: 0 / 0.6871 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.1583, allocations: 227.2 kB / 0.6873 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.1583, allocations: 88.92 kB / 0.6874 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1584, allocations: 8 kB / 0.6874 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1586, allocations: 35.84 kB / 0.6874 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.1586, allocations: 19.95 kB / 0.6874 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1586, allocations: 4 kB / 0.6874 GB, free: 8.633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1588, allocations: 151.2 kB / 0.6876 GB, free: 8.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1588, allocations: 192 / 0.6876 GB, free: 8.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1591, allocations: 39.84 kB / 0.6876 GB, free: 8.445 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.0001379/0.1592, allocations: 119.1 kB / 0.6877 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.1595, allocations: 107.9 kB / 0.6878 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1595, allocations: 0 / 0.6878 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.1597, allocations: 55.91 kB / 0.6879 GB, free: 8.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.16, allocations: 16.94 kB / 0.6879 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.1606, allocations: 405.3 kB / 0.6883 GB, free: 7.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1609, allocations: 0.7244 MB / 0.689 GB, free: 6.973 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.566e-05/0.161, allocations: 21.42 kB / 0.689 GB, free: 6.953 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.161, allocations: 19.42 kB / 0.689 GB, free: 6.934 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.161, allocations: 0 / 0.689 GB, free: 6.934 MB / 494.1 MB Notification: Performance of Templates: time 0.004413/0.1654, allocations: 1.899 MB / 0.6909 GB, free: 5.078 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)