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.0007411/0.0007413, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004868/0.004868, allocations: 174 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.551/1.551, allocations: 252 MB / 0.5105 GB, free: 4.68 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.0007898/0.0007901, allocations: 24 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5613/0.5621, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002294/0.5644, allocations: 1.746 MB / 0.7304 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.5655, allocations: 0.5967 MB / 0.731 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.5656, allocations: 4 kB / 0.731 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.5657, allocations: 11.86 kB / 0.731 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.5658, allocations: 31.72 kB / 0.7311 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.5661, allocations: 71.92 kB / 0.7311 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.5663, allocations: 208 kB / 0.7313 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.5665, allocations: 99.64 kB / 0.7314 GB, free: 8.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.5666, allocations: 59.66 kB / 0.7315 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.5667, allocations: 79.48 kB / 0.7316 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.5668, allocations: 12 kB / 0.7316 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.5669, allocations: 19.98 kB / 0.7316 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.5669, allocations: 35.78 kB / 0.7316 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.567, allocations: 105.2 kB / 0.7317 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.5673, allocations: 249 kB / 0.732 GB, free: 7.918 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5673, allocations: 0 / 0.732 GB, free: 7.918 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5673, allocations: 0 / 0.732 GB, free: 7.918 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.5673, allocations: 0 / 0.732 GB, free: 7.918 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.0006783/0.568, allocations: 494.7 kB / 0.7324 GB, free: 7.387 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.568, allocations: 8.031 kB / 0.7324 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.5681, allocations: 32.66 kB / 0.7325 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.5684, allocations: 260.6 kB / 0.7327 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.5684, allocations: 12.38 kB / 0.7327 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.5685, allocations: 24.31 kB / 0.7327 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.5688, allocations: 233.1 kB / 0.733 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5689, allocations: 0 / 0.733 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.5689, allocations: 8 kB / 0.733 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5689, allocations: 4 kB / 0.733 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.5692, allocations: 151.7 kB / 0.7331 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008689/0.5701, allocations: 0.6013 MB / 0.7337 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.5704, allocations: 122.8 kB / 0.7338 GB, free: 5.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.5706, allocations: 56.97 kB / 0.7339 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.5706, allocations: 4 kB / 0.7339 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5707, allocations: 34.56 kB / 0.7339 GB, free: 5.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.5707, allocations: 3.938 kB / 0.7339 GB, free: 5.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004614/0.5711, allocations: 185.4 kB / 0.7341 GB, free: 5.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.5712, allocations: 132.5 kB / 0.7342 GB, free: 5.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.5714, allocations: 210.9 kB / 0.7344 GB, free: 5.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.5714, allocations: 29.7 kB / 0.7345 GB, free: 5.125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.41e-05/0.5715, allocations: 144.2 kB / 0.7346 GB, free: 4.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.5715, allocations: 35.53 kB / 0.7346 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.5716, allocations: 30.08 kB / 0.7347 GB, free: 4.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.5717, allocations: 326.8 kB / 0.735 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.5718, allocations: 51.97 kB / 0.735 GB, free: 4.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.572, allocations: 96.27 kB / 0.7351 GB, free: 4.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.5722, allocations: 97.56 kB / 0.7352 GB, free: 4.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5722, allocations: 0 / 0.7352 GB, free: 4.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002921/0.5725, allocations: 161.9 kB / 0.7354 GB, free: 4.152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5725, allocations: 9.875 kB / 0.7354 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5725, allocations: 3.984 kB / 0.7354 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.5725, allocations: 0 / 0.7354 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5726, allocations: 27.92 kB / 0.7354 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5727, allocations: 0 / 0.7354 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.5728, allocations: 35.86 kB / 0.7354 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.5728, allocations: 4 kB / 0.7354 GB, free: 4.074 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.0001194/0.573, allocations: 141.8 kB / 0.7356 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.573, allocations: 19.81 kB / 0.7356 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.5734, allocations: 151 kB / 0.7357 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5734, allocations: 7.938 kB / 0.7357 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5734, allocations: 0 / 0.7357 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.5734, allocations: 3.984 kB / 0.7357 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.5737, allocations: 269.5 kB / 0.736 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5737, allocations: 0 / 0.736 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.5738, allocations: 19.98 kB / 0.736 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5738, allocations: 0 / 0.736 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.5738, allocations: 4 kB / 0.736 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5738, allocations: 3.938 kB / 0.736 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5738, allocations: 0 / 0.736 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.5742, allocations: 247.2 kB / 0.7363 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.5742, allocations: 92.95 kB / 0.7364 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.5743, allocations: 8 kB / 0.7364 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5744, allocations: 31.91 kB / 0.7364 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.5745, allocations: 23.95 kB / 0.7364 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.5745, allocations: 4.188 kB / 0.7364 GB, free: 2.969 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001207/0.5746, allocations: 156.7 kB / 0.7366 GB, free: 2.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5747, allocations: 3.938 kB / 0.7366 GB, free: 2.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002659/0.5749, allocations: 43.84 kB / 0.7366 GB, free: 2.77 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 (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.0001418/0.5751, allocations: 107.2 kB / 0.7367 GB, free: 2.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.5754, allocations: 127.9 kB / 0.7368 GB, free: 2.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5754, allocations: 0 / 0.7368 GB, free: 2.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.5755, allocations: 51.98 kB / 0.7369 GB, free: 2.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.5759, allocations: 19.98 kB / 0.7369 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.5765, allocations: 408.3 kB / 0.7373 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.5768, allocations: 0.7283 MB / 0.738 GB, free: 1.285 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.533e-05/0.5769, allocations: 17.42 kB / 0.738 GB, free: 1.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.577, allocations: 23.42 kB / 0.738 GB, free: 1.242 MB / 0.545 GB Notification: Performance of SimCode: time 4.7e-07/0.577, allocations: 0 / 0.738 GB, free: 1.242 MB / 0.545 GB Notification: Performance of Templates: time 0.004673/0.5817, allocations: 1.882 MB / 0.7399 GB, free: 15.41 MB / 0.5606 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: