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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 188.5 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205 MB / 0.6353 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009664/0.0009664, allocations: 98.69 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2784, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00441/0.2828, allocations: 2.093 MB / 0.9843 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.2843, allocations: 0.5893 MB / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.2845, allocations: 4 kB / 0.9849 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.2847, allocations: 15.8 kB / 0.9849 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.2849, allocations: 23.78 kB / 0.9849 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.2853, allocations: 71.94 kB / 0.985 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000324/0.2856, allocations: 216 kB / 0.9852 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.2859, allocations: 111.6 kB / 0.9853 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.2861, allocations: 71.66 kB / 0.9853 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.2863, allocations: 99.45 kB / 0.9854 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.2864, allocations: 12 kB / 0.9854 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.2865, allocations: 24 kB / 0.9855 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.2866, allocations: 39.83 kB / 0.9855 GB, free: 7 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.2867, allocations: 91.45 kB / 0.9856 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.2871, allocations: 259.3 kB / 0.9858 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2871, allocations: 0 / 0.9858 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2871, allocations: 3.938 kB / 0.9858 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.2871, allocations: 0 / 0.9858 GB, free: 6.652 MB / 0.7136 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.0009751/0.2881, allocations: 0.5259 MB / 0.9864 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2882, allocations: 8.031 kB / 0.9864 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.2883, allocations: 24.66 kB / 0.9864 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.2887, allocations: 252.6 kB / 0.9866 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.2887, allocations: 16.38 kB / 0.9866 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.2887, allocations: 16.38 kB / 0.9867 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.2892, allocations: 237.5 kB / 0.9869 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2892, allocations: 4 kB / 0.9869 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.2893, allocations: 12 kB / 0.9869 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2893, allocations: 4 kB / 0.9869 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.2896, allocations: 135.9 kB / 0.987 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2907, allocations: 0.5971 MB / 0.9876 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.2911, allocations: 122.7 kB / 0.9877 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2912, allocations: 48.84 kB / 0.9878 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.2913, allocations: 3.984 kB / 0.9878 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.2913, allocations: 38.56 kB / 0.9878 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.2913, allocations: 0 / 0.9878 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005044/0.2918, allocations: 165.6 kB / 0.988 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.2919, allocations: 132.5 kB / 0.9881 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.2922, allocations: 216.1 kB / 0.9883 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2922, allocations: 33.7 kB / 0.9883 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.2923, allocations: 140.2 kB / 0.9885 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.2924, allocations: 39.48 kB / 0.9885 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.2925, allocations: 41.69 kB / 0.9886 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2926, allocations: 330.8 kB / 0.9889 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.2927, allocations: 43.98 kB / 0.9889 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.2929, allocations: 84.25 kB / 0.989 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.2931, allocations: 90.06 kB / 0.9891 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2931, allocations: 0 / 0.9891 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003242/0.2934, allocations: 157.7 kB / 0.9892 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2934, allocations: 8 kB / 0.9892 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2935, allocations: 7.922 kB / 0.9892 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2935, allocations: 0 / 0.9892 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.2936, allocations: 27.89 kB / 0.9893 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2936, allocations: 4 kB / 0.9893 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.2938, allocations: 31.81 kB / 0.9893 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.2938, allocations: 4 kB / 0.9893 GB, free: 2.828 MB / 0.7136 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.0001339/0.2939, allocations: 133.8 kB / 0.9894 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.294, allocations: 15.81 kB / 0.9895 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.2943, allocations: 151 kB / 0.9896 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.2944, allocations: 7.938 kB / 0.9896 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2944, allocations: 0 / 0.9896 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2944, allocations: 0 / 0.9896 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.2947, allocations: 265.5 kB / 0.9899 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2947, allocations: 0 / 0.9899 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.2948, allocations: 15.98 kB / 0.9899 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2948, allocations: 0 / 0.9899 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2948, allocations: 4 kB / 0.9899 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.2948, allocations: 19.86 kB / 0.9899 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2948, allocations: 0 / 0.9899 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/0.2956, allocations: 0.8408 MB / 0.9907 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.2957, allocations: 92.91 kB / 0.9908 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.2957, allocations: 12 kB / 0.9908 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.2959, allocations: 15.98 kB / 0.9908 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.296, allocations: 23.95 kB / 0.9909 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.296, allocations: 7.938 kB / 0.9909 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001346/0.2961, allocations: 151.4 kB / 0.991 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2961, allocations: 192 / 0.991 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003767/0.2965, allocations: 47.83 kB / 0.9911 GB, free: 0.9062 MB / 0.7136 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.0001767/0.2967, allocations: 115.1 kB / 0.9912 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.297, allocations: 107.9 kB / 0.9913 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2971, allocations: 0 / 0.9913 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.2972, allocations: 51.97 kB / 0.9913 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.2976, allocations: 19.94 kB / 0.9913 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.2984, allocations: 0.5238 MB / 0.9918 GB, free: 52 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.2988, allocations: 0.74 MB / 0.9926 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.716e-05/0.2989, allocations: 17.45 kB / 0.9926 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.299, allocations: 19.42 kB / 0.9926 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.299, allocations: 0 / 0.9926 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.005287/0.3043, allocations: 1.981 MB / 0.9945 GB, free: 13.28 MB / 0.7292 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)