Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001235/0.001236, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001239/0.001239, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005606/0.0005607, allocations: 12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.559/0.5596, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003224/0.5628, allocations: 1.684 MB / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.5642, allocations: 0.5698 MB / 0.7302 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.5644, allocations: 4 kB / 0.7302 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.5645, allocations: 19.8 kB / 0.7302 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.5646, allocations: 27.94 kB / 0.7302 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.5649, allocations: 63.8 kB / 0.7303 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.5651, allocations: 128.4 kB / 0.7304 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.5654, allocations: 86.03 kB / 0.7305 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.5655, allocations: 59.7 kB / 0.7306 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.5657, allocations: 75.55 kB / 0.7306 GB, free: 8.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.5657, allocations: 8 kB / 0.7306 GB, free: 8.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.5658, allocations: 8 kB / 0.7306 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.566, allocations: 31.84 kB / 0.7307 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.566, allocations: 61.58 kB / 0.7307 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.5665, allocations: 197.5 kB / 0.7309 GB, free: 8.398 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5665, allocations: 0 / 0.7309 GB, free: 8.398 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5665, allocations: 4 kB / 0.7309 GB, free: 8.395 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.5665, allocations: 0 / 0.7309 GB, free: 8.395 MB / 0.545 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.00125/0.5678, allocations: 497.7 kB / 0.7314 GB, free: 7.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.523e-05/0.5679, allocations: 8.031 kB / 0.7314 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.568, allocations: 27.67 kB / 0.7314 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.5685, allocations: 255.4 kB / 0.7317 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5686, allocations: 12 kB / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.5686, allocations: 20 kB / 0.7317 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.5692, allocations: 236.7 kB / 0.7319 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.5692, allocations: 0 / 0.7319 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.5693, allocations: 4 kB / 0.7319 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.5693, allocations: 4 kB / 0.7319 GB, free: 7.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.5697, allocations: 155.7 kB / 0.7321 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.571, allocations: 0.5974 MB / 0.7327 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.5715, allocations: 126.7 kB / 0.7328 GB, free: 6.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.5715, allocations: 7.953 kB / 0.7328 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.5716, allocations: 30.56 kB / 0.7328 GB, free: 6.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.5716, allocations: 3.938 kB / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006109/0.5722, allocations: 185.6 kB / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.5723, allocations: 132.5 kB / 0.7331 GB, free: 5.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.5726, allocations: 207 kB / 0.7333 GB, free: 5.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.5726, allocations: 33.7 kB / 0.7334 GB, free: 5.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.5728, allocations: 152.1 kB / 0.7335 GB, free: 5.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.5728, allocations: 27.64 kB / 0.7335 GB, free: 5.484 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.5728, allocations: 4 kB / 0.7335 GB, free: 5.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.573, allocations: 330.8 kB / 0.7339 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.5732, allocations: 43.98 kB / 0.7339 GB, free: 5.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.5734, allocations: 92.2 kB / 0.734 GB, free: 5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.5736, allocations: 43.98 kB / 0.734 GB, free: 4.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5736, allocations: 0 / 0.734 GB, free: 4.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000427/0.5741, allocations: 168 kB / 0.7342 GB, free: 4.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.5741, allocations: 18.28 kB / 0.7342 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5741, allocations: 0 / 0.7342 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5742, allocations: 0 / 0.7342 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.5743, allocations: 19.98 kB / 0.7342 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.5743, allocations: 0 / 0.7342 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.5745, allocations: 39.86 kB / 0.7343 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.5746, allocations: 4 kB / 0.7343 GB, free: 4.711 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 ($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.0001772/0.5748, allocations: 137.8 kB / 0.7344 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.5748, allocations: 19.81 kB / 0.7344 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.5753, allocations: 154.9 kB / 0.7346 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5753, allocations: 4 kB / 0.7346 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5753, allocations: 0 / 0.7346 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5754, allocations: 7.922 kB / 0.7346 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.5758, allocations: 273.9 kB / 0.7348 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5758, allocations: 0 / 0.7348 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.576, allocations: 19.98 kB / 0.7349 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.576, allocations: 4 kB / 0.7349 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.576, allocations: 4 kB / 0.7349 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.576, allocations: 11.89 kB / 0.7349 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.576, allocations: 0 / 0.7349 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.5765, allocations: 235.2 kB / 0.7351 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.5765, allocations: 96.86 kB / 0.7352 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.5766, allocations: 4 kB / 0.7352 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.5769, allocations: 27.97 kB / 0.7352 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.577, allocations: 31.91 kB / 0.7353 GB, free: 3.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.577, allocations: 0 / 0.7353 GB, free: 3.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001607/0.5772, allocations: 160.7 kB / 0.7354 GB, free: 3.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.8e-07/0.5772, allocations: 0 / 0.7354 GB, free: 3.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004815/0.5777, allocations: 39.84 kB / 0.7354 GB, free: 3.406 MB / 0.545 GB 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.000219/0.578, allocations: 111.2 kB / 0.7356 GB, free: 3.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.5784, allocations: 116 kB / 0.7357 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5784, allocations: 0 / 0.7357 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.5787, allocations: 59.97 kB / 0.7357 GB, free: 3.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.579, allocations: 12 kB / 0.7357 GB, free: 3.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.5799, allocations: 384.7 kB / 0.7361 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.5803, allocations: 0.7402 MB / 0.7368 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.5804, allocations: 25.45 kB / 0.7368 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.5805, allocations: 19.38 kB / 0.7369 GB, free: 1.895 MB / 0.545 GB Notification: Performance of SimCode: time 4.9e-07/0.5805, allocations: 0 / 0.7369 GB, free: 1.895 MB / 0.545 GB Notification: Performance of Templates: time 0.006505/0.5871, allocations: 1.814 MB / 0.7386 GB, free: 128 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: