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.001356/0.001356, allocations: 108.7 kB / 16.41 MB, free: 6.504 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.001438/0.001438, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 283.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 103.8 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3956, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003143/0.3988, allocations: 2.021 MB / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.3998, allocations: 0.565 MB / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.3999, allocations: 4 kB / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.4001, allocations: 27.66 kB / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.272e-05/0.4001, allocations: 31.67 kB / 0.7697 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.4004, allocations: 83.78 kB / 0.7697 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.4007, allocations: 228 kB / 0.77 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.4009, allocations: 115.2 kB / 0.7701 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.401, allocations: 87.7 kB / 0.7701 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.4012, allocations: 107.5 kB / 0.7702 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.4012, allocations: 24 kB / 0.7703 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.369e-05/0.4013, allocations: 28 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.4014, allocations: 59.81 kB / 0.7704 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.4015, allocations: 111.4 kB / 0.7705 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.4017, allocations: 267.1 kB / 0.7707 GB, free: 148 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4018, allocations: 0 / 0.7707 GB, free: 148 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4018, allocations: 3.938 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4018, allocations: 0 / 0.7707 GB, free: 144 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.0007685/0.4026, allocations: 0.5206 MB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4026, allocations: 8.031 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.4027, allocations: 24.66 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.403, allocations: 256.6 kB / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.403, allocations: 16.38 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.4031, allocations: 16.38 kB / 0.7715 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.4035, allocations: 237.6 kB / 0.7718 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4035, allocations: 3.984 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.4035, allocations: 4 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4035, allocations: 4 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.4038, allocations: 139.9 kB / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.4048, allocations: 0.5896 MB / 0.7725 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.4051, allocations: 122.7 kB / 0.7726 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4053, allocations: 52.84 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.4053, allocations: 0 / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.4053, allocations: 38.55 kB / 0.7727 GB, free: 13.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.4053, allocations: 0 / 0.7727 GB, free: 13.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.000456/0.4058, allocations: 169.5 kB / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.4059, allocations: 136.5 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.4061, allocations: 223 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.4061, allocations: 37.69 kB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.4062, allocations: 136.3 kB / 0.7734 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.4062, allocations: 27.64 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.4063, allocations: 41.61 kB / 0.7734 GB, free: 13.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.4064, allocations: 330.8 kB / 0.7737 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.4066, allocations: 43.98 kB / 0.7738 GB, free: 12.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4067, allocations: 84.27 kB / 0.7739 GB, free: 12.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.4069, allocations: 100.6 kB / 0.774 GB, free: 12.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4069, allocations: 0 / 0.774 GB, free: 12.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003033/0.4073, allocations: 157.3 kB / 0.7741 GB, free: 12.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.4073, allocations: 8 kB / 0.7741 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4073, allocations: 0 / 0.7741 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4073, allocations: 0 / 0.7741 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4074, allocations: 15.98 kB / 0.7741 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4074, allocations: 7.938 kB / 0.7741 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.4076, allocations: 31.81 kB / 0.7742 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.4076, allocations: 8.031 kB / 0.7742 GB, free: 12.33 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.0001228/0.4077, allocations: 133.8 kB / 0.7743 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.4078, allocations: 15.81 kB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.4081, allocations: 147 kB / 0.7745 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4081, allocations: 4 kB / 0.7745 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4082, allocations: 3.938 kB / 0.7745 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.4082, allocations: 92.86 kB / 0.7746 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.4083, allocations: 8 kB / 0.7746 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4084, allocations: 19.97 kB / 0.7746 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.4085, allocations: 24.44 kB / 0.7746 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003751/0.4089, allocations: 220.8 kB / 0.7748 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003345/0.4092, allocations: 310.5 kB / 0.7751 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001354/0.4094, allocations: 55.97 kB / 0.7752 GB, free: 11.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001111/0.4095, allocations: 143.2 kB / 0.7753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of Backend: time 5.21e-07/0.4095, allocations: 0 / 0.7753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005142/0.41, allocations: 154.4 kB / 0.7754 GB, free: 10.96 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007579/0.4108, allocations: 0.7605 MB / 0.7762 GB, free: 10.15 MB / 0.545 GB Notification: Performance of Templates: time 0.005256/0.4161, allocations: 2.453 MB / 0.7786 GB, free: 7.75 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)