Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_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.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001154/0.001153, allocations: 186.7 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 66.38 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1723, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003031/0.1754, allocations: 2.094 MB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007617/0.1761, allocations: 0.5931 MB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.1762, allocations: 4 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.1763, allocations: 15.86 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.1764, allocations: 31.72 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1766, allocations: 63.94 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1768, allocations: 231.9 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.177, allocations: 112.3 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1771, allocations: 83.72 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1773, allocations: 107.5 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.1773, allocations: 27.94 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.1774, allocations: 32 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1774, allocations: 55.83 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.1775, allocations: 103.4 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1777, allocations: 263.4 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1778, allocations: 3.984 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1778, allocations: 4 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1778, allocations: 0 / 0.7867 GB, free: 9.953 MB / 0.6075 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.0006295/0.1784, allocations: 0.5181 MB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1784, allocations: 11.97 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.1785, allocations: 58.67 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.1785, allocations: 24.66 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1788, allocations: 256.4 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1788, allocations: 16.38 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.1789, allocations: 16.38 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1792, allocations: 225.6 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1792, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.1793, allocations: 8 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1793, allocations: 8 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.1795, allocations: 143.7 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.1803, allocations: 0.6012 MB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1806, allocations: 118.7 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1807, allocations: 52.89 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.1808, allocations: 4 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1808, allocations: 30.56 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1808, allocations: 0 / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003903/0.1812, allocations: 173.5 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.1813, allocations: 136.5 kB / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1814, allocations: 212.2 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1815, allocations: 29.7 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.1815, allocations: 140.2 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.1816, allocations: 31.55 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.1816, allocations: 37.7 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.1817, allocations: 326.8 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1818, allocations: 51.97 kB / 0.7898 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.182, allocations: 80.27 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1822, allocations: 93.62 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1822, allocations: 4 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002681/0.1825, allocations: 153.8 kB / 0.7901 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.1825, allocations: 4 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1825, allocations: 4 kB / 0.7901 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.1825, allocations: 3.938 kB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.1826, allocations: 19.92 kB / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1826, allocations: 0 / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.1828, allocations: 39.84 kB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1828, allocations: 7.938 kB / 0.7902 GB, free: 6.074 MB / 0.6075 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.0001038/0.1829, allocations: 133.8 kB / 0.7903 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.1829, allocations: 19.8 kB / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.1832, allocations: 143 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1832, allocations: 3.938 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1833, allocations: 8 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1833, allocations: 4 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.1835, allocations: 265.5 kB / 0.7907 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1835, allocations: 0 / 0.7907 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.1836, allocations: 15.98 kB / 0.7908 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1836, allocations: 0 / 0.7908 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1836, allocations: 11.98 kB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.1836, allocations: 3.938 kB / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1836, allocations: 0 / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1839, allocations: 227.2 kB / 0.791 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.184, allocations: 92.92 kB / 0.7911 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.184, allocations: 8 kB / 0.7911 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1841, allocations: 23.91 kB / 0.7911 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1842, allocations: 19.97 kB / 0.7911 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1842, allocations: 4 kB / 0.7911 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001032/0.1843, allocations: 167.5 kB / 0.7913 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1843, allocations: 0 / 0.7913 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002398/0.1846, allocations: 35.84 kB / 0.7913 GB, free: 4.812 MB / 0.6075 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.0005082/0.1851, allocations: 0.7787 MB / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.1854, allocations: 119.6 kB / 0.7922 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1854, allocations: 0 / 0.7922 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1855, allocations: 51.91 kB / 0.7923 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.1858, allocations: 23.94 kB / 0.7923 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1878, allocations: 2.047 MB / 0.7943 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.188, allocations: 0.7358 MB / 0.795 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.849e-05/0.1881, allocations: 17.42 kB / 0.795 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.367e-05/0.1882, allocations: 63.41 kB / 0.7951 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1882, allocations: 0 / 0.7951 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.291/3.479, allocations: 3.719 MB / 0.7987 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003567/3.479, allocations: 241.1 kB / 0.7989 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/5.376, allocations: 0 / 0.7989 GB, free: 13.06 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)