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.005175/0.005175, allocations: 99.95 kB / 15.73 MB, free: 6.477 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.001166/0.001166, allocations: 191 kB / 16.67 MB, free: 6.379 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 283 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 91.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1664, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003491/0.17, allocations: 2.036 MB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1712, allocations: 0.5572 MB / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.1714, allocations: 7.938 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1716, allocations: 23.73 kB / 0.7689 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.1717, allocations: 35.59 kB / 0.769 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.1722, allocations: 75.92 kB / 0.7691 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1725, allocations: 227.9 kB / 0.7693 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.1727, allocations: 123.5 kB / 0.7694 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1729, allocations: 91.62 kB / 0.7695 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.173, allocations: 95.55 kB / 0.7696 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.1731, allocations: 24 kB / 0.7696 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.1732, allocations: 39.92 kB / 0.7696 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.1733, allocations: 55.83 kB / 0.7697 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.556e-05/0.1734, allocations: 107.3 kB / 0.7698 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1737, allocations: 279 kB / 0.7701 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1737, allocations: 8 kB / 0.7701 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1737, allocations: 0 / 0.7701 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.1737, allocations: 0 / 0.7701 GB, free: 4.637 MB / 0.5606 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.0008892/0.1746, allocations: 0.5063 MB / 0.7706 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1747, allocations: 12.03 kB / 0.7706 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.1747, allocations: 24.66 kB / 0.7706 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.175, allocations: 256.7 kB / 0.7708 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1751, allocations: 12.38 kB / 0.7708 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.1751, allocations: 20.38 kB / 0.7709 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.1755, allocations: 229 kB / 0.7711 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1755, allocations: 0 / 0.7711 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1755, allocations: 4 kB / 0.7711 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1755, allocations: 8 kB / 0.7711 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.1758, allocations: 139.9 kB / 0.7712 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008029/0.1766, allocations: 0.5817 MB / 0.7718 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.177, allocations: 126.7 kB / 0.7719 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1771, allocations: 48.83 kB / 0.772 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.1771, allocations: 0 / 0.772 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1772, allocations: 34.56 kB / 0.772 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.1772, allocations: 8 kB / 0.772 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004133/0.1776, allocations: 169.6 kB / 0.7722 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.1777, allocations: 132.5 kB / 0.7723 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1778, allocations: 223.6 kB / 0.7725 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1779, allocations: 29.7 kB / 0.7725 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.178, allocations: 148.2 kB / 0.7727 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.178, allocations: 31.55 kB / 0.7727 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.1781, allocations: 41.7 kB / 0.7727 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.1782, allocations: 327.2 kB / 0.7731 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1783, allocations: 47.97 kB / 0.7731 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1784, allocations: 84.25 kB / 0.7732 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1786, allocations: 89.69 kB / 0.7733 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1786, allocations: 7.875 kB / 0.7733 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002875/0.1789, allocations: 152.6 kB / 0.7734 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.179, allocations: 8 kB / 0.7734 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.179, allocations: 0 / 0.7734 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.179, allocations: 0 / 0.7734 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1791, allocations: 27.86 kB / 0.7735 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1791, allocations: 8.031 kB / 0.7735 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1793, allocations: 27.81 kB / 0.7735 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1793, allocations: 4 kB / 0.7735 GB, free: 0.8438 MB / 0.5606 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.0001128/0.1794, allocations: 136.2 kB / 0.7736 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.1795, allocations: 19.8 kB / 0.7736 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.1798, allocations: 151 kB / 0.7738 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1798, allocations: 7.938 kB / 0.7738 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1798, allocations: 0 / 0.7738 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1798, allocations: 0 / 0.7738 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.1801, allocations: 269.5 kB / 0.7741 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1801, allocations: 0 / 0.7741 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1802, allocations: 15.92 kB / 0.7741 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1802, allocations: 4 kB / 0.7741 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1802, allocations: 3.984 kB / 0.7741 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1802, allocations: 3.938 kB / 0.7741 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1802, allocations: 4 kB / 0.7741 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3198/0.5, allocations: 227.8 kB / 0.7743 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.5001, allocations: 94.94 kB / 0.7744 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.5002, allocations: 6.703 kB / 0.7744 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.5004, allocations: 25.02 kB / 0.7744 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5005, allocations: 26.36 kB / 0.7744 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.5005, allocations: 3.953 kB / 0.7744 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000148/0.5007, allocations: 154.1 kB / 0.7746 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5007, allocations: 0 / 0.7746 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003759/0.5011, allocations: 37.22 kB / 0.7746 GB, free: 14.77 MB / 0.5606 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.0001595/0.5012, allocations: 109.8 kB / 0.7747 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.5016, allocations: 115.1 kB / 0.7748 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5016, allocations: 3.312 kB / 0.7748 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.5017, allocations: 54.72 kB / 0.7749 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.5021, allocations: 21.34 kB / 0.7749 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.5027, allocations: 316.2 kB / 0.7752 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.5028, allocations: 0.7343 MB / 0.7759 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.012e-05/0.5029, allocations: 15.7 kB / 0.776 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.503, allocations: 23.95 kB / 0.776 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.503, allocations: 1.438 kB / 0.776 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.005454/0.5085, allocations: 2.19 MB / 0.7781 GB, free: 13.76 MB / 0.5606 GB 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)