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.00129/0.00129, allocations: 116.6 kB / 17.04 MB, free: 6.133 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.001053/0.001053, allocations: 196 kB / 17.98 MB, free: 5.23 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7483/0.7483, allocations: 115.3 MB / 407.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 65.7 kB / 0.5582 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 76.18 MB / 0.6326 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003298/0.1594, allocations: 2.01 MB / 0.6346 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1604, allocations: 0.5728 MB / 0.6351 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1606, allocations: 3.938 kB / 0.6351 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1607, allocations: 27.66 kB / 0.6352 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.1608, allocations: 35.61 kB / 0.6352 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.1611, allocations: 75.91 kB / 0.6353 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1613, allocations: 231.9 kB / 0.6355 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.1615, allocations: 111.6 kB / 0.6356 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1617, allocations: 91.64 kB / 0.6357 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1618, allocations: 95.53 kB / 0.6358 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.1619, allocations: 28 kB / 0.6358 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.492e-05/0.1619, allocations: 32 kB / 0.6358 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.162, allocations: 55.81 kB / 0.6359 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1621, allocations: 119.3 kB / 0.636 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.1624, allocations: 275 kB / 0.6363 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1624, allocations: 0 / 0.6363 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1625, allocations: 0 / 0.6363 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1625, allocations: 0 / 0.6363 GB, free: 0.6914 MB / 478.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.0007652/0.1632, allocations: 0.5181 MB / 0.6368 GB, free: 128 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1633, allocations: 8.031 kB / 0.6368 GB, free: 120 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.1633, allocations: 32.66 kB / 0.6368 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1637, allocations: 252.7 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1637, allocations: 8.375 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.1637, allocations: 16.38 kB / 0.6371 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.1641, allocations: 232.8 kB / 0.6373 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1642, allocations: 4 kB / 0.6373 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.1642, allocations: 12 kB / 0.6373 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1642, allocations: 7.984 kB / 0.6373 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.1645, allocations: 135.9 kB / 0.6374 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.1654, allocations: 0.5972 MB / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.1657, allocations: 114.7 kB / 0.6381 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1659, allocations: 48.84 kB / 0.6382 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.1659, allocations: 4 kB / 0.6382 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1659, allocations: 42.55 kB / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.166, allocations: 0 / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004672/0.1664, allocations: 161.6 kB / 0.6384 GB, free: 14.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.1665, allocations: 140.5 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1667, allocations: 207 kB / 0.6387 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1667, allocations: 33.69 kB / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.1668, allocations: 156 kB / 0.6389 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.1669, allocations: 27.66 kB / 0.6389 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.1669, allocations: 34.08 kB / 0.6389 GB, free: 13.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1671, allocations: 330.8 kB / 0.6393 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1672, allocations: 43.98 kB / 0.6393 GB, free: 13.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1673, allocations: 98.94 kB / 0.6394 GB, free: 13.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1675, allocations: 89.62 kB / 0.6395 GB, free: 13.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1676, allocations: 0 / 0.6395 GB, free: 13.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002929/0.1679, allocations: 157.3 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1679, allocations: 4 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1679, allocations: 4 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1679, allocations: 4.031 kB / 0.6396 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.168, allocations: 23.86 kB / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.168, allocations: 0 / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1682, allocations: 35.81 kB / 0.6397 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.1682, allocations: 4 kB / 0.6397 GB, free: 12.88 MB / 494.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.000119/0.1683, allocations: 133.3 kB / 0.6398 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1684, allocations: 19.81 kB / 0.6399 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.1687, allocations: 147 kB / 0.64 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1687, allocations: 3.938 kB / 0.64 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1687, allocations: 0 / 0.64 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1687, allocations: 4 kB / 0.64 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.169, allocations: 265.5 kB / 0.6403 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.169, allocations: 0 / 0.6403 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.1691, allocations: 19.98 kB / 0.6403 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1691, allocations: 3.938 kB / 0.6403 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1691, allocations: 8 kB / 0.6403 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1692, allocations: 3.938 kB / 0.6403 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1692, allocations: 3.984 kB / 0.6403 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.1695, allocations: 223.3 kB / 0.6405 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.1695, allocations: 96.91 kB / 0.6406 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.1696, allocations: 8 kB / 0.6406 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1697, allocations: 23.92 kB / 0.6406 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.1698, allocations: 23.95 kB / 0.6406 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1698, allocations: 4.188 kB / 0.6407 GB, free: 11.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1699, allocations: 152.6 kB / 0.6408 GB, free: 11.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1699, allocations: 3.938 kB / 0.6408 GB, free: 11.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00028/0.1702, allocations: 39.84 kB / 0.6408 GB, free: 11.62 MB / 494.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.0001564/0.1704, allocations: 119.2 kB / 0.641 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.1707, allocations: 110.4 kB / 0.6411 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1707, allocations: 0 / 0.6411 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.1708, allocations: 55.91 kB / 0.6411 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1712, allocations: 17.56 kB / 0.6411 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.1718, allocations: 354.9 kB / 0.6415 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1721, allocations: 0.7282 MB / 0.6422 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.1722, allocations: 27.42 kB / 0.6422 GB, free: 10.16 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1722, allocations: 0 / 0.6422 GB, free: 10.16 MB / 494.1 MB Notification: Performance of Templates: time 0.003926/0.1761, allocations: 2.378 MB / 0.6445 GB, free: 7.785 MB / 494.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)