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.001363/0.001363, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9282/0.9282, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 66.09 kB / 0.5055 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1456, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003348/0.149, allocations: 2.024 MB / 0.5865 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.15, allocations: 0.5688 MB / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1502, allocations: 4 kB / 0.587 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.1503, allocations: 23.67 kB / 0.587 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.292e-05/0.1504, allocations: 39.59 kB / 0.5871 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1507, allocations: 79.91 kB / 0.5872 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.151, allocations: 227.9 kB / 0.5874 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.1512, allocations: 115.6 kB / 0.5875 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1513, allocations: 87.64 kB / 0.5876 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1515, allocations: 107.5 kB / 0.5877 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.1515, allocations: 24 kB / 0.5877 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.1516, allocations: 35.98 kB / 0.5877 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.1517, allocations: 51.78 kB / 0.5878 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1518, allocations: 103.4 kB / 0.5879 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.1521, allocations: 275.4 kB / 0.5881 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1521, allocations: 0 / 0.5881 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1521, allocations: 0 / 0.5881 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1521, allocations: 3.938 kB / 0.5881 GB, free: 0.6836 MB / 494.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.0007907/0.1529, allocations: 0.5181 MB / 0.5887 GB, free: 120 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.153, allocations: 8.031 kB / 0.5887 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.153, allocations: 50.73 kB / 0.5887 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.1531, allocations: 24.66 kB / 0.5887 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.1534, allocations: 248.7 kB / 0.589 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.1535, allocations: 16.38 kB / 0.589 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1535, allocations: 19.94 kB / 0.589 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.1539, allocations: 232.5 kB / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1539, allocations: 0 / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.1539, allocations: 4 kB / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.154, allocations: 4 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.1543, allocations: 139.9 kB / 0.5894 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.1552, allocations: 0.6049 MB / 0.59 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.1555, allocations: 114.7 kB / 0.5901 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1557, allocations: 56.83 kB / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.1557, allocations: 4 kB / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.1557, allocations: 30.56 kB / 0.5902 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1557, allocations: 0 / 0.5902 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004607/0.1562, allocations: 173.8 kB / 0.5903 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.1563, allocations: 136.5 kB / 0.5905 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.1565, allocations: 219 kB / 0.5907 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1565, allocations: 33.64 kB / 0.5907 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.1566, allocations: 140.2 kB / 0.5908 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1566, allocations: 31.55 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.1567, allocations: 37.7 kB / 0.5909 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1568, allocations: 322.8 kB / 0.5912 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.157, allocations: 51.97 kB / 0.5912 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1571, allocations: 88.27 kB / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1573, allocations: 93.62 kB / 0.5914 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1574, allocations: 0 / 0.5914 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003164/0.1577, allocations: 156.2 kB / 0.5916 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1577, allocations: 11.97 kB / 0.5916 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1577, allocations: 4 kB / 0.5916 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1577, allocations: 0 / 0.5916 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1578, allocations: 19.92 kB / 0.5916 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1579, allocations: 0 / 0.5916 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.158, allocations: 31.81 kB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.158, allocations: 8 kB / 0.5916 GB, free: 12.81 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.0001141/0.1582, allocations: 133.8 kB / 0.5918 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.1582, allocations: 27.77 kB / 0.5918 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.1586, allocations: 143 kB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1586, allocations: 0 / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1586, allocations: 0 / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1586, allocations: 4 kB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.1589, allocations: 265.5 kB / 0.5922 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1589, allocations: 0 / 0.5922 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.159, allocations: 23.92 kB / 0.5922 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.159, allocations: 3.938 kB / 0.5922 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.159, allocations: 7.984 kB / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.159, allocations: 0 / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.159, allocations: 0 / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.1593, allocations: 231.3 kB / 0.5924 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.1594, allocations: 92.92 kB / 0.5925 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.1594, allocations: 11.94 kB / 0.5925 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.1596, allocations: 23.97 kB / 0.5926 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.1597, allocations: 19.97 kB / 0.5926 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1597, allocations: 8 kB / 0.5926 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001177/0.1598, allocations: 151.2 kB / 0.5927 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1598, allocations: 0 / 0.5927 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002759/0.1601, allocations: 39.84 kB / 0.5928 GB, free: 11.55 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.0006138/0.1607, allocations: 0.7798 MB / 0.5935 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.1611, allocations: 107.9 kB / 0.5936 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1611, allocations: 8 kB / 0.5936 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.1612, allocations: 55.91 kB / 0.5937 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1615, allocations: 16 kB / 0.5937 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.1641, allocations: 1.987 MB / 0.5957 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1644, allocations: 0.7283 MB / 0.5964 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.052e-05/0.1645, allocations: 21.42 kB / 0.5964 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1647, allocations: 63.41 kB / 0.5965 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1647, allocations: 0 / 0.5965 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.1837, allocations: 3.936 MB / 0.6003 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.574, allocations: 13.84 kB / 0.6003 GB, free: 3.883 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)