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.00113/0.001131, allocations: 105.2 kB / 16.41 MB, free: 6.469 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.001143/0.001143, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7692/0.7692, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.72 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003345/0.1547, allocations: 2.034 MB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1559, allocations: 0.5727 MB / 0.6629 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.1561, allocations: 0 / 0.6629 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.1563, allocations: 19.73 kB / 0.6629 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1564, allocations: 43.59 kB / 0.6629 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.1567, allocations: 75.92 kB / 0.663 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.157, allocations: 231.9 kB / 0.6632 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.1573, allocations: 124.4 kB / 0.6634 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.1575, allocations: 91.62 kB / 0.6634 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1576, allocations: 91.55 kB / 0.6635 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.1577, allocations: 31.94 kB / 0.6636 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.1578, allocations: 39.98 kB / 0.6636 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.1578, allocations: 51.83 kB / 0.6637 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1579, allocations: 107.4 kB / 0.6638 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.1583, allocations: 275 kB / 0.664 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1583, allocations: 0 / 0.664 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1583, allocations: 0 / 0.664 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.1583, allocations: 0 / 0.664 GB, free: 6.504 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.0008262/0.1591, allocations: 0.5142 MB / 0.6645 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1592, allocations: 8.031 kB / 0.6645 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.1593, allocations: 28.66 kB / 0.6646 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.1596, allocations: 260.5 kB / 0.6648 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1596, allocations: 8.375 kB / 0.6648 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1597, allocations: 27.94 kB / 0.6648 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.1601, allocations: 217 kB / 0.665 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1601, allocations: 0 / 0.665 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.1601, allocations: 8 kB / 0.6651 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1601, allocations: 4 kB / 0.6651 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.1604, allocations: 147.7 kB / 0.6652 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.1614, allocations: 0.5817 MB / 0.6658 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.1618, allocations: 126.7 kB / 0.6659 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.1619, allocations: 44.84 kB / 0.6659 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.162, allocations: 4 kB / 0.6659 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.162, allocations: 34.56 kB / 0.666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.162, allocations: 0 / 0.666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004952/0.1625, allocations: 177.8 kB / 0.6661 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.1626, allocations: 140.4 kB / 0.6663 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1628, allocations: 207.1 kB / 0.6665 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1629, allocations: 33.64 kB / 0.6665 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.163, allocations: 152.1 kB / 0.6666 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.163, allocations: 27.64 kB / 0.6667 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.1631, allocations: 33.7 kB / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1633, allocations: 330.8 kB / 0.667 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1634, allocations: 47.97 kB / 0.6671 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.1636, allocations: 88.27 kB / 0.6671 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.1638, allocations: 89.62 kB / 0.6672 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1638, allocations: 4 kB / 0.6672 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003028/0.1641, allocations: 148.8 kB / 0.6674 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1641, allocations: 13.64 kB / 0.6674 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1641, allocations: 4 kB / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1642, allocations: 0 / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1643, allocations: 27.92 kB / 0.6674 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1643, allocations: 0 / 0.6674 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1644, allocations: 31.86 kB / 0.6675 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.1645, allocations: 4 kB / 0.6675 GB, free: 2.703 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.0001268/0.1646, allocations: 137.8 kB / 0.6676 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.1646, allocations: 23.78 kB / 0.6676 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.165, allocations: 139 kB / 0.6677 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.165, allocations: 0 / 0.6677 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.165, allocations: 4 kB / 0.6677 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.165, allocations: 7.984 kB / 0.6678 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1653, allocations: 273.4 kB / 0.668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1653, allocations: 0 / 0.668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.912e-05/0.1654, allocations: 19.92 kB / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1654, allocations: 3.938 kB / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1654, allocations: 4 kB / 0.668 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1654, allocations: 0 / 0.668 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1655, allocations: 0 / 0.668 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1658, allocations: 235.3 kB / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.1658, allocations: 96.8 kB / 0.6684 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.1659, allocations: 11.94 kB / 0.6684 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.166, allocations: 19.97 kB / 0.6684 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.1661, allocations: 19.97 kB / 0.6684 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1661, allocations: 11.98 kB / 0.6684 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001236/0.1663, allocations: 160.5 kB / 0.6686 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1663, allocations: 0 / 0.6686 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002715/0.1665, allocations: 35.91 kB / 0.6686 GB, free: 1.43 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.0001615/0.1667, allocations: 107.2 kB / 0.6687 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.167, allocations: 111.9 kB / 0.6688 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.167, allocations: 0 / 0.6688 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1672, allocations: 59.98 kB / 0.6689 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1675, allocations: 23.97 kB / 0.6689 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.1682, allocations: 338.7 kB / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1685, allocations: 0.7397 MB / 0.6699 GB, free: 16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.1685, allocations: 23.42 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1685, allocations: 0 / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of Templates: time 0.004576/0.1731, allocations: 2.382 MB / 0.6723 GB, free: 13.61 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)