Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.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.FilterPower,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",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.223/2.223, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001518/0.001518, allocations: 168.9 kB / 315.4 MB, free: 4.059 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.005/2.005, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001122/0.001122, allocations: 97.84 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.649e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2032, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8488/1.052, allocations: 139.1 MB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.053, allocations: 88.11 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05842/1.111, allocations: 13.25 MB / 1.033 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/1.111, allocations: 4 kB / 1.033 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.72e-05/1.111, allocations: 8 kB / 1.033 GB, free: 4.543 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001507/1.113, allocations: 0.7215 MB / 1.034 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.113, allocations: 16.03 kB / 1.034 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/1.113, allocations: 66.17 kB / 1.034 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/1.114, allocations: 454.5 kB / 1.034 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/1.114, allocations: 4 kB / 1.034 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/1.114, allocations: 15.94 kB / 1.034 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004187/1.115, allocations: 130.1 kB / 1.034 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/1.115, allocations: 167.4 kB / 1.035 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.115, allocations: 4 kB / 1.035 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/1.115, allocations: 0 / 1.035 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/1.115, allocations: 4 kB / 1.035 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/1.117, allocations: 0.8061 MB / 1.035 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/1.118, allocations: 170.5 kB / 1.035 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/1.118, allocations: 56.36 kB / 1.036 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/1.118, allocations: 4 kB / 1.036 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/1.118, allocations: 136.7 kB / 1.036 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/1.118, allocations: 0 / 1.036 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0005765/1.119, allocations: 204.5 kB / 1.036 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/1.119, allocations: 81.11 kB / 1.036 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.12, allocations: 0.5686 MB / 1.037 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/1.12, allocations: 25.7 kB / 1.037 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/1.12, allocations: 280.2 kB / 1.037 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/1.121, allocations: 46.23 kB / 1.037 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/1.121, allocations: 0 / 1.037 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001998/1.121, allocations: 375.1 kB / 1.037 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/1.121, allocations: 107.2 kB / 1.037 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/1.121, allocations: 144.9 kB / 1.037 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/1.122, allocations: 94.2 kB / 1.038 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.122, allocations: 4 kB / 1.038 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007654/1.122, allocations: 324.6 kB / 1.038 GB, free: 364 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.123, allocations: 182 kB / 1.038 GB, free: 168 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.123, allocations: 0 / 1.038 GB, free: 168 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.123, allocations: 0 / 1.038 GB, free: 168 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/1.123, allocations: 59.14 kB / 1.038 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.123, allocations: 4 kB / 1.038 GB, free: 108 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/1.123, allocations: 39.95 kB / 1.038 GB, free: 68 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/1.124, allocations: 14.55 kB / 1.038 GB, free: 56 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/1.124, allocations: 4 kB / 1.038 GB, free: 52 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006418/1.124, allocations: 231 kB / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/1.124, allocations: 7.969 kB / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/1.124, allocations: 0 / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/1.125, allocations: 43.97 kB / 1.038 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/1.125, allocations: 0 / 1.038 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/1.125, allocations: 39.81 kB / 1.038 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/1.125, allocations: 14.69 kB / 1.038 GB, free: 15.79 MB / 0.6667 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,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001524/1.125, allocations: 119.8 kB / 1.039 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004431/1.126, allocations: 195.9 kB / 1.039 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/1.126, allocations: 55.3 kB / 1.039 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/1.126, allocations: 209.7 kB / 1.039 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/1.126, allocations: 4 kB / 1.039 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.126, allocations: 0 / 1.039 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/1.126, allocations: 0 / 1.039 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/1.127, allocations: 411.6 kB / 1.039 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.127, allocations: 0 / 1.039 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/1.127, allocations: 35.91 kB / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.127, allocations: 3.953 kB / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/1.127, allocations: 4 kB / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.127, allocations: 0 / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.127, allocations: 0 / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/1.128, allocations: 314.2 kB / 1.04 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/1.128, allocations: 135.7 kB / 1.04 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.625e-05/1.128, allocations: 3.953 kB / 1.04 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/1.129, allocations: 27.97 kB / 1.04 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.129, allocations: 27.58 kB / 1.04 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/1.129, allocations: 11.25 kB / 1.04 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007076/1.13, allocations: 419.2 kB / 1.04 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.61e-07/1.13, allocations: 0 / 1.04 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007169/1.13, allocations: 126.8 kB / 1.04 GB, free: 14 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (filPow.assPow.demRat.x,filPow.dPLim.y) * Number of discrete variables: 7 ($whenCondition1,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.002062/1.133, allocations: 1.119 MB / 1.042 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008258/1.133, allocations: 335.3 kB / 1.042 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.133, allocations: 7.938 kB / 1.042 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/1.134, allocations: 73.56 kB / 1.042 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/1.134, allocations: 75.86 kB / 1.042 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/1.136, allocations: 0.813 MB / 1.043 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/1.137, allocations: 0.8925 MB / 1.044 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007566/1.138, allocations: 138.4 kB / 1.044 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/1.138, allocations: 181.4 kB / 1.044 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of SimCode: time 1.052e-06/1.138, allocations: 4 kB / 1.044 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.066/1.204, allocations: 10.53 MB / 1.054 GB, free: 356 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/1.205, allocations: 178.9 kB / 1.054 GB, free: 156 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/4.08, allocations: 0 / 1.054 GB, free: 156 kB / 0.6667 GB