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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001146, allocations: 112.5 kB / 17.04 MB, free: 5.797 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.001125/0.001125, allocations: 195 kB / 17.98 MB, free: 5.031 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7204/0.7204, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3012, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003019/0.3043, allocations: 2.023 MB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.3052, allocations: 0.5637 MB / 0.5601 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.3053, allocations: 2.375 kB / 0.5601 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.3055, allocations: 26.23 kB / 0.5601 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.3056, allocations: 31.88 kB / 0.5602 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.3058, allocations: 80.08 kB / 0.5602 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.306, allocations: 231.8 kB / 0.5605 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.3063, allocations: 114.8 kB / 0.5606 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3064, allocations: 88.94 kB / 0.5607 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.3065, allocations: 107.6 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.3066, allocations: 24.72 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-05/0.3067, allocations: 30.7 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.3067, allocations: 57.02 kB / 0.5609 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.3068, allocations: 102.2 kB / 0.561 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.3071, allocations: 283.9 kB / 0.5612 GB, free: 34.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3072, allocations: 0 / 0.5612 GB, free: 34.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3072, allocations: 1.672 kB / 0.5612 GB, free: 34.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3072, allocations: 0 / 0.5612 GB, free: 34.25 MB / 446.1 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.000711/0.3079, allocations: 0.5242 MB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.308, allocations: 9.969 kB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/0.308, allocations: 27.12 kB / 0.5618 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.3084, allocations: 250 kB / 0.562 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.3084, allocations: 15.69 kB / 0.562 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3084, allocations: 17.94 kB / 0.5621 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.3088, allocations: 233.4 kB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3088, allocations: 3.938 kB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.3089, allocations: 5.188 kB / 0.5623 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3089, allocations: 5.312 kB / 0.5623 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.3092, allocations: 139.4 kB / 0.5624 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.31, allocations: 0.5867 MB / 0.563 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.3104, allocations: 118.3 kB / 0.5631 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3105, allocations: 53.8 kB / 0.5632 GB, free: 32.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.3106, allocations: 6.797 kB / 0.5632 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.3106, allocations: 34.58 kB / 0.5632 GB, free: 32.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3106, allocations: 0 / 0.5632 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004436/0.3111, allocations: 168.8 kB / 0.5634 GB, free: 32.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3111, allocations: 136.2 kB / 0.5635 GB, free: 32.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3113, allocations: 212.4 kB / 0.5637 GB, free: 32.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3113, allocations: 32.45 kB / 0.5637 GB, free: 32.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.3114, allocations: 144.2 kB / 0.5639 GB, free: 32.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.3114, allocations: 28.19 kB / 0.5639 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.3115, allocations: 46.73 kB / 0.5639 GB, free: 32.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.3116, allocations: 330 kB / 0.5643 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3117, allocations: 46.39 kB / 0.5643 GB, free: 31.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.3118, allocations: 85.14 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.312, allocations: 91.98 kB / 0.5645 GB, free: 31.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.312, allocations: 0.9375 kB / 0.5645 GB, free: 31.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000297/0.3123, allocations: 156.8 kB / 0.5646 GB, free: 31.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3123, allocations: 5.406 kB / 0.5646 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3124, allocations: 1.156 kB / 0.5646 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3124, allocations: 2.094 kB / 0.5646 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3125, allocations: 24.55 kB / 0.5646 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3125, allocations: 2.5 kB / 0.5646 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3127, allocations: 33 kB / 0.5647 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3127, allocations: 3.469 kB / 0.5647 GB, free: 31.68 MB / 446.1 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.659e-05/0.3128, allocations: 135.2 kB / 0.5648 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.3129, allocations: 17.98 kB / 0.5648 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.3132, allocations: 146.2 kB / 0.565 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.3132, allocations: 5.656 kB / 0.565 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3132, allocations: 1.156 kB / 0.565 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3133, allocations: 1.75 kB / 0.565 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.3135, allocations: 272.5 kB / 0.5652 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3135, allocations: 1.25 kB / 0.5652 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3136, allocations: 14.53 kB / 0.5653 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3136, allocations: 1.188 kB / 0.5653 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3137, allocations: 7.453 kB / 0.5653 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3137, allocations: 5.922 kB / 0.5653 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3137, allocations: 5.219 kB / 0.5653 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.314, allocations: 220 kB / 0.5655 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.314, allocations: 100.5 kB / 0.5656 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3141, allocations: 4 kB / 0.5656 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3142, allocations: 36.59 kB / 0.5656 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.3143, allocations: 28.72 kB / 0.5656 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3143, allocations: 4.938 kB / 0.5656 GB, free: 30.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3144, allocations: 153.9 kB / 0.5658 GB, free: 30.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3144, allocations: 0.5625 kB / 0.5658 GB, free: 30.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.3147, allocations: 42.59 kB / 0.5658 GB, free: 30.81 MB / 446.1 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.0001232/0.3149, allocations: 109.4 kB / 0.5659 GB, free: 30.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.3152, allocations: 111.2 kB / 0.566 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3152, allocations: 2.562 kB / 0.566 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.3154, allocations: 51.89 kB / 0.5661 GB, free: 30.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3157, allocations: 22.36 kB / 0.5661 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.3163, allocations: 323.8 kB / 0.5664 GB, free: 30.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.3164, allocations: 0.7301 MB / 0.5671 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.941e-05/0.3165, allocations: 18.55 kB / 0.5672 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.3166, allocations: 20.48 kB / 0.5672 GB, free: 29.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3166, allocations: 0 / 0.5672 GB, free: 29.74 MB / 446.1 MB Notification: Performance of Templates: time 0.006068/0.3227, allocations: 2.168 MB / 0.5693 GB, free: 29.66 MB / 446.1 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)