Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001489/0.001489, allocations: 104 kB / 16.94 MB, free: 6.191 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.001714/0.001714, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.379/1.379, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7319/0.7319, allocations: 122.9 MB / 414.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.91 kB / 0.4918 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3965, allocations: 77.93 MB / 0.5679 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003391/0.3999, allocations: 2.013 MB / 0.5698 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.4009, allocations: 0.571 MB / 0.5704 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.401, allocations: 2.375 kB / 0.5704 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.4011, allocations: 20.38 kB / 0.5704 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.4012, allocations: 36.95 kB / 0.5704 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.4015, allocations: 84.42 kB / 0.5705 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.4018, allocations: 230.5 kB / 0.5707 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.402, allocations: 111.8 kB / 0.5708 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.4022, allocations: 87.86 kB / 0.5709 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.4023, allocations: 104.8 kB / 0.571 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.4024, allocations: 23.66 kB / 0.571 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.4025, allocations: 29.81 kB / 0.5711 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.4025, allocations: 54.62 kB / 0.5711 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.4026, allocations: 113.8 kB / 0.5712 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.403, allocations: 268.5 kB / 0.5715 GB, free: 30.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.403, allocations: 5.844 kB / 0.5715 GB, free: 30.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.403, allocations: 1.25 kB / 0.5715 GB, free: 30.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.403, allocations: 0 / 0.5715 GB, free: 30.26 MB / 446.1 MB 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.0007608/0.4038, allocations: 0.509 MB / 0.572 GB, free: 29.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4038, allocations: 13.94 kB / 0.572 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.4039, allocations: 26.41 kB / 0.572 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.4042, allocations: 261.7 kB / 0.5723 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.4042, allocations: 15.91 kB / 0.5723 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.4043, allocations: 16.47 kB / 0.5723 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.4047, allocations: 225.9 kB / 0.5725 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4047, allocations: 1.281 kB / 0.5725 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.4047, allocations: 9.359 kB / 0.5725 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.4047, allocations: 5.312 kB / 0.5725 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.4051, allocations: 143.5 kB / 0.5727 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008891/0.406, allocations: 0.5876 MB / 0.5733 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.4063, allocations: 121.8 kB / 0.5734 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.4065, allocations: 55.3 kB / 0.5734 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.4065, allocations: 3.484 kB / 0.5734 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.4065, allocations: 32.97 kB / 0.5735 GB, free: 28.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.4065, allocations: 0.75 kB / 0.5735 GB, free: 28.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004515/0.407, allocations: 170 kB / 0.5736 GB, free: 28.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.4071, allocations: 140.7 kB / 0.5738 GB, free: 28.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.4072, allocations: 214.7 kB / 0.574 GB, free: 28.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.4073, allocations: 28.14 kB / 0.574 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.4073, allocations: 148.9 kB / 0.5741 GB, free: 28.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.4074, allocations: 30.8 kB / 0.5742 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.4074, allocations: 35.25 kB / 0.5742 GB, free: 28.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.4075, allocations: 329.2 kB / 0.5745 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.4076, allocations: 46.59 kB / 0.5746 GB, free: 27.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.4078, allocations: 84.83 kB / 0.5746 GB, free: 27.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.408, allocations: 97.34 kB / 0.5747 GB, free: 27.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.408, allocations: 0 / 0.5747 GB, free: 27.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002932/0.4083, allocations: 153.3 kB / 0.5749 GB, free: 27.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4083, allocations: 10.16 kB / 0.5749 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4083, allocations: 0.875 kB / 0.5749 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4084, allocations: 1.031 kB / 0.5749 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4085, allocations: 26.8 kB / 0.5749 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4085, allocations: 1 kB / 0.5749 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.4087, allocations: 28.44 kB / 0.5749 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.4087, allocations: 15.03 kB / 0.5749 GB, free: 27.69 MB / 446.1 MB 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.000101/0.4088, allocations: 132.7 kB / 0.5751 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.4089, allocations: 16.75 kB / 0.5751 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.4092, allocations: 145.7 kB / 0.5752 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4092, allocations: 6.125 kB / 0.5752 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4092, allocations: 1.406 kB / 0.5752 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4092, allocations: 2.234 kB / 0.5752 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.4095, allocations: 263.6 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4095, allocations: 1.219 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.76e-05/0.4096, allocations: 19.69 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4096, allocations: 1.5 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.4096, allocations: 1.406 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4096, allocations: 6 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4097, allocations: 0.8438 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.4099, allocations: 229.7 kB / 0.5757 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.41, allocations: 94.59 kB / 0.5758 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.41, allocations: 7.875 kB / 0.5758 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4102, allocations: 33.22 kB / 0.5759 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.4103, allocations: 27.75 kB / 0.5759 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.4103, allocations: 4.406 kB / 0.5759 GB, free: 26.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.4104, allocations: 154.1 kB / 0.576 GB, free: 26.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4104, allocations: 1.156 kB / 0.576 GB, free: 26.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.4107, allocations: 40.78 kB / 0.5761 GB, free: 26.84 MB / 446.1 MB 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.000146/0.4109, allocations: 113 kB / 0.5762 GB, free: 26.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.4112, allocations: 113 kB / 0.5763 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4112, allocations: 1.094 kB / 0.5763 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4113, allocations: 53.97 kB / 0.5764 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.4117, allocations: 20.33 kB / 0.5764 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.4123, allocations: 366.7 kB / 0.5767 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.4125, allocations: 0.7301 MB / 0.5774 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.4126, allocations: 23.84 kB / 0.5775 GB, free: 25.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4126, allocations: 0 / 0.5775 GB, free: 25.71 MB / 446.1 MB Notification: Performance of Templates: time 0.004945/0.4175, allocations: 2.38 MB / 0.5798 GB, free: 25.33 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)