Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.566/1.566, allocations: 288.4 MB / 303.6 MB, free: 8.176 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.0009927/0.0009928, allocations: 184.4 kB / 372.3 MB, free: 10.12 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.361/1.361, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007406/0.0007402, allocations: 98.23 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004199, allocations: 12.38 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1837, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002036/0.1858, allocations: 1.686 MB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009748/0.1868, allocations: 0.5737 MB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.187, allocations: 0 / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.1871, allocations: 19.8 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.422e-05/0.1872, allocations: 27.72 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1875, allocations: 51.94 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1877, allocations: 196 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.1879, allocations: 111.6 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1881, allocations: 59.66 kB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1882, allocations: 71.61 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.1882, allocations: 4 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.1883, allocations: 16 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.1883, allocations: 31.84 kB / 0.983 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.1884, allocations: 105.2 kB / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1886, allocations: 199.8 kB / 0.9833 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1886, allocations: 0 / 0.9833 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.615e-06/0.1886, allocations: 4 kB / 0.9833 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1886, allocations: 0 / 0.9833 GB, free: 24.07 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.0006864/0.1893, allocations: 499.6 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1894, allocations: 12.03 kB / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/0.1895, allocations: 50.73 kB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.1895, allocations: 28.66 kB / 0.9838 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.1898, allocations: 252.6 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1898, allocations: 12.38 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1899, allocations: 24.38 kB / 0.9841 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1902, allocations: 228.8 kB / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1903, allocations: 0 / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1903, allocations: 8 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1903, allocations: 4 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.1906, allocations: 156.4 kB / 0.9845 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.1914, allocations: 0.6012 MB / 0.9851 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.1917, allocations: 126.8 kB / 0.9852 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1918, allocations: 56.97 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.1919, allocations: 7.922 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1919, allocations: 42.55 kB / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1919, allocations: 0 / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004182/0.1924, allocations: 185.2 kB / 0.9855 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1924, allocations: 132.5 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1926, allocations: 203 kB / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1926, allocations: 37.69 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.1927, allocations: 148.1 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1927, allocations: 23.66 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.1927, allocations: 0 / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.1927, allocations: 330.8 kB / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1929, allocations: 51.98 kB / 0.9864 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.193, allocations: 84.27 kB / 0.9864 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1932, allocations: 108 kB / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1932, allocations: 0 / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002691/0.1935, allocations: 165.4 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1935, allocations: 4 kB / 0.9867 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1935, allocations: 4 kB / 0.9867 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1935, allocations: 3.938 kB / 0.9867 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1936, allocations: 23.98 kB / 0.9867 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1937, allocations: 0 / 0.9867 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.1938, allocations: 43.84 kB / 0.9868 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.1938, allocations: 4 kB / 0.9868 GB, free: 20.2 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.544e-05/0.1939, allocations: 139.2 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.194, allocations: 19.81 kB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.1943, allocations: 155.3 kB / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1943, allocations: 7.875 kB / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1943, allocations: 0 / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1943, allocations: 0 / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.1945, allocations: 277.4 kB / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1946, allocations: 0 / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.1947, allocations: 15.98 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1947, allocations: 0 / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1947, allocations: 4 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1947, allocations: 11.88 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1947, allocations: 0 / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.195, allocations: 235.2 kB / 0.9876 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.195, allocations: 88.92 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.195, allocations: 15.98 kB / 0.9877 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1952, allocations: 27.92 kB / 0.9877 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1953, allocations: 23.95 kB / 0.9877 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1953, allocations: 7.984 kB / 0.9878 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.476e-05/0.1954, allocations: 148.7 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1954, allocations: 0 / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002558/0.1957, allocations: 43.84 kB / 0.9879 GB, free: 18.91 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.0004578/0.1961, allocations: 0.7789 MB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.1964, allocations: 115.8 kB / 0.9888 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1964, allocations: 0 / 0.9888 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.1965, allocations: 67.97 kB / 0.9889 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1969, allocations: 22.58 kB / 0.9889 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.1983, allocations: 1.079 MB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.1985, allocations: 0.7396 MB / 0.9907 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.997e-05/0.1986, allocations: 21.45 kB / 0.9907 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.614e-05/0.1987, allocations: 59.41 kB / 0.9907 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.1987, allocations: 4 kB / 0.9908 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05545/0.2541, allocations: 3.722 MB / 0.9944 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/0.2543, allocations: 240.1 kB / 0.9946 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.137, allocations: 0 / 0.9946 GB, free: 12.18 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)