Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.526/1.526, allocations: 287.4 MB / 302.6 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 174.4 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007552/0.0007552, allocations: 103.7 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003577, allocations: 10.72 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1703, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00185/0.1723, allocations: 1.677 MB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008162/0.1731, allocations: 0.5778 MB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.1732, allocations: 4 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.211e-05/0.1733, allocations: 11.86 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.1734, allocations: 27.72 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1736, allocations: 51.94 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1738, allocations: 200 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.174, allocations: 103.6 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.1741, allocations: 59.66 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.1742, allocations: 71.61 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1742, allocations: 11.94 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.1743, allocations: 11.98 kB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.1743, allocations: 27.86 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.1744, allocations: 57.58 kB / 0.9816 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1746, allocations: 207.8 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1746, allocations: 4 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1746, allocations: 0 / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1746, allocations: 0 / 0.9818 GB, free: 24.96 MB / 0.6198 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.0006159/0.1752, allocations: 494.6 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1753, allocations: 8.031 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.1753, allocations: 58.67 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.1754, allocations: 24.66 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1756, allocations: 264.6 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1757, allocations: 8.375 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1757, allocations: 20.36 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.1761, allocations: 233.5 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1761, allocations: 0 / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1761, allocations: 8 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1761, allocations: 4 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.1764, allocations: 151.9 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.1773, allocations: 0.6012 MB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.1776, allocations: 130.7 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1778, allocations: 48.84 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.1778, allocations: 8 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.1778, allocations: 34.56 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.1778, allocations: 0 / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004409/0.1783, allocations: 189.4 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.1783, allocations: 132.5 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1785, allocations: 207 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1785, allocations: 33.64 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.1786, allocations: 144.1 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1786, allocations: 31.62 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.1786, allocations: 4 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.1787, allocations: 330.8 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1788, allocations: 51.97 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.179, allocations: 93.33 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.1792, allocations: 94.69 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1792, allocations: 0 / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003014/0.1795, allocations: 162.5 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1795, allocations: 8.031 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1795, allocations: 4 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1796, allocations: 7.922 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1797, allocations: 19.98 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1797, allocations: 0 / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.1799, allocations: 40.2 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1799, allocations: 4 kB / 0.9853 GB, free: 21.1 MB / 0.6198 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 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.618e-05/0.18, allocations: 141.4 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.18, allocations: 15.81 kB / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.1804, allocations: 158.9 kB / 0.9856 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1804, allocations: 3.938 kB / 0.9856 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1804, allocations: 4 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1804, allocations: 3.984 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.1806, allocations: 265.4 kB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1806, allocations: 8 kB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1808, allocations: 16 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1808, allocations: 3.984 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1808, allocations: 0 / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1808, allocations: 7.938 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1808, allocations: 4.047 kB / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1811, allocations: 239.2 kB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.1811, allocations: 88.92 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1812, allocations: 4 kB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1814, allocations: 39.84 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.1815, allocations: 27.95 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1815, allocations: 0 / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.724e-05/0.1816, allocations: 152.3 kB / 0.9864 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1816, allocations: 4 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002682/0.1819, allocations: 47.83 kB / 0.9865 GB, free: 19.8 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004771/0.1824, allocations: 0.7788 MB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.1827, allocations: 111.9 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1827, allocations: 4 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1828, allocations: 59.97 kB / 0.9874 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1831, allocations: 30.52 kB / 0.9874 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1844, allocations: 1.065 MB / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.1845, allocations: 0.7396 MB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.893e-05/0.1846, allocations: 17.42 kB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.741e-05/0.1847, allocations: 63.41 kB / 0.9893 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.1847, allocations: 4 kB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4619/0.6466, allocations: 3.694 MB / 0.9929 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.6468, allocations: 225.3 kB / 0.9931 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.402, allocations: 4.062 kB / 0.9931 GB, free: 13.11 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)