Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001377/0.001377, allocations: 103.5 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.001712/0.001713, 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.339/1.339, 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/package.mo): time 0.7973/0.7973, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.89 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4065, allocations: 80.18 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003479/0.41, allocations: 2.033 MB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.4111, allocations: 0.5693 MB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.4112, allocations: 2.438 kB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.4114, allocations: 25.02 kB / 0.5841 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.74e-05/0.4116, allocations: 31.88 kB / 0.5841 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.4119, allocations: 79.8 kB / 0.5842 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.4121, allocations: 235.7 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.4123, allocations: 108.4 kB / 0.5845 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.4125, allocations: 92.72 kB / 0.5846 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4126, allocations: 100.2 kB / 0.5847 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.4127, allocations: 24.31 kB / 0.5847 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4128, allocations: 32.23 kB / 0.5847 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.4128, allocations: 54.86 kB / 0.5848 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.4129, allocations: 105.8 kB / 0.5849 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.4132, allocations: 278.5 kB / 0.5852 GB, free: 24.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4132, allocations: 1.406 kB / 0.5852 GB, free: 24.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4132, allocations: 0 / 0.5852 GB, free: 24.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.4132, allocations: 1.719 kB / 0.5852 GB, free: 24.75 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.0006583/0.4139, allocations: 0.5215 MB / 0.5857 GB, free: 24.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.414, allocations: 13.19 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.414, allocations: 28.81 kB / 0.5857 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.4143, allocations: 260.2 kB / 0.586 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.4143, allocations: 16.12 kB / 0.586 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.4144, allocations: 19.66 kB / 0.586 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.4147, allocations: 218.5 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4147, allocations: 0 / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.4147, allocations: 6.438 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4148, allocations: 3.656 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.415, allocations: 149.4 kB / 0.5864 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.4159, allocations: 0.5806 MB / 0.5869 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.4162, allocations: 127.9 kB / 0.587 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4163, allocations: 48.16 kB / 0.5871 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.4164, allocations: 1.469 kB / 0.5871 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4164, allocations: 32.72 kB / 0.5871 GB, free: 23.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.4164, allocations: 2.375 kB / 0.5871 GB, free: 23.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004374/0.4169, allocations: 173.8 kB / 0.5873 GB, free: 22.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4169, allocations: 132.4 kB / 0.5874 GB, free: 22.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.4171, allocations: 214.2 kB / 0.5876 GB, free: 22.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.4171, allocations: 28.14 kB / 0.5876 GB, free: 22.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.4172, allocations: 147.6 kB / 0.5878 GB, free: 22.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.4172, allocations: 31.39 kB / 0.5878 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.4173, allocations: 39.45 kB / 0.5879 GB, free: 22.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.4174, allocations: 325 kB / 0.5882 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4175, allocations: 47.88 kB / 0.5882 GB, free: 22.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.4176, allocations: 88.2 kB / 0.5883 GB, free: 22.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.4178, allocations: 93.5 kB / 0.5884 GB, free: 21.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4178, allocations: 0 / 0.5884 GB, free: 21.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002731/0.4181, allocations: 156.6 kB / 0.5885 GB, free: 21.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4182, allocations: 9.266 kB / 0.5885 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4182, allocations: 4.781 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4182, allocations: 5.344 kB / 0.5886 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4183, allocations: 21.73 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4183, allocations: 7.156 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.4185, allocations: 25.42 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.4185, allocations: 11.89 kB / 0.5886 GB, free: 21.84 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 0.0001077/0.4186, allocations: 139.1 kB / 0.5887 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.4186, allocations: 17.25 kB / 0.5888 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.419, allocations: 147.2 kB / 0.5889 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.419, allocations: 3.625 kB / 0.5889 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.419, allocations: 0 / 0.5889 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.419, allocations: 3.984 kB / 0.5889 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.4192, allocations: 272.5 kB / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4193, allocations: 2.406 kB / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.4194, allocations: 14.2 kB / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4194, allocations: 2.125 kB / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4194, allocations: 5.188 kB / 0.5892 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4194, allocations: 0.9062 kB / 0.5892 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4194, allocations: 1.375 kB / 0.5892 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.4197, allocations: 233.4 kB / 0.5894 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.4197, allocations: 94.61 kB / 0.5895 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.4198, allocations: 6.562 kB / 0.5895 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.4199, allocations: 26.69 kB / 0.5895 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.42, allocations: 21.75 kB / 0.5896 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.42, allocations: 6.438 kB / 0.5896 GB, free: 20.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.784e-05/0.4201, allocations: 155.1 kB / 0.5897 GB, free: 20.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4201, allocations: 0 / 0.5897 GB, free: 20.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.4204, allocations: 40.69 kB / 0.5898 GB, free: 20.86 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.0001377/0.4205, allocations: 115.4 kB / 0.5899 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.4209, allocations: 115.6 kB / 0.59 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4209, allocations: 0 / 0.59 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.421, allocations: 55.67 kB / 0.59 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4213, allocations: 26.2 kB / 0.5901 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.4219, allocations: 310.5 kB / 0.5904 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.422, allocations: 0.7312 MB / 0.5911 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.388e-05/0.4221, allocations: 17.45 kB / 0.5911 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.4222, allocations: 26.02 kB / 0.5911 GB, free: 19.71 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4222, allocations: 0 / 0.5911 GB, free: 19.71 MB / 446.1 MB Notification: Performance of Templates: time 0.00481/0.427, allocations: 2.166 MB / 0.5932 GB, free: 17.87 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)