Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001244/0.001244, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001232/0.001232, allocations: 191 kB / 17.29 MB, free: 5.516 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7481/0.7481, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 80.91 MB / 0.5858 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002678/0.3052, allocations: 2.03 MB / 0.5878 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.3059, allocations: 0.5683 MB / 0.5883 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.306, allocations: 8.094 kB / 0.5883 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.937e-05/0.3061, allocations: 23.67 kB / 0.5883 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.3062, allocations: 32.55 kB / 0.5884 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.3065, allocations: 78.66 kB / 0.5884 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3066, allocations: 231.6 kB / 0.5887 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.3068, allocations: 113.5 kB / 0.5888 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3069, allocations: 97.84 kB / 0.5889 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.3071, allocations: 97.64 kB / 0.589 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.3071, allocations: 24.78 kB / 0.589 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.3072, allocations: 35.92 kB / 0.589 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.3072, allocations: 56.86 kB / 0.5891 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.3073, allocations: 105.3 kB / 0.5892 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.3075, allocations: 276.8 kB / 0.5894 GB, free: 22.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3075, allocations: 2.344 kB / 0.5894 GB, free: 22.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3075, allocations: 0 / 0.5894 GB, free: 22.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3075, allocations: 0 / 0.5894 GB, free: 22.92 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.0005472/0.3081, allocations: 0.5139 MB / 0.5899 GB, free: 22.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.3081, allocations: 13.11 kB / 0.59 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3082, allocations: 24.66 kB / 0.59 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3084, allocations: 269.8 kB / 0.5902 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3084, allocations: 12.38 kB / 0.5902 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.3085, allocations: 24.91 kB / 0.5903 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.3088, allocations: 214 kB / 0.5905 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3088, allocations: 0.5625 kB / 0.5905 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3088, allocations: 8.625 kB / 0.5905 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3088, allocations: 4 kB / 0.5905 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.3091, allocations: 145.6 kB / 0.5906 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.3098, allocations: 0.5855 MB / 0.5912 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.3101, allocations: 118.7 kB / 0.5913 GB, free: 20.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/0.3102, allocations: 54.7 kB / 0.5914 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.3102, allocations: 0 / 0.5914 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.3102, allocations: 38.56 kB / 0.5914 GB, free: 20.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.3102, allocations: 1.719 kB / 0.5914 GB, free: 20.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003657/0.3106, allocations: 173.4 kB / 0.5916 GB, free: 20.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.3106, allocations: 136 kB / 0.5917 GB, free: 20.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3108, allocations: 208.2 kB / 0.5919 GB, free: 20.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3108, allocations: 33.7 kB / 0.5919 GB, free: 20.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.3109, allocations: 140.2 kB / 0.5921 GB, free: 20.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.3109, allocations: 39.55 kB / 0.5921 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.3109, allocations: 37.7 kB / 0.5921 GB, free: 19.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.556e-05/0.311, allocations: 328 kB / 0.5924 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-05/0.3111, allocations: 47.97 kB / 0.5925 GB, free: 19.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3112, allocations: 85.48 kB / 0.5926 GB, free: 19.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3114, allocations: 87.41 kB / 0.5927 GB, free: 19.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3114, allocations: 1.969 kB / 0.5927 GB, free: 19.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002321/0.3116, allocations: 149.4 kB / 0.5928 GB, free: 19.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3116, allocations: 8 kB / 0.5928 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3116, allocations: 7.875 kB / 0.5928 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3117, allocations: 5.391 kB / 0.5928 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.3118, allocations: 15.98 kB / 0.5928 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3118, allocations: 4 kB / 0.5928 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3119, allocations: 29.2 kB / 0.5929 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3119, allocations: 4 kB / 0.5929 GB, free: 19.15 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 8.479e-05/0.312, allocations: 143.1 kB / 0.593 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.3121, allocations: 19.84 kB / 0.593 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.3123, allocations: 148 kB / 0.5932 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3123, allocations: 8 kB / 0.5932 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.3123, allocations: 1.438 kB / 0.5932 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3124, allocations: 3.984 kB / 0.5932 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3125, allocations: 277.5 kB / 0.5934 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3125, allocations: 0 / 0.5934 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.3126, allocations: 13.41 kB / 0.5935 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3126, allocations: 3.984 kB / 0.5935 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3127, allocations: 3.938 kB / 0.5935 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3127, allocations: 1.344 kB / 0.5935 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3127, allocations: 0 / 0.5935 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.3129, allocations: 237.8 kB / 0.5937 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.3129, allocations: 88.92 kB / 0.5938 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.313, allocations: 7.938 kB / 0.5938 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3131, allocations: 22.03 kB / 0.5938 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.3132, allocations: 23.97 kB / 0.5938 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3132, allocations: 7.984 kB / 0.5938 GB, free: 18.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.761e-05/0.3133, allocations: 155.5 kB / 0.594 GB, free: 17.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3133, allocations: 0.6562 kB / 0.594 GB, free: 17.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.3135, allocations: 43.84 kB / 0.594 GB, free: 17.89 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.0001089/0.3136, allocations: 109.3 kB / 0.5941 GB, free: 17.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3139, allocations: 117.5 kB / 0.5942 GB, free: 17.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3139, allocations: 0 / 0.5942 GB, free: 17.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.314, allocations: 51.91 kB / 0.5943 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3143, allocations: 23.92 kB / 0.5943 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.3148, allocations: 318.9 kB / 0.5946 GB, free: 17.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.3149, allocations: 0.7301 MB / 0.5953 GB, free: 16.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.315, allocations: 19.42 kB / 0.5954 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.315, allocations: 16.09 kB / 0.5954 GB, free: 16.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.8e-07/0.3151, allocations: 0 / 0.5954 GB, free: 16.46 MB / 446.1 MB Notification: Performance of Templates: time 0.004217/0.3193, allocations: 2.172 MB / 0.5975 GB, free: 14.39 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)