Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001134, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4622/0.4622, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 349.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 101.1 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 51.91 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2989, allocations: 70.06 MB / 0.5575 GB, free: 44.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003239/0.3022, allocations: 2.08 MB / 0.5595 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009132/0.3031, allocations: 0.5477 MB / 0.5601 GB, free: 42.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3033, allocations: 4 kB / 0.5601 GB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.3034, allocations: 15.8 kB / 0.5601 GB, free: 42.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.3035, allocations: 30.66 kB / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.3038, allocations: 63.89 kB / 0.5602 GB, free: 42.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.304, allocations: 216 kB / 0.5604 GB, free: 42.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.3042, allocations: 106.5 kB / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3043, allocations: 79.62 kB / 0.5606 GB, free: 42.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3044, allocations: 91.55 kB / 0.5607 GB, free: 41.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.3045, allocations: 12 kB / 0.5607 GB, free: 41.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.3046, allocations: 27.92 kB / 0.5607 GB, free: 41.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.3046, allocations: 43.77 kB / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.222e-05/0.3047, allocations: 91.47 kB / 0.5608 GB, free: 41.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3049, allocations: 265.2 kB / 0.5611 GB, free: 41.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3049, allocations: 0 / 0.5611 GB, free: 41.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3049, allocations: 0 / 0.5611 GB, free: 41.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.305, allocations: 0 / 0.5611 GB, free: 41.53 MB / 410.7 MB 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.0007139/0.3057, allocations: 0.5103 MB / 0.5616 GB, free: 40.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3057, allocations: 8.031 kB / 0.5616 GB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.3058, allocations: 28.66 kB / 0.5616 GB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.3061, allocations: 256.6 kB / 0.5619 GB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3061, allocations: 12.38 kB / 0.5619 GB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.3061, allocations: 20.38 kB / 0.5619 GB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.3065, allocations: 236.8 kB / 0.5621 GB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3065, allocations: 0 / 0.5621 GB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3065, allocations: 4 kB / 0.5621 GB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3065, allocations: 8 kB / 0.5621 GB, free: 40.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.3068, allocations: 143.7 kB / 0.5623 GB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007781/0.3076, allocations: 0.5818 MB / 0.5628 GB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.3079, allocations: 126.7 kB / 0.5629 GB, free: 39.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.308, allocations: 48.83 kB / 0.563 GB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.3081, allocations: 0 / 0.563 GB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.3081, allocations: 42.75 kB / 0.563 GB, free: 39.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.3081, allocations: 7.922 kB / 0.563 GB, free: 39.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003973/0.3085, allocations: 165.4 kB / 0.5632 GB, free: 39.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3086, allocations: 140.4 kB / 0.5633 GB, free: 39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.3087, allocations: 210.9 kB / 0.5635 GB, free: 38.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3087, allocations: 33.7 kB / 0.5636 GB, free: 38.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.3088, allocations: 144.2 kB / 0.5637 GB, free: 38.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3088, allocations: 35.55 kB / 0.5637 GB, free: 38.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.3089, allocations: 37.7 kB / 0.5638 GB, free: 38.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.3089, allocations: 326.8 kB / 0.5641 GB, free: 38.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3091, allocations: 47.97 kB / 0.5641 GB, free: 38.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3092, allocations: 86.95 kB / 0.5642 GB, free: 38.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3093, allocations: 93.62 kB / 0.5643 GB, free: 37.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3094, allocations: 0 / 0.5643 GB, free: 37.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002513/0.3096, allocations: 149.5 kB / 0.5644 GB, free: 37.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3096, allocations: 8 kB / 0.5645 GB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3096, allocations: 0 / 0.5645 GB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3097, allocations: 0 / 0.5645 GB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3098, allocations: 31.89 kB / 0.5645 GB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3098, allocations: 4 kB / 0.5645 GB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3099, allocations: 27.81 kB / 0.5645 GB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.3099, allocations: 4 kB / 0.5645 GB, free: 37.72 MB / 410.7 MB 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 9.174e-05/0.31, allocations: 135.7 kB / 0.5646 GB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.3101, allocations: 19.8 kB / 0.5647 GB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.3104, allocations: 143 kB / 0.5648 GB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3104, allocations: 7.938 kB / 0.5648 GB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3104, allocations: 0 / 0.5648 GB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3104, allocations: 0 / 0.5648 GB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3106, allocations: 273.5 kB / 0.5651 GB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3106, allocations: 0 / 0.5651 GB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-05/0.3107, allocations: 19.92 kB / 0.5651 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3107, allocations: 4 kB / 0.5651 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3107, allocations: 3.984 kB / 0.5651 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3107, allocations: 8.406 kB / 0.5651 GB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3107, allocations: 0 / 0.5651 GB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.3112, allocations: 0.8485 MB / 0.5659 GB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.3113, allocations: 96.84 kB / 0.566 GB, free: 36.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3113, allocations: 12 kB / 0.566 GB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3114, allocations: 15.98 kB / 0.5661 GB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.3115, allocations: 27.89 kB / 0.5661 GB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.3115, allocations: 7.984 kB / 0.5661 GB, free: 35.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.144e-05/0.3116, allocations: 145 kB / 0.5662 GB, free: 35.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3116, allocations: 0 / 0.5662 GB, free: 35.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.312, allocations: 39.84 kB / 0.5663 GB, free: 35.8 MB / 410.7 MB 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.000126/0.3121, allocations: 115.2 kB / 0.5664 GB, free: 35.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.3124, allocations: 107.9 kB / 0.5665 GB, free: 35.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3124, allocations: 0 / 0.5665 GB, free: 35.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3125, allocations: 59.91 kB / 0.5665 GB, free: 35.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3129, allocations: 26.5 kB / 0.5666 GB, free: 35.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.3134, allocations: 0.5057 MB / 0.5671 GB, free: 34.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.3136, allocations: 0.7322 MB / 0.5678 GB, free: 34.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.27e-05/0.3137, allocations: 21.45 kB / 0.5678 GB, free: 34.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.3137, allocations: 19.7 kB / 0.5678 GB, free: 34.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3137, allocations: 0 / 0.5678 GB, free: 34.14 MB / 410.7 MB Notification: Performance of Templates: time 0.00402/0.3178, allocations: 1.984 MB / 0.5697 GB, free: 32.18 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)