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: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001233/0.001233, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.574/1.574, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0004775/0.0004776, allocations: 21.25 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1998, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002148/0.202, allocations: 1.682 MB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.203, allocations: 0.5701 MB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.2031, allocations: 7.938 kB / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.2032, allocations: 11.86 kB / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-05/0.2033, allocations: 35.88 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.2036, allocations: 51.94 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.2038, allocations: 124.3 kB / 0.7895 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2039, allocations: 86.78 kB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.204, allocations: 63.69 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2042, allocations: 71.61 kB / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.2042, allocations: 4 kB / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.2043, allocations: 20 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.017e-05/0.2043, allocations: 27.84 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.2044, allocations: 57.58 kB / 0.7899 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.2046, allocations: 199.7 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2046, allocations: 0 / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2046, allocations: 0 / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2046, allocations: 0 / 0.7901 GB, free: 8.941 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.0007023/0.2053, allocations: 0.4946 MB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2053, allocations: 12.03 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.2054, allocations: 23.72 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.2057, allocations: 251.2 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2058, allocations: 20 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.2058, allocations: 16 kB / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.2062, allocations: 225.4 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2062, allocations: 0 / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.2062, allocations: 8 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2063, allocations: 8 kB / 0.7911 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.2066, allocations: 151.7 kB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.2075, allocations: 0.6052 MB / 0.7918 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.2078, allocations: 122.7 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.2079, allocations: 8 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2079, allocations: 38.52 kB / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.2079, allocations: 0 / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004456/0.2083, allocations: 177.6 kB / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.2084, allocations: 136.5 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.2086, allocations: 208.2 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.2087, allocations: 29.7 kB / 0.7925 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.2087, allocations: 148.1 kB / 0.7926 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.2088, allocations: 31.55 kB / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-06/0.2088, allocations: 4 kB / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2089, allocations: 326.8 kB / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.209, allocations: 55.97 kB / 0.793 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.2092, allocations: 88.27 kB / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.2093, allocations: 51.55 kB / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.2093, allocations: 0 / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002784/0.2096, allocations: 161.4 kB / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2096, allocations: 4 kB / 0.7933 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2096, allocations: 4.328 kB / 0.7933 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2096, allocations: 8.031 kB / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2098, allocations: 15.98 kB / 0.7934 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2098, allocations: 4 kB / 0.7934 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.2099, allocations: 39.81 kB / 0.7934 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.2099, allocations: 4 kB / 0.7934 GB, free: 5.246 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 ($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 0.0001146/0.2101, allocations: 140.4 kB / 0.7935 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.2101, allocations: 19.8 kB / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.2104, allocations: 154.9 kB / 0.7937 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2104, allocations: 3.953 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2105, allocations: 4 kB / 0.7937 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2105, allocations: 4 kB / 0.7937 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.2107, allocations: 265.5 kB / 0.794 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2107, allocations: 0 / 0.794 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.2108, allocations: 27.98 kB / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2108, allocations: 0 / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2109, allocations: 3.984 kB / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2109, allocations: 0 / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.2109, allocations: 3.953 kB / 0.794 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.2112, allocations: 239.2 kB / 0.7942 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.2112, allocations: 96.83 kB / 0.7943 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.2113, allocations: 4 kB / 0.7943 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2114, allocations: 31.97 kB / 0.7944 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.2115, allocations: 27.91 kB / 0.7944 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.2115, allocations: 4 kB / 0.7944 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001157/0.2116, allocations: 151.5 kB / 0.7945 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.383e-06/0.2116, allocations: 0 / 0.7945 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002582/0.2119, allocations: 47.78 kB / 0.7946 GB, free: 3.945 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 (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.0001817/0.2121, allocations: 119.4 kB / 0.7947 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.2124, allocations: 115.8 kB / 0.7948 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2124, allocations: 0 / 0.7948 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.2125, allocations: 63.97 kB / 0.7949 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.2128, allocations: 18.44 kB / 0.7949 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.2134, allocations: 376.5 kB / 0.7952 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.2137, allocations: 0.7361 MB / 0.796 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.718e-05/0.2137, allocations: 17.45 kB / 0.796 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.2138, allocations: 27.42 kB / 0.796 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2138, allocations: 0 / 0.796 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of Templates: time 0.004315/0.2181, allocations: 1.813 MB / 0.7978 GB, free: 0.6445 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: