Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002517/0.002517, allocations: 355.7 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.484/1.484, allocations: 165.8 MB / 182.5 MB, free: 5.406 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.92/3.92, allocations: 410.8 MB / 0.5995 GB, free: 15.07 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00169/0.001689, allocations: 187.7 kB / 0.6662 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 12 kB / 0.7423 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3685, allocations: 67.44 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001939/0.3705, allocations: 1.677 MB / 0.8098 GB, free: 27.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.3714, allocations: 0.5661 MB / 0.8103 GB, free: 26.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.612e-05/0.3715, allocations: 4 kB / 0.8104 GB, free: 26.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.452e-05/0.3716, allocations: 11.86 kB / 0.8104 GB, free: 26.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.3717, allocations: 27.72 kB / 0.8104 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.372, allocations: 51.92 kB / 0.8104 GB, free: 26.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3722, allocations: 200 kB / 0.8106 GB, free: 26.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3724, allocations: 87.2 kB / 0.8107 GB, free: 26.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3725, allocations: 63.64 kB / 0.8108 GB, free: 26.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3726, allocations: 71.61 kB / 0.8108 GB, free: 26.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.3727, allocations: 8 kB / 0.8109 GB, free: 26.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.598e-05/0.3727, allocations: 12 kB / 0.8109 GB, free: 26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.3728, allocations: 31.78 kB / 0.8109 GB, free: 25.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.3728, allocations: 61.58 kB / 0.811 GB, free: 25.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.3731, allocations: 197.6 kB / 0.8111 GB, free: 25.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.64e-06/0.3731, allocations: 7.938 kB / 0.8111 GB, free: 25.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3731, allocations: 0 / 0.8111 GB, free: 25.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3731, allocations: 0 / 0.8111 GB, free: 25.71 MB / 378.7 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.0006522/0.3738, allocations: 498.5 kB / 0.8116 GB, free: 25.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3738, allocations: 12.03 kB / 0.8116 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.3739, allocations: 23.72 kB / 0.8117 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.3742, allocations: 255.4 kB / 0.8119 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3742, allocations: 16 kB / 0.8119 GB, free: 24.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.3743, allocations: 19.95 kB / 0.8119 GB, free: 24.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.3747, allocations: 236.6 kB / 0.8122 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3748, allocations: 0 / 0.8122 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.3748, allocations: 4 kB / 0.8122 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-06/0.3748, allocations: 4 kB / 0.8122 GB, free: 24.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.3753, allocations: 155.9 kB / 0.8123 GB, free: 24.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3765, allocations: 0.6011 MB / 0.8129 GB, free: 23.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.377, allocations: 126.7 kB / 0.813 GB, free: 23.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.3771, allocations: 52.84 kB / 0.8131 GB, free: 23.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.3772, allocations: 4 kB / 0.8131 GB, free: 23.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.3772, allocations: 34.56 kB / 0.8131 GB, free: 23.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.807e-06/0.3772, allocations: 0 / 0.8131 GB, free: 23.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005605/0.3778, allocations: 181.6 kB / 0.8133 GB, free: 23.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3779, allocations: 132.5 kB / 0.8134 GB, free: 23.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3781, allocations: 218.9 kB / 0.8136 GB, free: 22.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.3781, allocations: 33.69 kB / 0.8137 GB, free: 22.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.3782, allocations: 140.2 kB / 0.8138 GB, free: 22.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.3783, allocations: 31.55 kB / 0.8138 GB, free: 22.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.3783, allocations: 3.938 kB / 0.8138 GB, free: 22.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.3783, allocations: 330.8 kB / 0.8141 GB, free: 22.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3785, allocations: 51.98 kB / 0.8142 GB, free: 22.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.3787, allocations: 92.58 kB / 0.8143 GB, free: 22.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3789, allocations: 47.98 kB / 0.8143 GB, free: 22.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.778e-06/0.3789, allocations: 0 / 0.8143 GB, free: 22.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004084/0.3793, allocations: 165.4 kB / 0.8145 GB, free: 22.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.3793, allocations: 10.59 kB / 0.8145 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.997e-06/0.3794, allocations: 4 kB / 0.8145 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3794, allocations: 0 / 0.8145 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3795, allocations: 24.02 kB / 0.8145 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.75e-06/0.3796, allocations: 0 / 0.8145 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3797, allocations: 35.78 kB / 0.8145 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.3798, allocations: 11.98 kB / 0.8146 GB, free: 21.95 MB / 378.7 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 ($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 (14): * Single equations (assignments): 14 * 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.0001461/0.3799, allocations: 137.8 kB / 0.8147 GB, free: 21.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.38, allocations: 15.81 kB / 0.8147 GB, free: 21.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.3804, allocations: 151 kB / 0.8148 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.241e-06/0.3805, allocations: 0 / 0.8148 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.526e-06/0.3805, allocations: 0 / 0.8148 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-06/0.3805, allocations: 7.938 kB / 0.8149 GB, free: 21.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.3808, allocations: 269.5 kB / 0.8151 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-06/0.3808, allocations: 0 / 0.8151 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.381, allocations: 19.98 kB / 0.8151 GB, free: 21.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.381, allocations: 0 / 0.8151 GB, free: 21.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.381, allocations: 4 kB / 0.8151 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.419e-06/0.381, allocations: 0 / 0.8151 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.566e-06/0.381, allocations: 0 / 0.8151 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.3814, allocations: 247.2 kB / 0.8154 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.3815, allocations: 100.8 kB / 0.8155 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3816, allocations: 0 / 0.8155 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.3818, allocations: 35.97 kB / 0.8155 GB, free: 20.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.3819, allocations: 23.95 kB / 0.8155 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.382, allocations: 7.984 kB / 0.8155 GB, free: 20.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3821, allocations: 148.5 kB / 0.8157 GB, free: 20.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.3821, allocations: 0 / 0.8157 GB, free: 20.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003822/0.3825, allocations: 44.03 kB / 0.8157 GB, free: 20.66 MB / 378.7 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 (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.0001368/0.3826, allocations: 107.2 kB / 0.8158 GB, free: 20.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.383, allocations: 125.1 kB / 0.8159 GB, free: 20.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.965e-06/0.3831, allocations: 0 / 0.8159 GB, free: 20.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.3833, allocations: 55.91 kB / 0.816 GB, free: 20.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.3837, allocations: 31.95 kB / 0.816 GB, free: 20.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/0.3844, allocations: 380.4 kB / 0.8164 GB, free: 19.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.3846, allocations: 0.74 MB / 0.8171 GB, free: 19.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.3847, allocations: 17.45 kB / 0.8171 GB, free: 19.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.3848, allocations: 23.42 kB / 0.8171 GB, free: 19.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.514e-06/0.3848, allocations: 0 / 0.8171 GB, free: 19.14 MB / 378.7 MB Notification: Performance of Templates: time 0.005816/0.3906, allocations: 1.819 MB / 0.8189 GB, free: 17.35 MB / 378.7 MB