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.001595/0.001595, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.00177/0.001771, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.405/1.405, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.824/1.824, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001447/0.001447, allocations: 67.89 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2274, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00339/0.2309, allocations: 2.032 MB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2319, allocations: 0.6125 MB / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.878e-05/0.2321, allocations: 3.938 kB / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.2322, allocations: 19.73 kB / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.2323, allocations: 39.59 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.2327, allocations: 75.92 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.2329, allocations: 224 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.2331, allocations: 119.6 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.2333, allocations: 91.64 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2334, allocations: 95.53 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.2334, allocations: 24 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.2335, allocations: 32 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.2336, allocations: 59.81 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.709e-05/0.2337, allocations: 115.3 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.234, allocations: 259.4 kB / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.234, allocations: 8 kB / 0.7877 GB, free: 40 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.234, allocations: 0 / 0.7877 GB, free: 40 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2341, allocations: 0 / 0.7877 GB, free: 40 kB / 0.6544 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.4326/0.6666, allocations: 0.5156 MB / 0.7882 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.6667, allocations: 8.625 kB / 0.7883 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.6667, allocations: 27.09 kB / 0.7883 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.667, allocations: 251.4 kB / 0.7885 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.6671, allocations: 17.72 kB / 0.7885 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.6671, allocations: 14.78 kB / 0.7885 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.6675, allocations: 229.9 kB / 0.7888 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.6675, allocations: 0 / 0.7888 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.6675, allocations: 16.47 kB / 0.7888 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.6675, allocations: 2.688 kB / 0.7888 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.6678, allocations: 136.3 kB / 0.7889 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.6686, allocations: 0.595 MB / 0.7895 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.669, allocations: 121.8 kB / 0.7896 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.6691, allocations: 54.2 kB / 0.7897 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.6691, allocations: 2.625 kB / 0.7897 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.6691, allocations: 33.94 kB / 0.7897 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.6692, allocations: 0 / 0.7897 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004368/0.6696, allocations: 171.9 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.6696, allocations: 131.1 kB / 0.79 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.6698, allocations: 217.7 kB / 0.7902 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.6698, allocations: 35.44 kB / 0.7902 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.6699, allocations: 138 kB / 0.7904 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.67, allocations: 39.48 kB / 0.7904 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.67, allocations: 32.95 kB / 0.7904 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.6701, allocations: 328.9 kB / 0.7907 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.6702, allocations: 49.06 kB / 0.7908 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.6703, allocations: 81.84 kB / 0.7909 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.6705, allocations: 92.23 kB / 0.791 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6706, allocations: 2.312 kB / 0.791 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002713/0.6708, allocations: 156.9 kB / 0.7911 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6709, allocations: 4.281 kB / 0.7911 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6709, allocations: 0 / 0.7911 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.6709, allocations: 2.859 kB / 0.7911 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.671, allocations: 26.92 kB / 0.7911 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.671, allocations: 4.469 kB / 0.7911 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.6712, allocations: 32.7 kB / 0.7912 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.6712, allocations: 3.719 kB / 0.7912 GB, free: 47.29 MB / 0.6544 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.0001118/0.6713, allocations: 140.2 kB / 0.7913 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.6714, allocations: 18.83 kB / 0.7913 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.6717, allocations: 143.5 kB / 0.7915 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6717, allocations: 0.6875 kB / 0.7915 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6717, allocations: 7.188 kB / 0.7915 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.6717, allocations: 0 / 0.7915 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.672, allocations: 268.9 kB / 0.7917 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.672, allocations: 3.188 kB / 0.7917 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.6721, allocations: 14.89 kB / 0.7917 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6721, allocations: 3.406 kB / 0.7918 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.6721, allocations: 6.562 kB / 0.7918 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6721, allocations: 1.219 kB / 0.7918 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6721, allocations: 7.078 kB / 0.7918 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.6724, allocations: 225.4 kB / 0.792 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.6724, allocations: 96.17 kB / 0.7921 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.6725, allocations: 11.14 kB / 0.7921 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.6726, allocations: 18.38 kB / 0.7921 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.6727, allocations: 30.05 kB / 0.7921 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.6727, allocations: 9.031 kB / 0.7921 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001018/0.6729, allocations: 151.1 kB / 0.7923 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6729, allocations: 0 / 0.7923 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000271/0.6731, allocations: 34.88 kB / 0.7923 GB, free: 46.62 MB / 0.6544 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.0001742/0.6733, allocations: 115.8 kB / 0.7924 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.6736, allocations: 115.2 kB / 0.7925 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6736, allocations: 0 / 0.7925 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.6738, allocations: 50.7 kB / 0.7926 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.6741, allocations: 20.19 kB / 0.7926 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.6747, allocations: 368.1 kB / 0.793 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.6749, allocations: 0.7337 MB / 0.7937 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.6749, allocations: 23.53 kB / 0.7937 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.6749, allocations: 0 / 0.7937 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.00395/0.6789, allocations: 2.369 MB / 0.796 GB, free: 45.5 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (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)