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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00548/0.00548, allocations: 103 kB / 15.73 MB, free: 5.988 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.001191/0.001191, allocations: 193.6 kB / 16.67 MB, free: 5.914 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7725/0.7725, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 68.22 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1527, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003616/0.1564, allocations: 2.035 MB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1577, allocations: 0.565 MB / 0.6617 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1579, allocations: 4 kB / 0.6617 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.1581, allocations: 23.67 kB / 0.6618 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1583, allocations: 39.59 kB / 0.6618 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1586, allocations: 83.89 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1589, allocations: 220 kB / 0.6621 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.1592, allocations: 123.3 kB / 0.6622 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.1594, allocations: 95.62 kB / 0.6623 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1595, allocations: 95.53 kB / 0.6624 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.1596, allocations: 27.94 kB / 0.6624 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.1597, allocations: 39.94 kB / 0.6625 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.1597, allocations: 51.84 kB / 0.6625 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1598, allocations: 111.4 kB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.1602, allocations: 275.6 kB / 0.6629 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1602, allocations: 3.938 kB / 0.6629 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1602, allocations: 0 / 0.6629 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.1602, allocations: 0 / 0.6629 GB, free: 6.965 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.0008408/0.1611, allocations: 0.5144 MB / 0.6634 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1611, allocations: 12.02 kB / 0.6634 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.118e-05/0.1612, allocations: 54.73 kB / 0.6634 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.1613, allocations: 24.66 kB / 0.6635 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1616, allocations: 256.5 kB / 0.6637 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1617, allocations: 16.12 kB / 0.6637 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1617, allocations: 16 kB / 0.6637 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.1621, allocations: 220.9 kB / 0.664 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1621, allocations: 0 / 0.664 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.1621, allocations: 12 kB / 0.664 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1621, allocations: 4 kB / 0.664 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.1624, allocations: 139.7 kB / 0.6641 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.1634, allocations: 0.5896 MB / 0.6647 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.1637, allocations: 122.7 kB / 0.6648 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1639, allocations: 48.84 kB / 0.6648 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.1639, allocations: 4 kB / 0.6648 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1639, allocations: 38.5 kB / 0.6649 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 4.378e-06/0.164, allocations: 0 / 0.6649 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004568/0.1644, allocations: 169.5 kB / 0.665 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.1645, allocations: 136.5 kB / 0.6652 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1647, allocations: 211 kB / 0.6654 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1647, allocations: 30.08 kB / 0.6654 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1648, allocations: 148.1 kB / 0.6655 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1649, allocations: 35.58 kB / 0.6656 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.165, allocations: 33.7 kB / 0.6656 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1651, allocations: 334.8 kB / 0.6659 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1652, allocations: 47.98 kB / 0.666 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1654, allocations: 88.27 kB / 0.6661 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1656, allocations: 85.69 kB / 0.6661 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1656, allocations: 0 / 0.6661 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003044/0.1659, allocations: 161.3 kB / 0.6663 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1659, allocations: 7.938 kB / 0.6663 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1659, allocations: 4 kB / 0.6663 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.166, allocations: 0 / 0.6663 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1661, allocations: 19.92 kB / 0.6663 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1661, allocations: 0 / 0.6663 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1662, allocations: 27.92 kB / 0.6664 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1663, allocations: 7.984 kB / 0.6664 GB, free: 3.105 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.0001334/0.1664, allocations: 133.9 kB / 0.6665 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.1664, allocations: 23.66 kB / 0.6665 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.1668, allocations: 147 kB / 0.6666 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1668, allocations: 0 / 0.6666 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.1668, allocations: 4 kB / 0.6667 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1668, allocations: 4 kB / 0.6667 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.1671, allocations: 261.5 kB / 0.6669 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1671, allocations: 8 kB / 0.6669 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.361e-05/0.1672, allocations: 15.98 kB / 0.6669 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1672, allocations: 3.938 kB / 0.6669 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1672, allocations: 7.938 kB / 0.6669 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1672, allocations: 0 / 0.6669 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1672, allocations: 0 / 0.6669 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.1675, allocations: 227.2 kB / 0.6672 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.1676, allocations: 108.7 kB / 0.6673 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1676, allocations: 4.188 kB / 0.6673 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.1678, allocations: 19.97 kB / 0.6673 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1679, allocations: 27.91 kB / 0.6673 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1679, allocations: 3.984 kB / 0.6673 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001168/0.168, allocations: 160.5 kB / 0.6675 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.168, allocations: 0 / 0.6675 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002763/0.1683, allocations: 35.91 kB / 0.6675 GB, free: 1.84 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.0005783/0.1689, allocations: 0.7747 MB / 0.6683 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.1692, allocations: 119.3 kB / 0.6684 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1692, allocations: 4 kB / 0.6684 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1693, allocations: 51.92 kB / 0.6684 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.1697, allocations: 26.7 kB / 0.6685 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.1719, allocations: 1.973 MB / 0.6704 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1722, allocations: 0.7399 MB / 0.6711 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.286e-05/0.1723, allocations: 21.45 kB / 0.6711 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1725, allocations: 67.34 kB / 0.6712 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1725, allocations: 0 / 0.6712 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.1931, allocations: 4.066 MB / 0.6752 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/7.917, allocations: 1.078 kB / 0.6752 GB, free: 10.06 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)