Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00184/0.00184, 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.001194/0.001194, allocations: 192.2 kB / 16.13 MB, free: 6.711 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.12 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3079, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003407/0.3113, allocations: 2.098 MB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.3123, allocations: 0.561 MB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.3124, allocations: 4 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.3126, allocations: 15.8 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.3127, allocations: 23.78 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.3129, allocations: 67.94 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.3131, allocations: 212 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3134, allocations: 107.6 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3135, allocations: 79.58 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3136, allocations: 99.52 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.3137, allocations: 12 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.88e-05/0.3137, allocations: 16 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.3138, allocations: 39.84 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.3139, allocations: 103.3 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.3142, allocations: 255.4 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3142, allocations: 0 / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3142, allocations: 0 / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3142, allocations: 0 / 1.071 GB, free: 7.191 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.0007814/0.315, allocations: 0.5194 MB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3151, allocations: 12.03 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.3151, allocations: 24.66 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.3155, allocations: 256.6 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3155, allocations: 12.38 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.3156, allocations: 20.38 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.316, allocations: 233 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.316, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.316, allocations: 12 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.316, allocations: 4 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.3164, allocations: 135.9 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009397/0.3173, allocations: 0.5973 MB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.3177, allocations: 122.7 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3178, allocations: 48.84 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.3179, allocations: 0 / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3179, allocations: 38.56 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3179, allocations: 4 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004711/0.3184, allocations: 169.5 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.3185, allocations: 140.4 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3187, allocations: 207.3 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3187, allocations: 33.7 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3188, allocations: 144.1 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.3189, allocations: 31.64 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.3189, allocations: 37.7 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3191, allocations: 330.8 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3192, allocations: 43.98 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3194, allocations: 84.27 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.3196, allocations: 97 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3196, allocations: 0 / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003069/0.3199, allocations: 153.4 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3199, allocations: 8 kB / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3199, allocations: 0 / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.32, allocations: 0 / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3201, allocations: 23.86 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3201, allocations: 8.031 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.3202, allocations: 23.98 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.3203, allocations: 7.984 kB / 1.075 GB, free: 3.383 MB / 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.0001248/0.3204, allocations: 129.8 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.3204, allocations: 19.72 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.3208, allocations: 154.9 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3208, allocations: 7.938 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3208, allocations: 0 / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3208, allocations: 0 / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.3211, allocations: 273.5 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3211, allocations: 480 / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3213, allocations: 19.92 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3213, allocations: 3.938 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3213, allocations: 0 / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3213, allocations: 3.938 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3213, allocations: 7.938 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.3216, allocations: 235.3 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.3217, allocations: 88.92 kB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.3217, allocations: 8 kB / 1.075 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3219, allocations: 19.91 kB / 1.075 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.322, allocations: 31.95 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.322, allocations: 4 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001209/0.3221, allocations: 152.2 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3221, allocations: 0 / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002805/0.3224, allocations: 39.84 kB / 1.076 GB, free: 2.109 MB / 0.8262 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.0001451/0.3226, allocations: 111.2 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.3229, allocations: 112 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3229, allocations: 0 / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.3231, allocations: 59.91 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3234, allocations: 16.56 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.324, allocations: 390.8 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3243, allocations: 0.7288 MB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.974e-05/0.3244, allocations: 17.42 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.3245, allocations: 27.36 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3245, allocations: 3.938 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of Templates: time 0.004709/0.3292, allocations: 1.895 MB / 1.079 GB, free: 14.75 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)