Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 252 MB / 268 MB, free: 10.86 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.001036/0.001036, allocations: 180.6 kB / 327.6 MB, free: 2.102 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.645/1.645, allocations: 205.4 MB / 0.5786 GB, free: 20.43 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.0007652/0.0007652, allocations: 92.36 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 9.75 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 106.3 MB / 0.9015 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002357/0.216, allocations: 2.039 MB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2175, allocations: 1.214 MB / 0.9046 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2177, allocations: 4 kB / 0.9046 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.2182, allocations: 207.1 kB / 0.9048 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.2185, allocations: 127.5 kB / 0.905 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.2188, allocations: 126.6 kB / 0.9051 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.2191, allocations: 303 kB / 0.9054 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.2193, allocations: 68.72 kB / 0.9054 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.2194, allocations: 111.4 kB / 0.9055 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.2195, allocations: 135.3 kB / 0.9057 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.2196, allocations: 4 kB / 0.9057 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.2197, allocations: 32 kB / 0.9057 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2198, allocations: 111.5 kB / 0.9058 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.2199, allocations: 180.4 kB / 0.906 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.2202, allocations: 367.4 kB / 0.9063 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2202, allocations: 0 / 0.9063 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2202, allocations: 0 / 0.9063 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2202, allocations: 0 / 0.9063 GB, free: 58.8 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.0008397/0.2211, allocations: 0.7115 MB / 0.907 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2211, allocations: 8.031 kB / 0.907 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.2212, allocations: 56.28 kB / 0.9071 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2216, allocations: 399.8 kB / 0.9075 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.2216, allocations: 12.36 kB / 0.9075 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.2216, allocations: 20.12 kB / 0.9075 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.2219, allocations: 134.1 kB / 0.9076 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.2219, allocations: 0 / 0.9076 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2219, allocations: 4 kB / 0.9076 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2219, allocations: 8 kB / 0.9076 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.2221, allocations: 79.95 kB / 0.9077 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.2229, allocations: 0.6212 MB / 0.9083 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.2232, allocations: 126.7 kB / 0.9084 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.2233, allocations: 40.84 kB / 0.9085 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.2234, allocations: 3.938 kB / 0.9085 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.2236, allocations: 103.3 kB / 0.9086 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.2236, allocations: 0 / 0.9086 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0003675/0.224, allocations: 204.9 kB / 0.9088 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.224, allocations: 55.41 kB / 0.9088 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.2245, allocations: 0.6318 MB / 0.9094 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2245, allocations: 33.7 kB / 0.9095 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.2247, allocations: 248.3 kB / 0.9097 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.2247, allocations: 35.55 kB / 0.9097 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.2247, allocations: 8 kB / 0.9098 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.2248, allocations: 362.8 kB / 0.9101 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2249, allocations: 75.97 kB / 0.9102 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.2251, allocations: 113.6 kB / 0.9103 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2253, allocations: 134.1 kB / 0.9104 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2253, allocations: 0 / 0.9104 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003195/0.2256, allocations: 268.8 kB / 0.9107 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2256, allocations: 4 kB / 0.9107 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2256, allocations: 0 / 0.9107 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2257, allocations: 8 kB / 0.9107 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2258, allocations: 27.98 kB / 0.9107 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2258, allocations: 4 kB / 0.9107 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.226, allocations: 35.77 kB / 0.9107 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.226, allocations: 8 kB / 0.9108 GB, free: 54.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.2262, allocations: 205.7 kB / 0.9109 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.2262, allocations: 51.38 kB / 0.911 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.2263, allocations: 56.5 kB / 0.9111 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2263, allocations: 0 / 0.9111 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2263, allocations: 0 / 0.9111 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2263, allocations: 0 / 0.9111 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.2266, allocations: 373.3 kB / 0.9114 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2266, allocations: 0 / 0.9114 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.2266, allocations: 8 kB / 0.9114 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2266, allocations: 0 / 0.9114 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.2267, allocations: 8 kB / 0.9114 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2267, allocations: 7.984 kB / 0.9114 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2267, allocations: 3.938 kB / 0.9114 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.227, allocations: 248.3 kB / 0.9117 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.2271, allocations: 128.4 kB / 0.9118 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.2272, allocations: 4 kB / 0.9118 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.2273, allocations: 28.05 kB / 0.9118 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.2274, allocations: 15.97 kB / 0.9118 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2274, allocations: 11.98 kB / 0.9118 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003467/0.2277, allocations: 410.8 kB / 0.9122 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2277, allocations: 3.938 kB / 0.9122 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002437/0.228, allocations: 52 kB / 0.9123 GB, free: 52.36 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 (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.0008784/0.2289, allocations: 417.9 kB / 0.9127 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.2292, allocations: 151.8 kB / 0.9128 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2292, allocations: 4 kB / 0.9128 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.681e-05/0.2293, allocations: 47.98 kB / 0.9129 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.2297, allocations: 68.33 kB / 0.913 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.2307, allocations: 0.9847 MB / 0.9139 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.231, allocations: 0.8457 MB / 0.9147 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.231, allocations: 27.42 kB / 0.9148 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.231, allocations: 0 / 0.9148 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.006029/0.2371, allocations: 5.09 MB / 0.9197 GB, free: 44.84 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)