Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001022/0.001022, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006403/0.006403, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003402, allocations: 21.09 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2975, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00226/0.2998, allocations: 1.732 MB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3008, allocations: 0.5455 MB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.301, allocations: 7.938 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.3011, allocations: 11.86 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.3012, allocations: 31.78 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3015, allocations: 75.86 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.3018, allocations: 200 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.302, allocations: 107.6 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3021, allocations: 63.59 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.3023, allocations: 79.55 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3023, allocations: 8 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.3024, allocations: 15.98 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.3024, allocations: 35.78 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.605e-05/0.3025, allocations: 105.1 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3028, allocations: 251.3 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3028, allocations: 0 / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3028, allocations: 0 / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3028, allocations: 0 / 1.077 GB, free: 4.285 MB / 0.8262 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.0007218/0.3036, allocations: 494.5 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3036, allocations: 12.03 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.3037, allocations: 28.64 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.304, allocations: 256.7 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3041, allocations: 12.38 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.3041, allocations: 20.38 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.3045, allocations: 229 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3045, allocations: 4 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.3046, allocations: 7.984 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3046, allocations: 4 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.3049, allocations: 147.9 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.3059, allocations: 0.6052 MB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.3063, allocations: 130.7 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3064, allocations: 48.84 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.3065, allocations: 7.984 kB / 1.079 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3065, allocations: 38.69 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.3065, allocations: 3.938 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004819/0.307, allocations: 185.4 kB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.3071, allocations: 132.5 kB / 1.08 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.3073, allocations: 215.2 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3073, allocations: 29.7 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.3074, allocations: 148.2 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.3074, allocations: 31.55 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.3075, allocations: 21.7 kB / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3076, allocations: 326.8 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.3077, allocations: 51.97 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.3079, allocations: 92.27 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.3082, allocations: 101 kB / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3082, allocations: 0 / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003329/0.3085, allocations: 161.5 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3085, allocations: 9.406 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3085, allocations: 0 / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3086, allocations: 0 / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3087, allocations: 27.86 kB / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3087, allocations: 0 / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.3089, allocations: 39.91 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3089, allocations: 0 / 1.081 GB, free: 460 kB / 0.8262 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.0001413/0.309, allocations: 142.5 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.3091, allocations: 19.8 kB / 1.081 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.3095, allocations: 158.9 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3095, allocations: 3.938 kB / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3095, allocations: 0 / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3095, allocations: 0 / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.3098, allocations: 273.9 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3098, allocations: 4 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3099, allocations: 27.86 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3099, allocations: 0 / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3099, allocations: 7.984 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.31, allocations: 7.875 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.31, allocations: 0 / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3103, allocations: 239.2 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.3104, allocations: 88.92 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.3104, allocations: 8 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3106, allocations: 31.91 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.3107, allocations: 19.97 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3107, allocations: 11.98 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001291/0.3108, allocations: 156.2 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3108, allocations: 4 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002961/0.3111, allocations: 39.84 kB / 1.082 GB, free: 15.13 MB / 0.8419 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.0001694/0.3113, allocations: 107.2 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.3117, allocations: 123.9 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3117, allocations: 0 / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.3118, allocations: 55.92 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.3123, allocations: 19.98 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/0.313, allocations: 400.8 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3133, allocations: 0.7324 MB / 1.083 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.066e-05/0.3134, allocations: 17.42 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.3135, allocations: 19.38 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3135, allocations: 3.938 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.005054/0.3186, allocations: 1.88 MB / 1.085 GB, free: 11.78 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)