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.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001573/0.001573, allocations: 195.5 kB / 16.14 MB, free: 6.664 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.538/1.538, allocations: 205.1 MB / 222 MB, free: 4.992 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.647/1.647, allocations: 292.2 MB / 0.5484 GB, free: 13.62 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.001361/0.001362, allocations: 67.23 kB / 0.6708 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2289, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003715/0.2327, allocations: 2.085 MB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2339, allocations: 0.6009 MB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.234, allocations: 0 / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.2342, allocations: 11.86 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.013e-05/0.2343, allocations: 31.72 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.2346, allocations: 67.95 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.2348, allocations: 219.9 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.235, allocations: 96.31 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2352, allocations: 79.69 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.2353, allocations: 95.47 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.2353, allocations: 12 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.2354, allocations: 16 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.2355, allocations: 43.83 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.526e-05/0.2356, allocations: 99.39 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.2359, allocations: 251.4 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.2359, allocations: 4 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2359, allocations: 0 / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2359, allocations: 0 / 0.7863 GB, free: 10.27 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.000762/0.2367, allocations: 0.5181 MB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.2367, allocations: 8.031 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.2368, allocations: 28.59 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.2371, allocations: 260.4 kB / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2371, allocations: 16.31 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.2372, allocations: 24.38 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.2376, allocations: 229.8 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2376, allocations: 0 / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.2376, allocations: 4 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2376, allocations: 8 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.2379, allocations: 143.7 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008908/0.2388, allocations: 0.5973 MB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.2392, allocations: 122.7 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.2393, allocations: 44.84 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.2394, allocations: 4 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2394, allocations: 38.55 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.2394, allocations: 0 / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004645/0.2399, allocations: 165.6 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.24, allocations: 136.5 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.2402, allocations: 212.2 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2402, allocations: 33.69 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.2403, allocations: 144.2 kB / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2403, allocations: 31.55 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.2404, allocations: 37.7 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2405, allocations: 330.8 kB / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.2406, allocations: 43.98 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2408, allocations: 84.27 kB / 0.7894 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.241, allocations: 97.61 kB / 0.7895 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.241, allocations: 0 / 0.7895 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002936/0.2413, allocations: 149.4 kB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2413, allocations: 12 kB / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2413, allocations: 384 / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2414, allocations: 0 / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.2415, allocations: 23.92 kB / 0.7897 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2415, allocations: 0 / 0.7897 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.2416, allocations: 35.75 kB / 0.7897 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2417, allocations: 4 kB / 0.7897 GB, free: 6.457 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.0001213/0.2418, allocations: 141.8 kB / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.2418, allocations: 15.81 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.2422, allocations: 146.9 kB / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2422, allocations: 3.938 kB / 0.79 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2422, allocations: 4 kB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2422, allocations: 0 / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.2425, allocations: 269.5 kB / 0.7903 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2425, allocations: 4 kB / 0.7903 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.2426, allocations: 15.98 kB / 0.7903 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2426, allocations: 4 kB / 0.7903 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2426, allocations: 0 / 0.7903 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2426, allocations: 7.922 kB / 0.7903 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2426, allocations: 4 kB / 0.7903 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.2429, allocations: 227.2 kB / 0.7906 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.243, allocations: 104.9 kB / 0.7907 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.243, allocations: 4 kB / 0.7907 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2432, allocations: 19.92 kB / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.2432, allocations: 27.95 kB / 0.7907 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2433, allocations: 0 / 0.7907 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001275/0.2434, allocations: 159.5 kB / 0.7909 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2434, allocations: 0 / 0.7909 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002647/0.2437, allocations: 39.83 kB / 0.7909 GB, free: 5.184 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.0001592/0.2438, allocations: 115.4 kB / 0.791 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.2441, allocations: 115.8 kB / 0.7911 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2442, allocations: 0 / 0.7911 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.2443, allocations: 47.97 kB / 0.7912 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2447, allocations: 20 kB / 0.7912 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.2453, allocations: 402.7 kB / 0.7916 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.2456, allocations: 0.7322 MB / 0.7923 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.792e-05/0.2457, allocations: 17.41 kB / 0.7923 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.2458, allocations: 19.44 kB / 0.7923 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2458, allocations: 0 / 0.7923 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of Templates: time 0.004773/0.2505, allocations: 1.906 MB / 0.7942 GB, free: 1.785 MB / 0.6075 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)