Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 251 MB / 265.9 MB, free: 11.7 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.001491/0.001491, allocations: 178.7 kB / 325.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.592/2.592, allocations: 205.4 MB / 0.5764 GB, free: 20.87 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.00121/0.001209, allocations: 97.16 kB / 0.6809 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007866/0.0007864, allocations: 11.94 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2275, allocations: 106.3 MB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.4657, allocations: 137.4 MB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.4661, allocations: 95.94 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0548/0.5209, allocations: 12.01 MB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.946e-06/0.521, allocations: 0 / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.437e-05/0.521, allocations: 8 kB / 1.045 GB, free: 11.72 MB / 0.698 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.001801/0.5228, allocations: 0.7541 MB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.5229, allocations: 8.031 kB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.886e-05/0.523, allocations: 42.55 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.5232, allocations: 59.3 kB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.5243, allocations: 399 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.5243, allocations: 8 kB / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.5244, allocations: 12 kB / 1.046 GB, free: 10.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.5248, allocations: 135.5 kB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5248, allocations: 0 / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.5249, allocations: 8 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.5249, allocations: 0 / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.5252, allocations: 88.56 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.527, allocations: 0.6291 MB / 1.047 GB, free: 9.438 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.5275, allocations: 134.6 kB / 1.047 GB, free: 9.297 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.5276, allocations: 0 / 1.047 GB, free: 9.297 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.5279, allocations: 99.36 kB / 1.047 GB, free: 9.188 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.394e-06/0.5279, allocations: 0 / 1.047 GB, free: 9.188 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0007441/0.5287, allocations: 209.4 kB / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.5288, allocations: 51.41 kB / 1.047 GB, free: 8.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.53, allocations: 0.5607 MB / 1.048 GB, free: 8.348 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.5301, allocations: 29.7 kB / 1.048 GB, free: 8.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.5304, allocations: 252.3 kB / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.5305, allocations: 35.55 kB / 1.048 GB, free: 8.027 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.5305, allocations: 4 kB / 1.048 GB, free: 8.023 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.5307, allocations: 366.7 kB / 1.049 GB, free: 7.656 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.531, allocations: 91.95 kB / 1.049 GB, free: 7.566 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.5314, allocations: 119.3 kB / 1.049 GB, free: 7.438 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.5317, allocations: 88 kB / 1.049 GB, free: 7.352 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5317, allocations: 4 kB / 1.049 GB, free: 7.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008028/0.5325, allocations: 292.6 kB / 1.049 GB, free: 7.055 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.5325, allocations: 4 kB / 1.049 GB, free: 7.051 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.5325, allocations: 3.984 kB / 1.049 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5326, allocations: 7.938 kB / 1.049 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.5329, allocations: 31.92 kB / 1.049 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5329, allocations: 0 / 1.049 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.5333, allocations: 31.95 kB / 1.049 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.5333, allocations: 12 kB / 1.049 GB, free: 6.965 MB / 0.698 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,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,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.0004499/0.5338, allocations: 205.7 kB / 1.049 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.5339, allocations: 51.34 kB / 1.049 GB, free: 6.703 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/0.5345, allocations: 182.1 kB / 1.05 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5345, allocations: 7.984 kB / 1.05 GB, free: 6.508 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5346, allocations: 4 kB / 1.05 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5346, allocations: 0 / 1.05 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.5351, allocations: 373.3 kB / 1.05 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5351, allocations: 0 / 1.05 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.5353, allocations: 12 kB / 1.05 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.5353, allocations: 7.938 kB / 1.05 GB, free: 6.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.5353, allocations: 0 / 1.05 GB, free: 6.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.5354, allocations: 3.984 kB / 1.05 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5354, allocations: 0 / 1.05 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.5361, allocations: 258 kB / 1.05 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.5363, allocations: 120.5 kB / 1.05 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.5364, allocations: 11.94 kB / 1.05 GB, free: 5.648 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.5366, allocations: 15.98 kB / 1.05 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5367, allocations: 19.97 kB / 1.05 GB, free: 5.613 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.5368, allocations: 11.98 kB / 1.05 GB, free: 5.602 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008964/0.5377, allocations: 414.9 kB / 1.051 GB, free: 5.199 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.2e-07/0.5377, allocations: 0 / 1.051 GB, free: 5.199 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006088/0.5383, allocations: 75.83 kB / 1.051 GB, free: 5.125 MB / 0.698 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.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.002468/0.5408, allocations: 1.124 MB / 1.052 GB, free: 4.137 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006948/0.5416, allocations: 155.9 kB / 1.052 GB, free: 3.984 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5416, allocations: 0 / 1.052 GB, free: 3.984 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.5418, allocations: 62.16 kB / 1.052 GB, free: 3.926 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.5425, allocations: 58.28 kB / 1.052 GB, free: 3.867 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.5456, allocations: 1.374 MB / 1.054 GB, free: 2.434 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.5463, allocations: 0.8652 MB / 1.054 GB, free: 1.539 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000267/0.5466, allocations: 38.25 kB / 1.054 GB, free: 1.496 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.5469, allocations: 151.4 kB / 1.055 GB, free: 1.352 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/0.5469, allocations: 0 / 1.055 GB, free: 1.352 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7837/1.331, allocations: 8.751 MB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/1.331, allocations: 231.4 kB / 1.063 GB, free: 147.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/4.236, allocations: 0 / 1.063 GB, free: 147.3 MB / 0.698 GB