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.0015/0.0015, allocations: 106.3 kB / 16.27 MB, free: 6.406 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.001492/0.001493, allocations: 191.1 kB / 17.2 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8287/0.8287, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001897, allocations: 71.88 kB / 0.5061 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3311, allocations: 80.91 MB / 0.5851 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002858/0.334, allocations: 2.031 MB / 0.5871 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.3348, allocations: 0.5607 MB / 0.5876 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.3349, allocations: 3.469 kB / 0.5876 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.335, allocations: 27.67 kB / 0.5876 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.3351, allocations: 33.69 kB / 0.5877 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.3353, allocations: 82.11 kB / 0.5877 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.3355, allocations: 234.6 kB / 0.588 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.3357, allocations: 105 kB / 0.5881 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3358, allocations: 90.92 kB / 0.5882 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.3359, allocations: 96.31 kB / 0.5882 GB, free: 22.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.336, allocations: 24.72 kB / 0.5883 GB, free: 22.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.611e-05/0.336, allocations: 37.69 kB / 0.5883 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.3361, allocations: 59.62 kB / 0.5884 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.3362, allocations: 104.9 kB / 0.5885 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.3364, allocations: 264.4 kB / 0.5887 GB, free: 22.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3364, allocations: 1.438 kB / 0.5887 GB, free: 22.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3364, allocations: 0 / 0.5887 GB, free: 22.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.3364, allocations: 0 / 0.5887 GB, free: 22.48 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.0006024/0.337, allocations: 0.5194 MB / 0.5892 GB, free: 22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.3371, allocations: 11.17 kB / 0.5892 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.3371, allocations: 33.78 kB / 0.5893 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3374, allocations: 252.9 kB / 0.5895 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.3374, allocations: 16.66 kB / 0.5895 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.3374, allocations: 23.41 kB / 0.5895 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.3378, allocations: 223.2 kB / 0.5898 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3378, allocations: 0 / 0.5898 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.3378, allocations: 5.312 kB / 0.5898 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3378, allocations: 6.156 kB / 0.5898 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.3381, allocations: 152.3 kB / 0.5899 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.3388, allocations: 0.5908 MB / 0.5905 GB, free: 20.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.3391, allocations: 121.6 kB / 0.5906 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.3392, allocations: 44.84 kB / 0.5907 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.3392, allocations: 13.92 kB / 0.5907 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.3392, allocations: 30.56 kB / 0.5907 GB, free: 20.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3392, allocations: 0 / 0.5907 GB, free: 20.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003756/0.3396, allocations: 170.7 kB / 0.5909 GB, free: 20.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.3397, allocations: 135 kB / 0.591 GB, free: 20.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3398, allocations: 211.1 kB / 0.5912 GB, free: 20.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3398, allocations: 29.7 kB / 0.5912 GB, free: 19.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.3399, allocations: 148.2 kB / 0.5914 GB, free: 19.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3399, allocations: 27.94 kB / 0.5914 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.34, allocations: 39.19 kB / 0.5914 GB, free: 19.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.34, allocations: 326.8 kB / 0.5917 GB, free: 19.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3401, allocations: 46.3 kB / 0.5918 GB, free: 19.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.3402, allocations: 96.12 kB / 0.5919 GB, free: 19.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3404, allocations: 91.81 kB / 0.592 GB, free: 19.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3404, allocations: 0 / 0.592 GB, free: 19.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002399/0.3407, allocations: 155 kB / 0.5921 GB, free: 19.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.3407, allocations: 4 kB / 0.5921 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3407, allocations: 3.938 kB / 0.5921 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3407, allocations: 4 kB / 0.5921 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.3408, allocations: 18.39 kB / 0.5921 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3408, allocations: 0 / 0.5921 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3409, allocations: 31.81 kB / 0.5922 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.341, allocations: 8 kB / 0.5922 GB, free: 18.96 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.319e-05/0.3411, allocations: 142.3 kB / 0.5923 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.3411, allocations: 15.81 kB / 0.5923 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.3414, allocations: 151.4 kB / 0.5925 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3414, allocations: 0 / 0.5925 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3414, allocations: 0.5 kB / 0.5925 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3414, allocations: 0.75 kB / 0.5925 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3416, allocations: 273.5 kB / 0.5927 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3416, allocations: 2.344 kB / 0.5927 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.3417, allocations: 15.98 kB / 0.5927 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3417, allocations: 0 / 0.5927 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3417, allocations: 7.938 kB / 0.5928 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.3417, allocations: 3.984 kB / 0.5928 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3417, allocations: 0 / 0.5928 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.342, allocations: 225.6 kB / 0.593 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.342, allocations: 96.94 kB / 0.5931 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.342, allocations: 15.94 kB / 0.5931 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3422, allocations: 21.48 kB / 0.5931 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3423, allocations: 24.14 kB / 0.5931 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3423, allocations: 5.125 kB / 0.5931 GB, free: 17.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.82e-05/0.3424, allocations: 160.5 kB / 0.5933 GB, free: 17.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3424, allocations: 5.719 kB / 0.5933 GB, free: 17.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3426, allocations: 39.84 kB / 0.5933 GB, free: 17.7 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.0001135/0.3427, allocations: 112.8 kB / 0.5934 GB, free: 17.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.343, allocations: 107.9 kB / 0.5935 GB, free: 17.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.343, allocations: 1.156 kB / 0.5935 GB, free: 17.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3431, allocations: 55.91 kB / 0.5936 GB, free: 17.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3434, allocations: 16.97 kB / 0.5936 GB, free: 17.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.3439, allocations: 362.5 kB / 0.594 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.344, allocations: 0.7269 MB / 0.5947 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.3441, allocations: 24.95 kB / 0.5947 GB, free: 16.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3441, allocations: 0 / 0.5947 GB, free: 16.25 MB / 446.1 MB Notification: Performance of Templates: time 0.003236/0.3473, allocations: 2.382 MB / 0.597 GB, free: 13.92 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)