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.001087/0.001087, allocations: 108 kB / 15.6 MB, free: 132 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.001693/0.001693, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.447/1.447, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001419/0.001419, allocations: 67.44 kB / 0.6716 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1919, allocations: 114.5 MB / 0.7835 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003089/0.1951, allocations: 2.037 MB / 0.7855 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.1961, allocations: 0.6086 MB / 0.7861 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.513e-05/0.1962, allocations: 4 kB / 0.7861 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.1963, allocations: 23.67 kB / 0.7861 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.1964, allocations: 31.67 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.1967, allocations: 83.84 kB / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.197, allocations: 228 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.1972, allocations: 116.3 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1974, allocations: 91.62 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1975, allocations: 95.55 kB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.1975, allocations: 24 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.1976, allocations: 35.98 kB / 0.7868 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.1977, allocations: 59.78 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.724e-05/0.1978, allocations: 103.5 kB / 0.7869 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1981, allocations: 267.4 kB / 0.7872 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1982, allocations: 0 / 0.7872 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.018e-06/0.1982, allocations: 0 / 0.7872 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.1982, allocations: 3.938 kB / 0.7872 GB, free: 9.668 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.0008188/0.199, allocations: 0.518 MB / 0.7877 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1991, allocations: 12.03 kB / 0.7877 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.1991, allocations: 54.73 kB / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1992, allocations: 28.66 kB / 0.7878 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1995, allocations: 260.5 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1995, allocations: 12.38 kB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1996, allocations: 16.38 kB / 0.7881 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.2, allocations: 217.8 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2, allocations: 3.938 kB / 0.7883 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.2, allocations: 12 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2, allocations: 4 kB / 0.7883 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.2003, allocations: 139.7 kB / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.2012, allocations: 0.5974 MB / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.2015, allocations: 122.7 kB / 0.7891 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.2016, allocations: 48.84 kB / 0.7892 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.2017, allocations: 4 kB / 0.7892 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2017, allocations: 42.5 kB / 0.7892 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.2017, allocations: 0 / 0.7892 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004555/0.2022, allocations: 169.5 kB / 0.7894 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.2023, allocations: 136.5 kB / 0.7895 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.2024, allocations: 206.9 kB / 0.7897 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.2025, allocations: 33.7 kB / 0.7897 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/0.2026, allocations: 144.2 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.2026, allocations: 35.55 kB / 0.7899 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.2027, allocations: 37.7 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2028, allocations: 326.8 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.2029, allocations: 51.91 kB / 0.7903 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2031, allocations: 84.27 kB / 0.7904 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2033, allocations: 92.19 kB / 0.7905 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2033, allocations: 0 / 0.7905 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002963/0.2036, allocations: 157.3 kB / 0.7906 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2036, allocations: 7.984 kB / 0.7906 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2037, allocations: 0 / 0.7906 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2037, allocations: 7.938 kB / 0.7906 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2038, allocations: 20.02 kB / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2038, allocations: 3.938 kB / 0.7907 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.2039, allocations: 31.83 kB / 0.7907 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.204, allocations: 4 kB / 0.7907 GB, free: 5.789 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.0001083/0.2041, allocations: 134.8 kB / 0.7908 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.2041, allocations: 15.81 kB / 0.7908 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.2045, allocations: 147 kB / 0.791 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2045, allocations: 3.938 kB / 0.791 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2045, allocations: 0 / 0.791 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2045, allocations: 4.453 kB / 0.791 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.2048, allocations: 265.5 kB / 0.7912 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2048, allocations: 0 / 0.7912 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.2049, allocations: 23.98 kB / 0.7913 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2049, allocations: 0 / 0.7913 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2049, allocations: 7.938 kB / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2049, allocations: 7.938 kB / 0.7913 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2049, allocations: 3.938 kB / 0.7913 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.2052, allocations: 223.3 kB / 0.7915 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.2053, allocations: 88.92 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.2053, allocations: 8 kB / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.2055, allocations: 27.91 kB / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.2056, allocations: 23.91 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2056, allocations: 7.984 kB / 0.7916 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001231/0.2057, allocations: 156.5 kB / 0.7918 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2057, allocations: 0 / 0.7918 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002675/0.206, allocations: 43.84 kB / 0.7918 GB, free: 4.523 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.0005882/0.2066, allocations: 0.7708 MB / 0.7926 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.2069, allocations: 115.9 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2069, allocations: 3.938 kB / 0.7927 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.207, allocations: 52.11 kB / 0.7927 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2074, allocations: 34.55 kB / 0.7928 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.2096, allocations: 1.978 MB / 0.7947 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.2099, allocations: 0.7319 MB / 0.7954 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.726e-05/0.21, allocations: 25.45 kB / 0.7954 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.2101, allocations: 63.41 kB / 0.7955 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.053e-06/0.2101, allocations: 0 / 0.7955 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4996/0.7096, allocations: 3.957 MB / 0.7994 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.495, allocations: 10.23 kB / 0.7994 GB, free: 12.8 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)