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.0009632/0.0009631, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007285/0.007285, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.374/1.374, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005816/0.0005817, allocations: 21.84 kB / 0.6744 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2012, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002542/0.2037, allocations: 1.743 MB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2049, allocations: 0.5815 MB / 0.7903 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.2051, allocations: 4 kB / 0.7903 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.2052, allocations: 11.86 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.2053, allocations: 35.72 kB / 0.7903 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.2057, allocations: 63.95 kB / 0.7904 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.2059, allocations: 219.9 kB / 0.7906 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.2062, allocations: 100.3 kB / 0.7907 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2063, allocations: 63.7 kB / 0.7907 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2065, allocations: 75.5 kB / 0.7908 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.2065, allocations: 4 kB / 0.7908 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.2066, allocations: 19.98 kB / 0.7908 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.2067, allocations: 31.84 kB / 0.7909 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.676e-05/0.2068, allocations: 105.1 kB / 0.791 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.207, allocations: 247.4 kB / 0.7912 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.207, allocations: 0 / 0.7912 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2071, allocations: 0 / 0.7912 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.2071, allocations: 0 / 0.7912 GB, free: 8.156 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.0007337/0.2078, allocations: 498.6 kB / 0.7917 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2079, allocations: 8.031 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/0.2079, allocations: 62.67 kB / 0.7918 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.208, allocations: 28.59 kB / 0.7918 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.2083, allocations: 260.5 kB / 0.792 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2084, allocations: 12.38 kB / 0.792 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.2084, allocations: 16.38 kB / 0.7921 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.2088, allocations: 229.6 kB / 0.7923 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2088, allocations: 0 / 0.7923 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.2088, allocations: 12 kB / 0.7923 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2089, allocations: 4 kB / 0.7923 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.2092, allocations: 151.6 kB / 0.7924 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009428/0.2101, allocations: 0.6013 MB / 0.793 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.2105, allocations: 130.7 kB / 0.7931 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.2106, allocations: 52.84 kB / 0.7932 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.2107, allocations: 4 kB / 0.7932 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.2107, allocations: 38.5 kB / 0.7932 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.2107, allocations: 4 kB / 0.7932 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004583/0.2112, allocations: 181.5 kB / 0.7934 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.2113, allocations: 132.5 kB / 0.7935 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.2115, allocations: 204.2 kB / 0.7937 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2115, allocations: 37.7 kB / 0.7938 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2116, allocations: 148.1 kB / 0.7939 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.2117, allocations: 31.64 kB / 0.7939 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.2117, allocations: 21.7 kB / 0.794 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2118, allocations: 326.8 kB / 0.7943 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.212, allocations: 51.97 kB / 0.7943 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.2121, allocations: 96.2 kB / 0.7944 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.2123, allocations: 97.69 kB / 0.7945 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2124, allocations: 0 / 0.7945 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000311/0.2127, allocations: 164.5 kB / 0.7947 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2127, allocations: 4 kB / 0.7947 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2127, allocations: 0 / 0.7947 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2127, allocations: 7.969 kB / 0.7947 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2128, allocations: 24.02 kB / 0.7947 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2129, allocations: 0 / 0.7947 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.213, allocations: 47.75 kB / 0.7947 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.213, allocations: 4 kB / 0.7948 GB, free: 4.242 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.0001163/0.2132, allocations: 137.8 kB / 0.7949 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.2132, allocations: 19.8 kB / 0.7949 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.2135, allocations: 151 kB / 0.795 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2136, allocations: 3.938 kB / 0.795 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2136, allocations: 0 / 0.795 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2136, allocations: 480 / 0.7951 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.2139, allocations: 281.4 kB / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2139, allocations: 0 / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.214, allocations: 19.98 kB / 0.7953 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.214, allocations: 4 kB / 0.7953 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.214, allocations: 7.922 kB / 0.7953 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.214, allocations: 3.938 kB / 0.7954 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.214, allocations: 0 / 0.7954 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.2143, allocations: 243.2 kB / 0.7956 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.2144, allocations: 88.92 kB / 0.7957 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.2144, allocations: 4 kB / 0.7957 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.2146, allocations: 35.91 kB / 0.7957 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.2147, allocations: 19.97 kB / 0.7957 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2147, allocations: 11.92 kB / 0.7957 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001239/0.2148, allocations: 155.5 kB / 0.7959 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2148, allocations: 0 / 0.7959 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000266/0.2151, allocations: 39.84 kB / 0.7959 GB, free: 2.941 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.0006389/0.2157, allocations: 0.7786 MB / 0.7967 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.216, allocations: 115.9 kB / 0.7968 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2161, allocations: 0 / 0.7968 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2162, allocations: 64.09 kB / 0.7969 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.2165, allocations: 26.5 kB / 0.7969 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.2189, allocations: 2.068 MB / 0.7989 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2192, allocations: 0.7319 MB / 0.7996 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.722e-05/0.2193, allocations: 21.42 kB / 0.7996 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2195, allocations: 59.41 kB / 0.7997 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2195, allocations: 0 / 0.7997 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7428/0.9622, allocations: 3.513 MB / 0.8031 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.9626, allocations: 234.9 kB / 0.8033 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/3.279, allocations: 0 / 0.8033 GB, free: 11.38 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)