Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_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.007442/0.007442, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001401/0.001401, allocations: 193.8 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7905/0.7905, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 68.17 kB / 0.5851 GB, free: 22.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1607, allocations: 80.92 MB / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003443/0.1641, allocations: 2.035 MB / 0.6662 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1653, allocations: 0.5728 MB / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.195e-05/0.1654, allocations: 4 kB / 0.6667 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1656, allocations: 23.67 kB / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.1657, allocations: 39.59 kB / 0.6668 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.166, allocations: 83.89 kB / 0.6669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1663, allocations: 224 kB / 0.6671 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.1665, allocations: 114.4 kB / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1666, allocations: 95.62 kB / 0.6673 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1668, allocations: 95.53 kB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.1668, allocations: 28 kB / 0.6674 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.1669, allocations: 32 kB / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.167, allocations: 55.78 kB / 0.6675 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1671, allocations: 111.4 kB / 0.6676 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1674, allocations: 279.5 kB / 0.6678 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1674, allocations: 0 / 0.6678 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1674, allocations: 0 / 0.6678 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1674, allocations: 0 / 0.6678 GB, free: 2.512 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.0007813/0.1682, allocations: 0.5144 MB / 0.6683 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1683, allocations: 13.09 kB / 0.6684 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.1683, allocations: 50.73 kB / 0.6684 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.1684, allocations: 32.59 kB / 0.6684 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1687, allocations: 256.5 kB / 0.6687 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.1688, allocations: 16.12 kB / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1688, allocations: 16 kB / 0.6687 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.1692, allocations: 228.7 kB / 0.6689 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1692, allocations: 0 / 0.6689 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1692, allocations: 8 kB / 0.6689 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1692, allocations: 4 kB / 0.6689 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.1695, allocations: 143.7 kB / 0.6691 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.1704, allocations: 0.5818 MB / 0.6696 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.1707, allocations: 118.7 kB / 0.6698 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1708, allocations: 48.91 kB / 0.6698 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.1709, allocations: 4 kB / 0.6698 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1709, allocations: 38.5 kB / 0.6698 GB, free: 276 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1709, allocations: 0 / 0.6698 GB, free: 276 kB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004438/0.1714, allocations: 169.6 kB / 0.67 GB, free: 100 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.723e-05/0.1715, allocations: 136.5 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1717, allocations: 212.1 kB / 0.6703 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.1717, allocations: 29.7 kB / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1719, allocations: 152 kB / 0.6705 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1719, allocations: 31.64 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.172, allocations: 33.7 kB / 0.6706 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1721, allocations: 330.8 kB / 0.6709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1722, allocations: 47.98 kB / 0.6709 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.1724, allocations: 88.27 kB / 0.671 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1726, allocations: 85.69 kB / 0.6711 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1726, allocations: 0 / 0.6711 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002896/0.1729, allocations: 160.9 kB / 0.6713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1729, allocations: 7.938 kB / 0.6713 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1729, allocations: 4.375 kB / 0.6713 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1729, allocations: 0 / 0.6713 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.173, allocations: 23.92 kB / 0.6713 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1731, allocations: 3.984 kB / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.1732, allocations: 31.77 kB / 0.6713 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.1732, allocations: 7.984 kB / 0.6713 GB, free: 14.65 MB / 0.5137 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.0001215/0.1733, allocations: 135.2 kB / 0.6715 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.1734, allocations: 23.75 kB / 0.6715 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.1737, allocations: 143 kB / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1737, allocations: 4 kB / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1737, allocations: 0 / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1738, allocations: 4 kB / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.174, allocations: 273.4 kB / 0.6719 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.174, allocations: 48 / 0.6719 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.1741, allocations: 19.97 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1741, allocations: 7.875 kB / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1742, allocations: 4 kB / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1742, allocations: 0 / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1742, allocations: 0 / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1745, allocations: 231.2 kB / 0.6721 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1746, allocations: 96.8 kB / 0.6722 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.1746, allocations: 11.94 kB / 0.6722 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1747, allocations: 19.97 kB / 0.6723 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.1748, allocations: 19.97 kB / 0.6723 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1748, allocations: 7.984 kB / 0.6723 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001283/0.175, allocations: 159.5 kB / 0.6724 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.175, allocations: 0 / 0.6724 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002562/0.1752, allocations: 39.91 kB / 0.6725 GB, free: 13.38 MB / 0.5137 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.0006365/0.1759, allocations: 0.7748 MB / 0.6732 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1762, allocations: 119.9 kB / 0.6734 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1762, allocations: 0 / 0.6734 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1763, allocations: 51.92 kB / 0.6734 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1767, allocations: 23.92 kB / 0.6734 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.1789, allocations: 1.975 MB / 0.6754 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1793, allocations: 0.7322 MB / 0.6761 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.569e-05/0.1793, allocations: 17.42 kB / 0.6761 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1795, allocations: 67.41 kB / 0.6761 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1795, allocations: 0 / 0.6761 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.201, allocations: 3.985 MB / 0.68 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.688, allocations: 21.56 kB / 0.6801 GB, free: 5.633 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)