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.258/2.258, allocations: 248.7 MB / 256.2 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 190.1 kB / 315.4 MB, free: 3.996 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.97/1.97, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 85.67 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.252e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8543/1.062, allocations: 137.6 MB / 1.018 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.062, allocations: 86.08 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05069/1.113, allocations: 11.86 MB / 1.03 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.553e-06/1.113, allocations: 0 / 1.03 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.872e-05/1.113, allocations: 8 kB / 1.03 GB, free: 7.246 MB / 0.6511 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.001191/1.114, allocations: 0.65 MB / 1.031 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.114, allocations: 8.031 kB / 1.031 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/1.115, allocations: 67.19 kB / 1.031 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009773/1.116, allocations: 392.8 kB / 1.031 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/1.116, allocations: 0 / 1.031 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/1.116, allocations: 15.5 kB / 1.031 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002507/1.116, allocations: 71.8 kB / 1.031 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/1.116, allocations: 114 kB / 1.031 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/1.116, allocations: 0 / 1.031 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/1.116, allocations: 0 / 1.031 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/1.116, allocations: 7.953 kB / 1.031 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/1.118, allocations: 0.5926 MB / 1.032 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/1.118, allocations: 119.2 kB / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/1.118, allocations: 38.55 kB / 1.032 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/1.118, allocations: 0 / 1.032 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/1.118, allocations: 89.42 kB / 1.032 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.074e-06/1.119, allocations: 4 kB / 1.032 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0004538/1.119, allocations: 158.4 kB / 1.032 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.119, allocations: 59.39 kB / 1.032 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/1.12, allocations: 0.5225 MB / 1.033 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/1.12, allocations: 29.7 kB / 1.033 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/1.12, allocations: 255.7 kB / 1.033 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/1.12, allocations: 30.73 kB / 1.033 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/1.12, allocations: 3.938 kB / 1.033 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.121, allocations: 366.9 kB / 1.034 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/1.121, allocations: 77.36 kB / 1.034 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/1.121, allocations: 119.7 kB / 1.034 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/1.121, allocations: 82.59 kB / 1.034 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.121, allocations: 0 / 1.034 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007135/1.122, allocations: 270.1 kB / 1.034 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.122, allocations: 6.188 kB / 1.034 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.122, allocations: 4.062 kB / 1.034 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.122, allocations: 4 kB / 1.034 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/1.123, allocations: 31.92 kB / 1.034 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.123, allocations: 0 / 1.034 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/1.123, allocations: 27.83 kB / 1.034 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.123, allocations: 11.12 kB / 1.034 GB, free: 3.562 MB / 0.6511 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 () * 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.0001388/1.123, allocations: 117.5 kB / 1.034 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003446/1.123, allocations: 157.6 kB / 1.034 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/1.124, allocations: 54.53 kB / 1.035 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/1.124, allocations: 163.3 kB / 1.035 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.124, allocations: 4 kB / 1.035 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.124, allocations: 0 / 1.035 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.124, allocations: 7.969 kB / 1.035 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/1.125, allocations: 323.4 kB / 1.035 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/1.125, allocations: 4 kB / 1.035 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/1.125, allocations: 23.92 kB / 1.035 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.125, allocations: 0 / 1.035 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/1.125, allocations: 3.125 kB / 1.035 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/1.125, allocations: 4 kB / 1.035 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.125, allocations: 0 / 1.035 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/1.125, allocations: 234.3 kB / 1.035 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/1.126, allocations: 127.7 kB / 1.035 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/1.126, allocations: 3.75 kB / 1.035 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/1.126, allocations: 20.05 kB / 1.035 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.126, allocations: 23.89 kB / 1.035 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/1.126, allocations: 4 kB / 1.035 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006486/1.127, allocations: 379.8 kB / 1.036 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.127, allocations: 0 / 1.036 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004991/1.127, allocations: 63.06 kB / 1.036 GB, free: 2.055 MB / 0.6511 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) * 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.001856/1.129, allocations: 1.059 MB / 1.037 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004149/1.13, allocations: 139.8 kB / 1.037 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/1.13, allocations: 0 / 1.037 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/1.13, allocations: 52.88 kB / 1.037 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/1.13, allocations: 56.77 kB / 1.037 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/1.132, allocations: 0.6779 MB / 1.038 GB, free: 300 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/1.133, allocations: 0.8639 MB / 1.039 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002151/1.133, allocations: 37.98 kB / 1.039 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/1.133, allocations: 150.2 kB / 1.039 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.503e-06/1.133, allocations: 0 / 1.039 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05261/1.186, allocations: 7.992 MB / 1.047 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/1.186, allocations: 178.9 kB / 1.047 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.806, allocations: 4 kB / 1.047 GB, free: 7.184 MB / 0.6667 GB