Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.591/2.591, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 179.3 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.465/2.465, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 104.9 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004717, allocations: 11.78 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003147/0.2201, allocations: 1.958 MB / 0.9008 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.2225, allocations: 1.133 MB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.2227, allocations: 7.938 kB / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006997/0.2235, allocations: 195.3 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.224, allocations: 135.6 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.2246, allocations: 114.4 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004531/0.225, allocations: 199.6 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.2253, allocations: 60.89 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.2255, allocations: 115.5 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.2257, allocations: 123.4 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.2257, allocations: 4 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.2259, allocations: 27.94 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.226, allocations: 99.64 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/0.2261, allocations: 89.45 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.2266, allocations: 355.5 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2266, allocations: 0 / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.427e-06/0.2266, allocations: 3.938 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.2266, allocations: 7.938 kB / 0.9034 GB, free: 60.86 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001335/0.228, allocations: 0.7191 MB / 0.9041 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.228, allocations: 8.031 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2281, allocations: 55.3 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.2287, allocations: 379.1 kB / 0.9045 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.2288, allocations: 12 kB / 0.9045 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.2289, allocations: 12 kB / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.2292, allocations: 121.6 kB / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2293, allocations: 0 / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.2293, allocations: 8 kB / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2293, allocations: 11.94 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.2296, allocations: 80.61 kB / 0.9047 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2309, allocations: 0.6251 MB / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.2314, allocations: 126.6 kB / 0.9055 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.2315, allocations: 4 kB / 0.9055 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.2318, allocations: 99.36 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.785e-06/0.2319, allocations: 3.938 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0006194/0.2325, allocations: 193.2 kB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2325, allocations: 59.33 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/0.2334, allocations: 0.6202 MB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.2335, allocations: 29.7 kB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.2337, allocations: 252.3 kB / 0.9067 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.2338, allocations: 35.53 kB / 0.9067 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.2338, allocations: 11.94 kB / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2339, allocations: 370.7 kB / 0.9071 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.2342, allocations: 71.97 kB / 0.9071 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.2344, allocations: 113.6 kB / 0.9073 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.2346, allocations: 80.94 kB / 0.9073 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.2347, allocations: 4.031 kB / 0.9073 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006272/0.2353, allocations: 263.4 kB / 0.9076 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2353, allocations: 4 kB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2353, allocations: 3.984 kB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.2354, allocations: 4 kB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.2356, allocations: 35.92 kB / 0.9076 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2357, allocations: 0 / 0.9076 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.236, allocations: 28.02 kB / 0.9077 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.2361, allocations: 12 kB / 0.9077 GB, free: 56.22 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: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0003054/0.2364, allocations: 205.7 kB / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.2365, allocations: 51.34 kB / 0.9079 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.2366, allocations: 52.5 kB / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2366, allocations: 4 kB / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.2367, allocations: 0 / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2367, allocations: 0 / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.237, allocations: 369.2 kB / 0.9083 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2371, allocations: 4 kB / 0.9083 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.2372, allocations: 11.98 kB / 0.9083 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2372, allocations: 0 / 0.9083 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.2372, allocations: 4 kB / 0.9083 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2373, allocations: 0 / 0.9083 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2373, allocations: 3.938 kB / 0.9083 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.2379, allocations: 248.4 kB / 0.9086 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.238, allocations: 128.5 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.2381, allocations: 0 / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.2383, allocations: 19.98 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.2384, allocations: 15.97 kB / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.2384, allocations: 11.98 kB / 0.9088 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005839/0.239, allocations: 410.8 kB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.239, allocations: 0 / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003994/0.2395, allocations: 59.91 kB / 0.9092 GB, free: 54.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001185/0.2407, allocations: 430.6 kB / 0.9096 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.2411, allocations: 147.9 kB / 0.9098 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2412, allocations: 0 / 0.9098 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.2413, allocations: 47.98 kB / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.2418, allocations: 63.48 kB / 0.9099 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2434, allocations: 0.889 MB / 0.9107 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.2438, allocations: 0.8557 MB / 0.9116 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.244, allocations: 38.27 kB / 0.9116 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.2441, allocations: 31.42 kB / 0.9116 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of SimCode: time 1.343e-06/0.2441, allocations: 0 / 0.9116 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.01196/0.2561, allocations: 3.223 MB / 0.9148 GB, free: 48.97 MB / 0.6042 GB