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.001071/0.001071, allocations: 95.92 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.006477/0.006477, allocations: 170.8 kB / 16.27 MB, free: 6.656 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 13.69 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002138/0.3133, allocations: 1.736 MB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009116/0.3142, allocations: 0.5455 MB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.3143, allocations: 7.938 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.216e-05/0.3144, allocations: 19.84 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.759e-05/0.3145, allocations: 19.8 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.3147, allocations: 71.86 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3149, allocations: 212 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.3152, allocations: 109.3 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3153, allocations: 63.59 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3154, allocations: 75.55 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.3154, allocations: 8 kB / 1.077 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.3155, allocations: 12 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.3156, allocations: 39.78 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.3157, allocations: 109.1 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.3159, allocations: 247.4 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3159, allocations: 0 / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3159, allocations: 0 / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3159, allocations: 0 / 1.077 GB, free: 4.242 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.000679/0.3166, allocations: 498.5 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3167, allocations: 8.031 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.3167, allocations: 32.59 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.317, allocations: 252.7 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3171, allocations: 20.38 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.3171, allocations: 16.38 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.3175, allocations: 233 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3175, allocations: 0 / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.3176, allocations: 4 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3176, allocations: 4 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.3179, allocations: 151.9 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.3188, allocations: 0.6013 MB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.3192, allocations: 130.7 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3193, allocations: 56.84 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.3193, allocations: 3.984 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3194, allocations: 38.69 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3194, allocations: 0 / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004717/0.3199, allocations: 185.4 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.3199, allocations: 132.5 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.3201, allocations: 215.2 kB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3202, allocations: 29.69 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.3203, allocations: 140.2 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3203, allocations: 31.55 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.3203, allocations: 25.7 kB / 1.08 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3205, allocations: 330.8 kB / 1.08 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3206, allocations: 51.97 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3208, allocations: 91.39 kB / 1.08 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.321, allocations: 105.6 kB / 1.081 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.321, allocations: 0 / 1.081 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003297/0.3213, allocations: 157.5 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3214, allocations: 11.98 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3214, allocations: 4.359 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3214, allocations: 0 / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3215, allocations: 27.86 kB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3215, allocations: 0 / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.3217, allocations: 35.86 kB / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3217, allocations: 8 kB / 1.081 GB, free: 404 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.0001258/0.3218, allocations: 137.9 kB / 1.081 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.3219, allocations: 23.81 kB / 1.081 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.3223, allocations: 154.9 kB / 1.081 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.3223, allocations: 7.938 kB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3223, allocations: 0 / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3223, allocations: 3.984 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.3226, allocations: 273.4 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3226, allocations: 0 / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3227, allocations: 19.92 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3227, allocations: 0 / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3227, allocations: 11.94 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3228, allocations: 3.938 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3228, allocations: 0 / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3231, allocations: 235.2 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.3231, allocations: 92.92 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.3232, allocations: 8 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3234, allocations: 35.91 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.3234, allocations: 19.95 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.3235, allocations: 4 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001219/0.3236, allocations: 156.2 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3236, allocations: 4 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002781/0.3239, allocations: 43.84 kB / 1.082 GB, free: 15.09 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.0001442/0.324, allocations: 107.4 kB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.3244, allocations: 119.9 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3244, allocations: 4 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.3245, allocations: 55.92 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3249, allocations: 21.3 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.3255, allocations: 400.4 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3257, allocations: 0.7285 MB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.481e-05/0.3258, allocations: 17.42 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.3259, allocations: 23.42 kB / 1.083 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3259, allocations: 0 / 1.083 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.004811/0.3307, allocations: 1.877 MB / 1.085 GB, free: 11.74 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)