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.00128/0.00128, allocations: 106.1 kB / 16.27 MB, free: 6 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.001218/0.001218, allocations: 189.5 kB / 17.2 MB, free: 5.613 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.765/0.765, allocations: 126.4 MB / 417.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.4953 GB, free: 3.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3607, allocations: 78.78 MB / 0.5723 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003102/0.3639, allocations: 2.016 MB / 0.5742 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.365, allocations: 0.5685 MB / 0.5748 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.739e-05/0.3651, allocations: 4.406 kB / 0.5748 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.3652, allocations: 20.86 kB / 0.5748 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.3653, allocations: 34.72 kB / 0.5749 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.3656, allocations: 85.25 kB / 0.5749 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.3659, allocations: 230.7 kB / 0.5752 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.3661, allocations: 111.5 kB / 0.5753 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.3662, allocations: 92.69 kB / 0.5754 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3663, allocations: 99.19 kB / 0.5754 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.3664, allocations: 25.34 kB / 0.5755 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.3665, allocations: 30.84 kB / 0.5755 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.3665, allocations: 55.39 kB / 0.5756 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.625e-05/0.3666, allocations: 112.4 kB / 0.5757 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.3669, allocations: 269 kB / 0.5759 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3669, allocations: 0.7969 kB / 0.5759 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.367, allocations: 0 / 0.5759 GB, free: 28.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.367, allocations: 1.75 kB / 0.5759 GB, free: 28.82 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.0006787/0.3677, allocations: 0.5166 MB / 0.5764 GB, free: 28.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3677, allocations: 9 kB / 0.5764 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.3678, allocations: 31.09 kB / 0.5765 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.368, allocations: 264.9 kB / 0.5767 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3681, allocations: 15.22 kB / 0.5767 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3681, allocations: 19.38 kB / 0.5767 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.3685, allocations: 227.6 kB / 0.577 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3685, allocations: 1.156 kB / 0.577 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3685, allocations: 6.5 kB / 0.577 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3685, allocations: 3.531 kB / 0.577 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.3688, allocations: 142.2 kB / 0.5771 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.3696, allocations: 0.5862 MB / 0.5777 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.3699, allocations: 122 kB / 0.5778 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.37, allocations: 52.73 kB / 0.5778 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.3701, allocations: 3.375 kB / 0.5779 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.3701, allocations: 32.69 kB / 0.5779 GB, free: 27.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.3701, allocations: 0.6875 kB / 0.5779 GB, free: 27.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004158/0.3705, allocations: 175.8 kB / 0.5781 GB, free: 27.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3706, allocations: 134.6 kB / 0.5782 GB, free: 26.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.3707, allocations: 215.4 kB / 0.5784 GB, free: 26.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3707, allocations: 29.52 kB / 0.5784 GB, free: 26.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.3708, allocations: 148.1 kB / 0.5786 GB, free: 26.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3708, allocations: 32.11 kB / 0.5786 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.3709, allocations: 38.33 kB / 0.5786 GB, free: 26.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.371, allocations: 323.1 kB / 0.5789 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3711, allocations: 50.59 kB / 0.579 GB, free: 26.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3712, allocations: 87.23 kB / 0.5791 GB, free: 26.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3714, allocations: 92.69 kB / 0.5792 GB, free: 26.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3714, allocations: 1.656 kB / 0.5792 GB, free: 26.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002819/0.3717, allocations: 157 kB / 0.5793 GB, free: 26.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3717, allocations: 4.812 kB / 0.5793 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3717, allocations: 6.203 kB / 0.5793 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3718, allocations: 5.359 kB / 0.5793 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3719, allocations: 20.45 kB / 0.5793 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.3719, allocations: 7.391 kB / 0.5793 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.372, allocations: 33.5 kB / 0.5794 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.3721, allocations: 7.656 kB / 0.5794 GB, free: 25.99 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 9.114e-05/0.3722, allocations: 138.5 kB / 0.5795 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.3722, allocations: 15.44 kB / 0.5795 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.3725, allocations: 147.7 kB / 0.5797 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3725, allocations: 1.188 kB / 0.5797 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3725, allocations: 0 / 0.5797 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3725, allocations: 0.7812 kB / 0.5797 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.3728, allocations: 269.1 kB / 0.5799 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3728, allocations: 1.156 kB / 0.5799 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.531e-05/0.3729, allocations: 24.36 kB / 0.58 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3729, allocations: 0 / 0.58 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3729, allocations: 10.45 kB / 0.58 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3729, allocations: 0 / 0.58 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3729, allocations: 0 / 0.58 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.3732, allocations: 232.9 kB / 0.5802 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.3732, allocations: 97.2 kB / 0.5803 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.3733, allocations: 6.812 kB / 0.5803 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3734, allocations: 26.16 kB / 0.5803 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.3735, allocations: 21.47 kB / 0.5803 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3735, allocations: 1.906 kB / 0.5803 GB, free: 25.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.777e-05/0.3736, allocations: 153.9 kB / 0.5805 GB, free: 25.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3736, allocations: 192 / 0.5805 GB, free: 25.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3739, allocations: 40.16 kB / 0.5805 GB, free: 25.02 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.0001322/0.374, allocations: 116.1 kB / 0.5806 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.3743, allocations: 111.9 kB / 0.5807 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3743, allocations: 0.5312 kB / 0.5807 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3745, allocations: 55.84 kB / 0.5808 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3748, allocations: 25.94 kB / 0.5808 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.3753, allocations: 332.2 kB / 0.5811 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.3755, allocations: 0.7311 MB / 0.5818 GB, free: 23.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.383e-05/0.3756, allocations: 19.45 kB / 0.5819 GB, free: 23.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.3756, allocations: 20.62 kB / 0.5819 GB, free: 23.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3756, allocations: 0 / 0.5819 GB, free: 23.86 MB / 446.1 MB Notification: Performance of Templates: time 0.004754/0.3804, allocations: 2.171 MB / 0.584 GB, free: 22.84 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)