Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 252 MB / 267.6 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 183.8 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 99.61 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 8.219 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2029, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002134/0.2051, allocations: 1.697 MB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009946/0.2062, allocations: 0.5736 MB / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2063, allocations: 4 kB / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.2065, allocations: 15.84 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.2066, allocations: 27.73 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.2068, allocations: 47.94 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.207, allocations: 200 kB / 0.9033 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.2073, allocations: 82.12 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.2074, allocations: 67.64 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.2075, allocations: 67.62 kB / 0.9035 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.2076, allocations: 8 kB / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.2077, allocations: 16 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.2077, allocations: 31.77 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.2078, allocations: 57.64 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.208, allocations: 195.8 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.208, allocations: 0 / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.208, allocations: 0 / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.208, allocations: 0 / 0.9038 GB, free: 60.79 MB / 0.6042 GB 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.0007088/0.2087, allocations: 0.4946 MB / 0.9043 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2088, allocations: 11.97 kB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/0.2088, allocations: 27.67 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.2091, allocations: 255.4 kB / 0.9046 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2092, allocations: 16 kB / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.2092, allocations: 16 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.2096, allocations: 225.2 kB / 0.9048 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.2096, allocations: 3.938 kB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.2096, allocations: 12 kB / 0.9049 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2096, allocations: 4 kB / 0.9049 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.2099, allocations: 151.6 kB / 0.905 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.2108, allocations: 0.6014 MB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.2112, allocations: 122.7 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.2113, allocations: 56.8 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.2113, allocations: 7.984 kB / 0.9058 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.2114, allocations: 30.56 kB / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.2114, allocations: 0 / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000428/0.2118, allocations: 185.5 kB / 0.906 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2119, allocations: 132.5 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.212, allocations: 208.2 kB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.212, allocations: 33.7 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.2121, allocations: 148.1 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.2121, allocations: 23.66 kB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.2122, allocations: 8 kB / 0.9065 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.2122, allocations: 326.8 kB / 0.9068 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.2123, allocations: 47.98 kB / 0.9069 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2125, allocations: 96.19 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2126, allocations: 50.23 kB / 0.907 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2126, allocations: 4 kB / 0.907 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002748/0.2129, allocations: 161.4 kB / 0.9072 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2129, allocations: 8 kB / 0.9072 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2129, allocations: 0 / 0.9072 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.213, allocations: 3.938 kB / 0.9072 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.2131, allocations: 19.98 kB / 0.9072 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2131, allocations: 0 / 0.9072 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2132, allocations: 39.84 kB / 0.9072 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2133, allocations: 8.375 kB / 0.9072 GB, free: 57.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.2134, allocations: 136.3 kB / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.2134, allocations: 23.77 kB / 0.9074 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.2137, allocations: 158.9 kB / 0.9075 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2137, allocations: 4 kB / 0.9076 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2138, allocations: 0 / 0.9076 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2138, allocations: 0 / 0.9076 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.214, allocations: 277.4 kB / 0.9078 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.214, allocations: 0 / 0.9078 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.2141, allocations: 15.98 kB / 0.9078 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2141, allocations: 0 / 0.9078 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2141, allocations: 7.953 kB / 0.9078 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2141, allocations: 4 kB / 0.9078 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2141, allocations: 0 / 0.9078 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.2144, allocations: 235.2 kB / 0.9081 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.2145, allocations: 100.8 kB / 0.9082 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.2145, allocations: 8 kB / 0.9082 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.2147, allocations: 27.94 kB / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.2147, allocations: 23.95 kB / 0.9082 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.2147, allocations: 11.98 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.872e-05/0.2148, allocations: 147.7 kB / 0.9084 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2149, allocations: 4 kB / 0.9084 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002421/0.2151, allocations: 39.84 kB / 0.9084 GB, free: 55.74 MB / 0.6042 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.2153, allocations: 107.2 kB / 0.9085 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.2155, allocations: 119.9 kB / 0.9086 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2156, allocations: 4.25 kB / 0.9086 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2157, allocations: 59.92 kB / 0.9087 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.216, allocations: 23.92 kB / 0.9087 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.2166, allocations: 418.1 kB / 0.9091 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.2167, allocations: 0.7283 MB / 0.9098 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.2168, allocations: 19.42 kB / 0.9098 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2168, allocations: 0 / 0.9098 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.003856/0.2207, allocations: 2.357 MB / 0.9121 GB, free: 51.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)