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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9127/0.9127, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 182.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008883/0.0008884, allocations: 91.72 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 280.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.496e-05, allocations: 4 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4308, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.5573, allocations: 111.6 MB / 0.8732 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5576, allocations: 96.73 kB / 0.8733 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01009/0.5677, allocations: 3.338 MB / 0.8766 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5678, allocations: 0 / 0.8766 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.5678, allocations: 8 kB / 0.8766 GB, free: 9.551 MB / 0.5417 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.000795/0.5686, allocations: 477.9 kB / 0.8771 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.933e-05/0.5687, allocations: 12.03 kB / 0.8771 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.568e-05/0.5688, allocations: 23.72 kB / 0.8771 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.5693, allocations: 231.6 kB / 0.8773 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.5693, allocations: 15.78 kB / 0.8773 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.5694, allocations: 23.98 kB / 0.8773 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.5698, allocations: 201 kB / 0.8775 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5699, allocations: 0 / 0.8775 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.5699, allocations: 8 kB / 0.8775 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5699, allocations: 4 kB / 0.8775 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.5702, allocations: 123.8 kB / 0.8777 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.5714, allocations: 0.6207 MB / 0.8783 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.5718, allocations: 110.8 kB / 0.8784 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.5719, allocations: 49.52 kB / 0.8784 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.5719, allocations: 7.984 kB / 0.8784 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.572, allocations: 34.56 kB / 0.8785 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.572, allocations: 0 / 0.8785 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0003254/0.5723, allocations: 117.6 kB / 0.8786 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.5725, allocations: 132.5 kB / 0.8787 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.5727, allocations: 190.1 kB / 0.8789 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.5727, allocations: 29.7 kB / 0.8789 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.5729, allocations: 144.2 kB / 0.8791 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.5729, allocations: 35.55 kB / 0.8791 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.5729, allocations: 0 / 0.8791 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5731, allocations: 326.8 kB / 0.8794 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.5732, allocations: 36 kB / 0.8794 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.5733, allocations: 73.8 kB / 0.8795 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.5734, allocations: 31.98 kB / 0.8795 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.5734, allocations: 0 / 0.8795 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002253/0.5736, allocations: 133.4 kB / 0.8797 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.5737, allocations: 8 kB / 0.8797 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5737, allocations: 0 / 0.8797 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.5737, allocations: 0 / 0.8797 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.5738, allocations: 23.94 kB / 0.8797 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5739, allocations: 0 / 0.8797 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.574, allocations: 43.81 kB / 0.8797 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.5741, allocations: 4 kB / 0.8797 GB, free: 6.074 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001004/0.5742, allocations: 118.5 kB / 0.8798 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.5742, allocations: 19.81 kB / 0.8799 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.5745, allocations: 135.1 kB / 0.88 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5745, allocations: 0 / 0.88 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.5746, allocations: 3.953 kB / 0.88 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5746, allocations: 4.188 kB / 0.88 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.5749, allocations: 273.5 kB / 0.8803 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.575, allocations: 7.922 kB / 0.8803 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.762e-05/0.5751, allocations: 12 kB / 0.8803 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5751, allocations: 0 / 0.8803 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.5751, allocations: 7.984 kB / 0.8803 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5751, allocations: 3.938 kB / 0.8803 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5751, allocations: 0 / 0.8803 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.5754, allocations: 219.2 kB / 0.8805 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.5755, allocations: 88.92 kB / 0.8806 GB, free: 5.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.5755, allocations: 11.98 kB / 0.8806 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.5757, allocations: 27.98 kB / 0.8806 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.5758, allocations: 27.94 kB / 0.8807 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.5758, allocations: 8 kB / 0.8807 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001569/0.576, allocations: 152.7 kB / 0.8808 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.576, allocations: 0 / 0.8808 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002664/0.5763, allocations: 35.86 kB / 0.8808 GB, free: 4.852 MB / 0.5417 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) * 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.0002446/0.5765, allocations: 115 kB / 0.881 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.5768, allocations: 94.67 kB / 0.881 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5768, allocations: 0 / 0.881 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.5769, allocations: 48 kB / 0.8811 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5772, allocations: 21.64 kB / 0.8811 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.5777, allocations: 210.9 kB / 0.8813 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.5781, allocations: 0.74 MB / 0.882 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.423e-05/0.5782, allocations: 21.23 kB / 0.8821 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.5782, allocations: 19.42 kB / 0.8821 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of SimCode: time 3.5e-07/0.5783, allocations: 0 / 0.8821 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of Templates: time 0.004998/0.5833, allocations: 1.867 MB / 0.8839 GB, free: 1.723 MB / 0.5417 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)