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.001045/0.001045, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001112/0.001113, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 296.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9549/0.9549, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 103.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4375, allocations: 86.96 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003436/0.4409, allocations: 2.04 MB / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.4421, allocations: 0.5611 MB / 0.7696 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.4422, allocations: 4 kB / 0.7696 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.4424, allocations: 27.67 kB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.4425, allocations: 39.59 kB / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.4429, allocations: 79.86 kB / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.4431, allocations: 227.9 kB / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.4434, allocations: 121.7 kB / 0.7701 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.4435, allocations: 91.62 kB / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.4437, allocations: 95.55 kB / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.4437, allocations: 24 kB / 0.7703 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.445e-05/0.4438, allocations: 35.98 kB / 0.7703 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.4439, allocations: 51.83 kB / 0.7704 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.599e-05/0.444, allocations: 111.4 kB / 0.7705 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.4443, allocations: 271.1 kB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4443, allocations: 3.938 kB / 0.7707 GB, free: 120 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4443, allocations: 0 / 0.7707 GB, free: 120 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.4444, allocations: 4 kB / 0.7707 GB, free: 116 kB / 0.5294 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.0008199/0.4452, allocations: 0.509 MB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4452, allocations: 8.031 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.4453, allocations: 28.66 kB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.4457, allocations: 264.5 kB / 0.7715 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4457, allocations: 12.38 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.4457, allocations: 20.38 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.4461, allocations: 225.6 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4462, allocations: 3.984 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.4462, allocations: 8 kB / 0.7718 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4462, allocations: 4 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.4465, allocations: 147.9 kB / 0.7719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/0.4475, allocations: 0.5779 MB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.4478, allocations: 126.7 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.448, allocations: 52.83 kB / 0.7727 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.448, allocations: 8 kB / 0.7727 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.4481, allocations: 30.56 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.4481, allocations: 0 / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004693/0.4485, allocations: 173.6 kB / 0.7729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.4486, allocations: 136.5 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.4488, allocations: 215 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4489, allocations: 33.7 kB / 0.7732 GB, free: 13.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.4489, allocations: 144.2 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.449, allocations: 27.64 kB / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.4491, allocations: 33.7 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4492, allocations: 330.8 kB / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.4493, allocations: 47.97 kB / 0.7738 GB, free: 12.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.4495, allocations: 92.2 kB / 0.7739 GB, free: 12.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.4497, allocations: 96.06 kB / 0.774 GB, free: 12.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4497, allocations: 3.938 kB / 0.774 GB, free: 12.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003165/0.45, allocations: 153.3 kB / 0.7741 GB, free: 12.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.45, allocations: 4 kB / 0.7741 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4501, allocations: 0 / 0.7741 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4501, allocations: 7.984 kB / 0.7741 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4502, allocations: 15.98 kB / 0.7741 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4502, allocations: 3.938 kB / 0.7741 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.4504, allocations: 31.86 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.4504, allocations: 8 kB / 0.7742 GB, free: 12.3 MB / 0.545 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.000129/0.4505, allocations: 141.8 kB / 0.7743 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.4506, allocations: 15.81 kB / 0.7743 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.4509, allocations: 143.3 kB / 0.7745 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4509, allocations: 4.094 kB / 0.7745 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4509, allocations: 7.875 kB / 0.7745 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.451, allocations: 96.84 kB / 0.7746 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.4511, allocations: 8 kB / 0.7746 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.4512, allocations: 19.97 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.4513, allocations: 19.97 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004033/0.4517, allocations: 212.8 kB / 0.7748 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003599/0.4521, allocations: 314.5 kB / 0.7751 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001208/0.4522, allocations: 43.98 kB / 0.7752 GB, free: 11.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001257/0.4524, allocations: 155.2 kB / 0.7753 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Backend: time 3.91e-07/0.4524, allocations: 0 / 0.7753 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.4529, allocations: 158.3 kB / 0.7755 GB, free: 10.93 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007465/0.4537, allocations: 0.7488 MB / 0.7762 GB, free: 10.13 MB / 0.545 GB Notification: Performance of Templates: time 0.005773/0.4595, allocations: 2.457 MB / 0.7786 GB, free: 7.723 MB / 0.545 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)