Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005767/0.005767, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.0012/0.0012, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7829/0.7829, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.27 kB / 0.5814 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1602, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003372/0.1636, allocations: 2.036 MB / 0.6617 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1649, allocations: 0.5689 MB / 0.6622 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.165, allocations: 4 kB / 0.6622 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1652, allocations: 23.67 kB / 0.6623 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.1653, allocations: 39.59 kB / 0.6623 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1658, allocations: 75.84 kB / 0.6624 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.166, allocations: 228 kB / 0.6626 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.1663, allocations: 124.4 kB / 0.6627 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1664, allocations: 91.7 kB / 0.6628 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1666, allocations: 103.4 kB / 0.6629 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.1666, allocations: 24 kB / 0.6629 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.838e-05/0.1667, allocations: 39.98 kB / 0.6629 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.1668, allocations: 51.84 kB / 0.663 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.1669, allocations: 103.5 kB / 0.6631 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.1672, allocations: 279 kB / 0.6634 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1672, allocations: 4 kB / 0.6634 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1672, allocations: 0 / 0.6634 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.1672, allocations: 0 / 0.6634 GB, free: 6.469 MB / 0.4981 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.0007108/0.1679, allocations: 0.5103 MB / 0.6639 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.168, allocations: 8.031 kB / 0.6639 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.168, allocations: 24.66 kB / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.1684, allocations: 260.4 kB / 0.6641 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.1684, allocations: 12.38 kB / 0.6642 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.1684, allocations: 27.92 kB / 0.6642 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.1689, allocations: 213 kB / 0.6644 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1689, allocations: 0 / 0.6644 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1689, allocations: 12 kB / 0.6644 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.169, allocations: 8 kB / 0.6644 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.1693, allocations: 147.6 kB / 0.6645 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.1703, allocations: 0.5856 MB / 0.6651 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1706, allocations: 122.7 kB / 0.6652 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1708, allocations: 48.83 kB / 0.6653 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.1708, allocations: 0 / 0.6653 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1708, allocations: 42.56 kB / 0.6653 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.565e-06/0.1708, allocations: 0 / 0.6653 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004318/0.1713, allocations: 181.7 kB / 0.6655 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.1713, allocations: 128.5 kB / 0.6656 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1715, allocations: 207 kB / 0.6658 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1716, allocations: 33.7 kB / 0.6658 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.967e-05/0.1717, allocations: 148.1 kB / 0.666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1717, allocations: 31.64 kB / 0.666 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.1718, allocations: 33.7 kB / 0.666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1719, allocations: 326.8 kB / 0.6664 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.172, allocations: 47.97 kB / 0.6664 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1722, allocations: 90.52 kB / 0.6665 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.1724, allocations: 89.62 kB / 0.6666 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1724, allocations: 0 / 0.6666 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002949/0.1727, allocations: 156.8 kB / 0.6667 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1727, allocations: 7.938 kB / 0.6667 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1727, allocations: 0 / 0.6667 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1727, allocations: 0 / 0.6667 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1729, allocations: 28.02 kB / 0.6668 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1729, allocations: 0 / 0.6668 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.173, allocations: 27.81 kB / 0.6668 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.173, allocations: 4 kB / 0.6668 GB, free: 2.68 MB / 0.4981 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.0001244/0.1732, allocations: 137.8 kB / 0.6669 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.1732, allocations: 27.73 kB / 0.6669 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.1735, allocations: 147 kB / 0.6671 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1735, allocations: 0 / 0.6671 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1736, allocations: 0 / 0.6671 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1736, allocations: 0 / 0.6671 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.1738, allocations: 277.4 kB / 0.6674 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1738, allocations: 0 / 0.6674 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.1739, allocations: 15.98 kB / 0.6674 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.174, allocations: 3.938 kB / 0.6674 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.174, allocations: 3.984 kB / 0.6674 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.174, allocations: 4 kB / 0.6674 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.174, allocations: 8 kB / 0.6674 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.1743, allocations: 235.3 kB / 0.6676 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.1744, allocations: 92.86 kB / 0.6677 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.1744, allocations: 11.94 kB / 0.6677 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1746, allocations: 23.97 kB / 0.6677 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.1746, allocations: 19.97 kB / 0.6678 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1747, allocations: 8 kB / 0.6678 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001155/0.1748, allocations: 156.5 kB / 0.6679 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1748, allocations: 0 / 0.6679 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002788/0.1751, allocations: 35.91 kB / 0.6679 GB, free: 1.402 MB / 0.4981 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.0001395/0.1752, allocations: 115.2 kB / 0.6681 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.1755, allocations: 115.9 kB / 0.6682 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1755, allocations: 0 / 0.6682 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1757, allocations: 51.97 kB / 0.6682 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.176, allocations: 16 kB / 0.6682 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.1766, allocations: 324.9 kB / 0.6685 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1769, allocations: 0.732 MB / 0.6693 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.177, allocations: 21.42 kB / 0.6693 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.1771, allocations: 19.44 kB / 0.6693 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.1771, allocations: 0 / 0.6693 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.005043/0.1821, allocations: 2.185 MB / 0.6714 GB, free: 13.83 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)