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.001208/0.001208, allocations: 114.3 kB / 16.37 MB, free: 6 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.001273/0.001273, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.794/0.794, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 0.5068 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3466, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002729/0.3494, allocations: 2.041 MB / 0.5878 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.3501, allocations: 0.5738 MB / 0.5883 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.3502, allocations: 2.625 kB / 0.5883 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.3504, allocations: 19.73 kB / 0.5884 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.3504, allocations: 36.81 kB / 0.5884 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.3507, allocations: 78.81 kB / 0.5885 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.3509, allocations: 227.7 kB / 0.5887 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.3511, allocations: 114.3 kB / 0.5888 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3512, allocations: 89.67 kB / 0.5889 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.3514, allocations: 96.06 kB / 0.589 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.3514, allocations: 29.88 kB / 0.589 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-05/0.3515, allocations: 35.98 kB / 0.589 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.3515, allocations: 51.34 kB / 0.5891 GB, free: 23.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.3516, allocations: 109.9 kB / 0.5892 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3519, allocations: 283.5 kB / 0.5895 GB, free: 22.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3519, allocations: 0 / 0.5895 GB, free: 22.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3519, allocations: 0 / 0.5895 GB, free: 22.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3519, allocations: 0.5625 kB / 0.5895 GB, free: 22.76 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.0006065/0.3525, allocations: 0.5124 MB / 0.59 GB, free: 22.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.3526, allocations: 9.109 kB / 0.59 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.3526, allocations: 30.69 kB / 0.59 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3529, allocations: 268.4 kB / 0.5902 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3529, allocations: 8.375 kB / 0.5903 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.3529, allocations: 24.12 kB / 0.5903 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.3532, allocations: 222.6 kB / 0.5905 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3532, allocations: 1.438 kB / 0.5905 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.3533, allocations: 8 kB / 0.5905 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3533, allocations: 4 kB / 0.5905 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.3535, allocations: 145.6 kB / 0.5906 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/0.3542, allocations: 0.5805 MB / 0.5912 GB, free: 20.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.3545, allocations: 123.3 kB / 0.5913 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.3546, allocations: 50.67 kB / 0.5914 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3546, allocations: 8 kB / 0.5914 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.3547, allocations: 32.34 kB / 0.5914 GB, free: 20.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.3547, allocations: 0 / 0.5914 GB, free: 20.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003707/0.355, allocations: 173.5 kB / 0.5916 GB, free: 20.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3551, allocations: 141.4 kB / 0.5917 GB, free: 20.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3552, allocations: 212.2 kB / 0.5919 GB, free: 20.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3552, allocations: 27.77 kB / 0.5919 GB, free: 20.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.3553, allocations: 144.2 kB / 0.5921 GB, free: 19.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.3553, allocations: 35.53 kB / 0.5921 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.3554, allocations: 33.7 kB / 0.5921 GB, free: 19.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.3554, allocations: 327.8 kB / 0.5925 GB, free: 19.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3555, allocations: 49.41 kB / 0.5925 GB, free: 19.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3557, allocations: 85.67 kB / 0.5926 GB, free: 19.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3558, allocations: 94.5 kB / 0.5927 GB, free: 19.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3558, allocations: 0 / 0.5927 GB, free: 19.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002354/0.3561, allocations: 153.7 kB / 0.5928 GB, free: 19.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3561, allocations: 5.406 kB / 0.5928 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3561, allocations: 7.938 kB / 0.5928 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3561, allocations: 0 / 0.5928 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.806e-05/0.3562, allocations: 25.7 kB / 0.5929 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3562, allocations: 3.984 kB / 0.5929 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3564, allocations: 27.83 kB / 0.5929 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.3564, allocations: 8.594 kB / 0.5929 GB, free: 19 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.672e-05/0.3565, allocations: 138.1 kB / 0.593 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.3565, allocations: 15.81 kB / 0.593 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.3568, allocations: 147.3 kB / 0.5932 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3568, allocations: 0 / 0.5932 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3568, allocations: 0 / 0.5932 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3568, allocations: 4.094 kB / 0.5932 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.357, allocations: 270.4 kB / 0.5935 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.357, allocations: 3.984 kB / 0.5935 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.3571, allocations: 16.47 kB / 0.5935 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3571, allocations: 0.9375 kB / 0.5935 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3572, allocations: 11.92 kB / 0.5935 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3572, allocations: 0 / 0.5935 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3572, allocations: 1.125 kB / 0.5935 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.3574, allocations: 229.8 kB / 0.5937 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.3574, allocations: 96.84 kB / 0.5938 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3575, allocations: 11.94 kB / 0.5938 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3576, allocations: 24.47 kB / 0.5938 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.3577, allocations: 21.38 kB / 0.5938 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3577, allocations: 7.984 kB / 0.5939 GB, free: 17.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.999e-05/0.3578, allocations: 155.5 kB / 0.594 GB, free: 17.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3578, allocations: 0 / 0.594 GB, free: 17.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3581, allocations: 41.22 kB / 0.594 GB, free: 17.75 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.0001208/0.3582, allocations: 107.8 kB / 0.5941 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3584, allocations: 105 kB / 0.5942 GB, free: 17.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3584, allocations: 0.5625 kB / 0.5942 GB, free: 17.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3586, allocations: 61.84 kB / 0.5943 GB, free: 17.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3588, allocations: 20.34 kB / 0.5943 GB, free: 17.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.3593, allocations: 321.6 kB / 0.5946 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3594, allocations: 0.7346 MB / 0.5954 GB, free: 16.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.3595, allocations: 23.92 kB / 0.5954 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.3596, allocations: 23.44 kB / 0.5954 GB, free: 16.31 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3596, allocations: 1.062 kB / 0.5954 GB, free: 16.31 MB / 446.1 MB Notification: Performance of Templates: time 0.004089/0.3637, allocations: 2.157 MB / 0.5975 GB, free: 14.25 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)