Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001044/0.001044, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001039/0.001039, allocations: 190.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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 288.4 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8899/0.8899, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 89.36 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1443, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003014/0.1474, allocations: 2.018 MB / 0.6836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.1484, allocations: 0.5727 MB / 0.6842 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.1485, allocations: 0 / 0.6842 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1486, allocations: 23.67 kB / 0.6842 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.1487, allocations: 35.66 kB / 0.6842 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.149, allocations: 79.84 kB / 0.6843 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1492, allocations: 232 kB / 0.6845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.1494, allocations: 111.6 kB / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1496, allocations: 95.59 kB / 0.6847 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1497, allocations: 103.5 kB / 0.6848 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.975e-05/0.1497, allocations: 24 kB / 0.6848 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.1498, allocations: 32 kB / 0.6849 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.1499, allocations: 59.83 kB / 0.6849 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.891e-05/0.15, allocations: 103.4 kB / 0.685 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1502, allocations: 271 kB / 0.6853 GB, free: 3.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1503, allocations: 0 / 0.6853 GB, free: 3.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1503, allocations: 4 kB / 0.6853 GB, free: 3.668 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1503, allocations: 0 / 0.6853 GB, free: 3.668 MB / 494.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.0006893/0.151, allocations: 0.5141 MB / 0.6858 GB, free: 3.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.151, allocations: 16.03 kB / 0.6858 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.1511, allocations: 28.64 kB / 0.6858 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1513, allocations: 260.6 kB / 0.6861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1514, allocations: 12.38 kB / 0.6861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.1514, allocations: 16.38 kB / 0.6861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.1518, allocations: 229.6 kB / 0.6863 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1518, allocations: 4 kB / 0.6863 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1518, allocations: 12 kB / 0.6863 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1518, allocations: 4 kB / 0.6863 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.1521, allocations: 139.9 kB / 0.6865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.1529, allocations: 0.5894 MB / 0.687 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.1532, allocations: 122.7 kB / 0.6872 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1533, allocations: 44.84 kB / 0.6872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.1534, allocations: 11.98 kB / 0.6872 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1534, allocations: 34.56 kB / 0.6872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1534, allocations: 0 / 0.6872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004136/0.1538, allocations: 161.6 kB / 0.6874 GB, free: 1.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1539, allocations: 140.5 kB / 0.6875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.1541, allocations: 214.9 kB / 0.6877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1541, allocations: 33.7 kB / 0.6878 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.1542, allocations: 144.1 kB / 0.6879 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1542, allocations: 31.64 kB / 0.6879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.1543, allocations: 41.69 kB / 0.688 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.1544, allocations: 326.8 kB / 0.6883 GB, free: 336 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1545, allocations: 51.97 kB / 0.6883 GB, free: 284 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1547, allocations: 91.08 kB / 0.6884 GB, free: 180 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1548, allocations: 85.69 kB / 0.6885 GB, free: 88 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1549, allocations: 0 / 0.6885 GB, free: 88 kB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.2488/0.4037, allocations: 145.7 kB / 0.6886 GB, free: 17.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.4038, allocations: 5.562 kB / 0.6887 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4038, allocations: 2.234 kB / 0.6887 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4038, allocations: 0.75 kB / 0.6887 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4039, allocations: 23.62 kB / 0.6887 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4039, allocations: 1.578 kB / 0.6887 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.4041, allocations: 30.48 kB / 0.6887 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.4041, allocations: 7.438 kB / 0.6887 GB, free: 17.97 MB / 494.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.0001248/0.4043, allocations: 139.3 kB / 0.6888 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.4043, allocations: 19.27 kB / 0.6889 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.4047, allocations: 149.7 kB / 0.689 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4047, allocations: 1.719 kB / 0.689 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4047, allocations: 0 / 0.689 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4047, allocations: 2.219 kB / 0.689 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.405, allocations: 272.4 kB / 0.6893 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.405, allocations: 2.266 kB / 0.6893 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.602e-05/0.4051, allocations: 14.34 kB / 0.6893 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4051, allocations: 2.062 kB / 0.6893 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4051, allocations: 6.031 kB / 0.6893 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4051, allocations: 2.75 kB / 0.6893 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4051, allocations: 3.844 kB / 0.6893 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.4054, allocations: 230.5 kB / 0.6895 GB, free: 17.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.4055, allocations: 97.22 kB / 0.6896 GB, free: 17.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.4055, allocations: 5.312 kB / 0.6896 GB, free: 17.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.4057, allocations: 19.95 kB / 0.6896 GB, free: 17.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.4058, allocations: 25.23 kB / 0.6897 GB, free: 17.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.4058, allocations: 6.5 kB / 0.6897 GB, free: 17.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.4059, allocations: 148.4 kB / 0.6898 GB, free: 17.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4059, allocations: 0.9375 kB / 0.6898 GB, free: 17.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.4062, allocations: 38.17 kB / 0.6898 GB, free: 17.33 MB / 494.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.0001271/0.4063, allocations: 122.4 kB / 0.69 GB, free: 17.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.4066, allocations: 109.5 kB / 0.6901 GB, free: 17.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4066, allocations: 1.062 kB / 0.6901 GB, free: 17.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4067, allocations: 56.3 kB / 0.6901 GB, free: 17.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.4071, allocations: 22.3 kB / 0.6901 GB, free: 17.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.4077, allocations: 316.9 kB / 0.6904 GB, free: 17.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.4079, allocations: 0.7313 MB / 0.6912 GB, free: 16.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.408, allocations: 16.73 kB / 0.6912 GB, free: 16.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.408, allocations: 24.53 kB / 0.6912 GB, free: 16.36 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.408, allocations: 0.8125 kB / 0.6912 GB, free: 16.36 MB / 494.1 MB Notification: Performance of Templates: time 0.005732/0.4138, allocations: 2.174 MB / 0.6933 GB, free: 16.3 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)