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.815/0.815, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 181 kB / 191.5 MB, free: 5.762 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.691/1.691, allocations: 223.2 MB / 447.7 MB, free: 6.566 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.0009596/0.0009595, allocations: 96.27 kB / 0.5188 GB, free: 2.922 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 276 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004512, allocations: 16 kB / 0.6929 GB, free: 2.312 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.385, allocations: 82.78 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5381, allocations: 111.6 MB / 0.8827 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.5384, allocations: 91.81 kB / 0.8828 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008874/0.5472, allocations: 3.356 MB / 0.8861 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5473, allocations: 0 / 0.8861 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.5473, allocations: 4 kB / 0.8861 GB, free: 6.984 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.0006661/0.548, allocations: 0.5061 MB / 0.8866 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.548, allocations: 8.031 kB / 0.8866 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.5481, allocations: 27.72 kB / 0.8866 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.5484, allocations: 228.1 kB / 0.8869 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.5484, allocations: 19.78 kB / 0.8869 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.5484, allocations: 20 kB / 0.8869 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.5488, allocations: 213 kB / 0.8871 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5488, allocations: 0 / 0.8871 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.5489, allocations: 12 kB / 0.8871 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.5489, allocations: 4 kB / 0.8871 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.5492, allocations: 159.4 kB / 0.8873 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.5501, allocations: 0.6014 MB / 0.8879 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.5505, allocations: 130.7 kB / 0.888 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.5505, allocations: 7.984 kB / 0.888 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.5506, allocations: 34.56 kB / 0.888 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.5506, allocations: 3.938 kB / 0.888 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0004575/0.551, allocations: 193.4 kB / 0.8882 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.5511, allocations: 132.5 kB / 0.8883 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.5513, allocations: 190.3 kB / 0.8885 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.5514, allocations: 29.7 kB / 0.8885 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.5515, allocations: 140.2 kB / 0.8887 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.5515, allocations: 35.55 kB / 0.8887 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.5515, allocations: 0 / 0.8887 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5516, allocations: 334.8 kB / 0.889 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.5518, allocations: 47.98 kB / 0.8891 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.5519, allocations: 83.34 kB / 0.8892 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.552, allocations: 47.41 kB / 0.8892 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.552, allocations: 0 / 0.8892 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002938/0.5523, allocations: 162.5 kB / 0.8894 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5524, allocations: 4 kB / 0.8894 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5524, allocations: 0 / 0.8894 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5524, allocations: 0 / 0.8894 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5525, allocations: 23.92 kB / 0.8894 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5525, allocations: 7.953 kB / 0.8894 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.5527, allocations: 39.84 kB / 0.8894 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.5527, allocations: 0 / 0.8894 GB, free: 3.324 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 () * Number of clocked 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.0001191/0.5528, allocations: 143.8 kB / 0.8896 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.5529, allocations: 23.72 kB / 0.8896 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.5532, allocations: 159 kB / 0.8897 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5532, allocations: 0 / 0.8897 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5532, allocations: 4 kB / 0.8897 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5532, allocations: 7.938 kB / 0.8898 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.5535, allocations: 270 kB / 0.89 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5535, allocations: 0 / 0.89 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.5536, allocations: 19.98 kB / 0.89 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.5536, allocations: 4 kB / 0.89 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.5537, allocations: 3.938 kB / 0.89 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5537, allocations: 3.938 kB / 0.89 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5537, allocations: 3.984 kB / 0.89 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.554, allocations: 235.3 kB / 0.8903 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.5541, allocations: 100.8 kB / 0.8904 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.5541, allocations: 4 kB / 0.8904 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.5543, allocations: 39.97 kB / 0.8904 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.5543, allocations: 19.95 kB / 0.8904 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.5544, allocations: 4 kB / 0.8904 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001194/0.5545, allocations: 147.2 kB / 0.8906 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5545, allocations: 4 kB / 0.8906 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000244/0.5547, allocations: 32 kB / 0.8906 GB, free: 2.027 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) * 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 (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.000152/0.5549, allocations: 123.1 kB / 0.8907 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.5552, allocations: 113.9 kB / 0.8908 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5552, allocations: 0 / 0.8908 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.5553, allocations: 63.91 kB / 0.8909 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.5555, allocations: 16 kB / 0.8909 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.5561, allocations: 380.7 kB / 0.8913 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.5564, allocations: 0.7361 MB / 0.892 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.854e-05/0.5565, allocations: 13.42 kB / 0.892 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.5566, allocations: 31.36 kB / 0.892 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.5566, allocations: 4 kB / 0.892 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of Templates: time 0.004529/0.5611, allocations: 1.86 MB / 0.8939 GB, free: 14.69 MB / 0.5573 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)