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.002029/0.002028, allocations: 121.6 kB / 17.09 MB, free: 6.012 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.001742/0.001742, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.373/1.373, 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.7655/0.7655, allocations: 115.3 MB / 407.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 68.45 kB / 0.5583 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1531, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003559/0.1567, allocations: 2.012 MB / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1579, allocations: 0.5843 MB / 0.6353 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.1581, allocations: 0 / 0.6353 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.1583, allocations: 19.73 kB / 0.6353 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1584, allocations: 35.59 kB / 0.6353 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.1588, allocations: 83.84 kB / 0.6354 GB, free: 1.664 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.1591, allocations: 224 kB / 0.6356 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.1594, allocations: 119.6 kB / 0.6357 GB, free: 1.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.1596, allocations: 91.62 kB / 0.6358 GB, free: 1.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1597, allocations: 95.55 kB / 0.6359 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.1598, allocations: 31.94 kB / 0.6359 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.1599, allocations: 35.92 kB / 0.636 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.16, allocations: 47.84 kB / 0.636 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1601, allocations: 111.4 kB / 0.6361 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.1605, allocations: 279 kB / 0.6364 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1605, allocations: 4 kB / 0.6364 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1605, allocations: 3.984 kB / 0.6364 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1605, allocations: 0 / 0.6364 GB, free: 0.6328 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.0008532/0.1614, allocations: 0.5103 MB / 0.6369 GB, free: 76 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1614, allocations: 8.031 kB / 0.6369 GB, free: 68 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.1615, allocations: 28.66 kB / 0.6369 GB, free: 40 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.1619, allocations: 256.7 kB / 0.6372 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1619, allocations: 16.38 kB / 0.6372 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.1619, allocations: 12.38 kB / 0.6372 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.1624, allocations: 232.8 kB / 0.6374 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1624, allocations: 0 / 0.6374 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.1624, allocations: 12 kB / 0.6374 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1624, allocations: 4 kB / 0.6374 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.1628, allocations: 139.9 kB / 0.6376 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/0.1637, allocations: 0.5893 MB / 0.6382 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.1641, allocations: 118.7 kB / 0.6383 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1642, allocations: 52.89 kB / 0.6383 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.1643, allocations: 12.11 kB / 0.6383 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1643, allocations: 34.56 kB / 0.6384 GB, free: 14.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.1643, allocations: 0 / 0.6384 GB, free: 14.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004657/0.1648, allocations: 165.4 kB / 0.6385 GB, free: 14.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.1649, allocations: 140.4 kB / 0.6387 GB, free: 14.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1651, allocations: 211 kB / 0.6389 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1651, allocations: 26.08 kB / 0.6389 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1652, allocations: 152.1 kB / 0.639 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1653, allocations: 31.64 kB / 0.6391 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.1653, allocations: 37.7 kB / 0.6391 GB, free: 13.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1655, allocations: 326.8 kB / 0.6394 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1656, allocations: 51.91 kB / 0.6395 GB, free: 13.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1657, allocations: 86.77 kB / 0.6395 GB, free: 13.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.166, allocations: 101.6 kB / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.166, allocations: 0 / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003209/0.1663, allocations: 157.3 kB / 0.6398 GB, free: 12.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1663, allocations: 4 kB / 0.6398 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1663, allocations: 4 kB / 0.6398 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1664, allocations: 0 / 0.6398 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1665, allocations: 23.95 kB / 0.6398 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1665, allocations: 0 / 0.6398 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.1667, allocations: 31.81 kB / 0.6398 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1667, allocations: 8 kB / 0.6399 GB, free: 12.82 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.0001347/0.1668, allocations: 133.8 kB / 0.64 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.1669, allocations: 15.81 kB / 0.64 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.1672, allocations: 147 kB / 0.6401 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1672, allocations: 3.938 kB / 0.6401 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.1673, allocations: 0 / 0.6401 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1673, allocations: 7.938 kB / 0.6401 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.1675, allocations: 261.5 kB / 0.6404 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1676, allocations: 0 / 0.6404 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.39e-05/0.1677, allocations: 15.98 kB / 0.6404 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1677, allocations: 0 / 0.6404 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1677, allocations: 7.984 kB / 0.6404 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1677, allocations: 7.938 kB / 0.6404 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1677, allocations: 0 / 0.6404 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.168, allocations: 223.3 kB / 0.6406 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.1681, allocations: 96.91 kB / 0.6407 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1681, allocations: 4.188 kB / 0.6407 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.1683, allocations: 27.91 kB / 0.6408 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.1684, allocations: 27.91 kB / 0.6408 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1684, allocations: 4 kB / 0.6408 GB, free: 11.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1685, allocations: 148.6 kB / 0.6409 GB, free: 11.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1685, allocations: 0 / 0.6409 GB, free: 11.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1688, allocations: 47.77 kB / 0.641 GB, free: 11.57 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.0001711/0.169, allocations: 111.2 kB / 0.6411 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.1693, allocations: 110.4 kB / 0.6412 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1693, allocations: 3.938 kB / 0.6412 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1695, allocations: 55.97 kB / 0.6413 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1698, allocations: 21.56 kB / 0.6413 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.1705, allocations: 354.8 kB / 0.6416 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1708, allocations: 0.7321 MB / 0.6423 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.1709, allocations: 23.42 kB / 0.6423 GB, free: 10.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1709, allocations: 0 / 0.6423 GB, free: 10.11 MB / 494.1 MB Notification: Performance of Templates: time 0.004714/0.1756, allocations: 2.387 MB / 0.6447 GB, free: 7.723 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)