Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 169.9 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007434/0.0007436, allocations: 84.48 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 8.844 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1851, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001932/0.1871, allocations: 1.775 MB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008348/0.188, allocations: 0.6006 MB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.1881, allocations: 3.938 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.1882, allocations: 19.8 kB / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.1883, allocations: 19.78 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1885, allocations: 75.94 kB / 0.8986 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1887, allocations: 208 kB / 0.8988 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.1889, allocations: 107.6 kB / 0.8989 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.189, allocations: 63.64 kB / 0.899 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.1891, allocations: 79.48 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1891, allocations: 4 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.421e-05/0.1892, allocations: 12 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1892, allocations: 39.83 kB / 0.8991 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.1893, allocations: 71.48 kB / 0.8992 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1895, allocations: 251 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1895, allocations: 0 / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1895, allocations: 0 / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1895, allocations: 0 / 0.8994 GB, free: 64.71 MB / 0.6042 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.000602/0.1901, allocations: 0.4909 MB / 0.8999 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1902, allocations: 8.031 kB / 0.8999 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.1902, allocations: 58.73 kB / 0.9 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.1903, allocations: 24.66 kB / 0.9 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1905, allocations: 248.7 kB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1906, allocations: 20.38 kB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1906, allocations: 16.38 kB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1909, allocations: 236.6 kB / 0.9005 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1909, allocations: 0 / 0.9005 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.191, allocations: 8 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.191, allocations: 8 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.1912, allocations: 151.7 kB / 0.9007 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.192, allocations: 0.6052 MB / 0.9013 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.1923, allocations: 122.7 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1924, allocations: 56.84 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.1925, allocations: 4 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.1925, allocations: 34.55 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1925, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003849/0.1929, allocations: 189.5 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1929, allocations: 128.5 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1931, allocations: 214.9 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1931, allocations: 41.62 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.1932, allocations: 144.1 kB / 0.9021 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1932, allocations: 31.55 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1932, allocations: 25.7 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.1933, allocations: 326.8 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1934, allocations: 51.97 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1935, allocations: 91.27 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1937, allocations: 101.7 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1937, allocations: 0 / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002488/0.194, allocations: 165.4 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.194, allocations: 7.984 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.194, allocations: 0 / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.194, allocations: 3.938 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.1941, allocations: 23.92 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1941, allocations: 0 / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1943, allocations: 43.86 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1943, allocations: 4 kB / 0.903 GB, free: 60.79 MB / 0.6042 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 9.307e-05/0.1944, allocations: 133.8 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1944, allocations: 15.81 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.1947, allocations: 155 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1947, allocations: 3.938 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1947, allocations: 0 / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1947, allocations: 3.984 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.1949, allocations: 269.5 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.195, allocations: 0 / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.195, allocations: 19.92 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1951, allocations: 8 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1951, allocations: 4 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1951, allocations: 8.406 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1951, allocations: 0 / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1953, allocations: 239.2 kB / 0.9038 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.1954, allocations: 100.9 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1954, allocations: 0 / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1956, allocations: 35.91 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.1956, allocations: 23.89 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1957, allocations: 8 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.43e-05/0.1957, allocations: 151.6 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1958, allocations: 0 / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002319/0.196, allocations: 39.84 kB / 0.9041 GB, free: 59.5 MB / 0.6042 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.0004514/0.1964, allocations: 0.7747 MB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.1967, allocations: 119.9 kB / 0.905 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1967, allocations: 0 / 0.905 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1969, allocations: 59.98 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1972, allocations: 24.3 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.199, allocations: 2.055 MB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.1991, allocations: 0.7358 MB / 0.9078 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.86e-05/0.1992, allocations: 25.45 kB / 0.9078 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.1993, allocations: 59.41 kB / 0.9079 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1993, allocations: 0 / 0.9079 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2204/0.4197, allocations: 3.516 MB / 0.9113 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.42, allocations: 254.8 kB / 0.9116 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.32, allocations: 2.578 kB / 0.9116 GB, free: 51.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)