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.001498/0.001498, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002282/0.002282, allocations: 188.7 kB / 16.25 MB, free: 6.629 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.57/1.57, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.709/1.709, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.00133/0.00133, allocations: 64.83 kB / 0.671 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2513, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003327/0.2547, allocations: 2.082 MB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2558, allocations: 0.5892 MB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.2559, allocations: 4 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2561, allocations: 19.8 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.2561, allocations: 27.78 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2565, allocations: 71.94 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.2567, allocations: 223.9 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.2569, allocations: 120.3 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2571, allocations: 83.66 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.2572, allocations: 103.5 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.2573, allocations: 24 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.2573, allocations: 32 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.2574, allocations: 55.83 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.2575, allocations: 107.3 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.2578, allocations: 267.4 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2579, allocations: 0 / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2579, allocations: 4 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.2579, allocations: 0 / 0.7866 GB, free: 10.07 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.0008224/0.2587, allocations: 0.518 MB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2588, allocations: 8.031 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.2588, allocations: 32.66 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.2592, allocations: 256.4 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2592, allocations: 12.38 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.2593, allocations: 20.38 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.2597, allocations: 229.7 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2597, allocations: 0 / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.2597, allocations: 11.94 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2597, allocations: 4 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.26, allocations: 147.7 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009115/0.261, allocations: 0.5896 MB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.2613, allocations: 122.7 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.2614, allocations: 48.83 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.2615, allocations: 3.984 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.2615, allocations: 38.56 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.2615, allocations: 0 / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004277/0.262, allocations: 165.6 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.2621, allocations: 140.4 kB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2623, allocations: 208.2 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2623, allocations: 33.7 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/0.2624, allocations: 148.1 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.2624, allocations: 27.64 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.2625, allocations: 33.7 kB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2626, allocations: 326.8 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.2628, allocations: 51.97 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.2629, allocations: 84.27 kB / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.2631, allocations: 89.44 kB / 0.7898 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2631, allocations: 0 / 0.7898 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.2634, allocations: 161.3 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2635, allocations: 6.656 kB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2635, allocations: 48 / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2635, allocations: 3.984 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2636, allocations: 31.86 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2636, allocations: 0 / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.2638, allocations: 27.81 kB / 0.79 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2638, allocations: 8.031 kB / 0.79 GB, free: 6.262 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.0001137/0.2639, allocations: 134.2 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.264, allocations: 23.75 kB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.2643, allocations: 150.9 kB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2643, allocations: 3.938 kB / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2643, allocations: 0 / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2643, allocations: 0 / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.2647, allocations: 273.5 kB / 0.7906 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2647, allocations: 0 / 0.7906 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.2648, allocations: 19.98 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2648, allocations: 3.938 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2648, allocations: 3.984 kB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2648, allocations: 3.938 kB / 0.7906 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2648, allocations: 4 kB / 0.7906 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.2652, allocations: 227.3 kB / 0.7908 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2652, allocations: 92.91 kB / 0.7909 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.2653, allocations: 8 kB / 0.7909 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.2654, allocations: 23.91 kB / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.2655, allocations: 23.97 kB / 0.791 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2655, allocations: 4 kB / 0.791 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001341/0.2657, allocations: 151.5 kB / 0.7911 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2657, allocations: 0 / 0.7911 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002758/0.266, allocations: 43.84 kB / 0.7912 GB, free: 4.992 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.0001645/0.2661, allocations: 119.2 kB / 0.7913 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003073/0.2664, allocations: 107.9 kB / 0.7914 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2665, allocations: 0 / 0.7914 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.2666, allocations: 64.03 kB / 0.7914 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.267, allocations: 20.06 kB / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.2676, allocations: 396.8 kB / 0.7918 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.268, allocations: 0.7319 MB / 0.7926 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.855e-05/0.268, allocations: 21.41 kB / 0.7926 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.2681, allocations: 15.44 kB / 0.7926 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.2681, allocations: 4 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.004568/0.2727, allocations: 1.998 MB / 0.7945 GB, free: 1.488 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)