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.001062/0.001062, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00112/0.00112, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002062, allocations: 287 kB / 290.4 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9819/0.9819, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 98.92 kB / 0.5947 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1424, allocations: 86.98 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003068/0.1455, allocations: 2.078 MB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008663/0.1464, allocations: 0.544 MB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.1464, allocations: 4 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.1466, allocations: 19.78 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.1466, allocations: 25.41 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1469, allocations: 72.47 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1471, allocations: 224 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.1474, allocations: 122.6 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1475, allocations: 99.56 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1476, allocations: 91.55 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.1477, allocations: 28 kB / 0.6829 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.1478, allocations: 35.98 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.1478, allocations: 51.83 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1479, allocations: 103.5 kB / 0.683 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.1482, allocations: 271.1 kB / 0.6833 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1482, allocations: 0 / 0.6833 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1482, allocations: 0 / 0.6833 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1482, allocations: 0 / 0.6833 GB, free: 13.31 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.0007882/0.149, allocations: 0.5181 MB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1491, allocations: 11.97 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.1492, allocations: 24.66 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1495, allocations: 256.7 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1495, allocations: 12.38 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1496, allocations: 24.38 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.15, allocations: 224.9 kB / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.15, allocations: 0 / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.15, allocations: 4 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.15, allocations: 4 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1503, allocations: 143.9 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.1512, allocations: 0.5933 MB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.1515, allocations: 122.7 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1517, allocations: 52.83 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1517, allocations: 4 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1517, allocations: 34.56 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1517, allocations: 3.938 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004644/0.1522, allocations: 177.7 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.1523, allocations: 136.5 kB / 0.6856 GB, free: 10.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1525, allocations: 211 kB / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.1525, allocations: 29.7 kB / 0.6858 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.1526, allocations: 152.1 kB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1526, allocations: 31.64 kB / 0.686 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/0.1527, allocations: 37.7 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1528, allocations: 326.8 kB / 0.6863 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.153, allocations: 47.97 kB / 0.6864 GB, free: 9.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1531, allocations: 88.2 kB / 0.6864 GB, free: 9.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1533, allocations: 85.69 kB / 0.6865 GB, free: 9.734 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1534, allocations: 0 / 0.6865 GB, free: 9.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003061/0.1537, allocations: 160.3 kB / 0.6867 GB, free: 9.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1537, allocations: 4 kB / 0.6867 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1537, allocations: 4 kB / 0.6867 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1537, allocations: 48 / 0.6867 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1538, allocations: 27.91 kB / 0.6867 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1539, allocations: 3.984 kB / 0.6867 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.154, allocations: 27.83 kB / 0.6867 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.154, allocations: 4 kB / 0.6867 GB, free: 9.504 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.0001272/0.1542, allocations: 147.2 kB / 0.6869 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1542, allocations: 15.81 kB / 0.6869 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.1545, allocations: 143 kB / 0.687 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1546, allocations: 3.938 kB / 0.687 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1546, allocations: 4 kB / 0.687 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1546, allocations: 0 / 0.687 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.1549, allocations: 269.4 kB / 0.6873 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1549, allocations: 11.98 kB / 0.6873 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/0.155, allocations: 8 kB / 0.6873 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.155, allocations: 0 / 0.6873 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.155, allocations: 7.984 kB / 0.6873 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.155, allocations: 3.938 kB / 0.6873 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.155, allocations: 0 / 0.6873 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.1554, allocations: 235.3 kB / 0.6876 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.1554, allocations: 96.92 kB / 0.6877 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.1555, allocations: 4 kB / 0.6877 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1556, allocations: 27.91 kB / 0.6877 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.1557, allocations: 23.97 kB / 0.6877 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1558, allocations: 7.984 kB / 0.6877 GB, free: 8.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1559, allocations: 151.2 kB / 0.6879 GB, free: 8.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1559, allocations: 0 / 0.6879 GB, free: 8.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.1562, allocations: 39.84 kB / 0.6879 GB, free: 8.23 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.0001713/0.1563, allocations: 115.2 kB / 0.688 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.1567, allocations: 111.9 kB / 0.6881 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1567, allocations: 0 / 0.6881 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1568, allocations: 51.92 kB / 0.6882 GB, free: 7.945 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1572, allocations: 32.03 kB / 0.6882 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.1578, allocations: 385.2 kB / 0.6886 GB, free: 7.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1581, allocations: 0.7319 MB / 0.6893 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.487e-05/0.1582, allocations: 13.42 kB / 0.6893 GB, free: 6.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.1583, allocations: 27.42 kB / 0.6893 GB, free: 6.715 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1583, allocations: 0 / 0.6893 GB, free: 6.715 MB / 494.1 MB Notification: Performance of Templates: time 0.004965/0.1633, allocations: 1.988 MB / 0.6913 GB, free: 4.773 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)