Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008983, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 171.7 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005697/0.0005697, allocations: 12.52 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4105, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003711/0.4143, allocations: 2.351 MB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00329/0.4176, allocations: 1.604 MB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.4181, allocations: 4 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008638/0.419, allocations: 227.7 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006899/0.4197, allocations: 151.3 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007798/0.4205, allocations: 219.7 kB / 1.079 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008047/0.4213, allocations: 450.6 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.4217, allocations: 139.9 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.4221, allocations: 143.2 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.4225, allocations: 171 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.4226, allocations: 8 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.4228, allocations: 55.97 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.4229, allocations: 123.5 kB / 1.08 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.4232, allocations: 240 kB / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008044/0.424, allocations: 0.6109 MB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4241, allocations: 0 / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4241, allocations: 0 / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.938e-05/0.4241, allocations: 0 / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.002236/0.4264, allocations: 0.8212 MB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.4264, allocations: 12.02 kB / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.4267, allocations: 72.09 kB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000954/0.4277, allocations: 488.7 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.4278, allocations: 20.75 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.4278, allocations: 23.94 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.4285, allocations: 224.5 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4285, allocations: 4 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.4285, allocations: 4 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4285, allocations: 11.98 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.429, allocations: 175.3 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.431, allocations: 0.8783 MB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.4321, allocations: 358.4 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.4324, allocations: 100.8 kB / 1.084 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.4324, allocations: 4 kB / 1.084 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.4328, allocations: 177.2 kB / 1.084 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.936e-06/0.4329, allocations: 4 kB / 1.084 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0008796/0.4337, allocations: 351.1 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.4338, allocations: 77.11 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/0.4348, allocations: 0.7112 MB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.4349, allocations: 37.7 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.4352, allocations: 288.4 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.508e-05/0.4352, allocations: 51.34 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.4353, allocations: 37.7 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002781/0.4356, allocations: 374.8 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.4359, allocations: 127.9 kB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.4363, allocations: 199.2 kB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.4369, allocations: 230.4 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4369, allocations: 0 / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000919/0.4378, allocations: 380.8 kB / 1.086 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.438, allocations: 118.9 kB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.438, allocations: 4 kB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.438, allocations: 0 / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.4383, allocations: 51.97 kB / 1.087 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.4383, allocations: 11.92 kB / 1.087 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.4386, allocations: 59.7 kB / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.4387, allocations: 15.98 kB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4387, allocations: 5.406 kB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005383/0.4393, allocations: 267.8 kB / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4393, allocations: 4 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.4393, allocations: 0 / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.4395, allocations: 55.89 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4396, allocations: 11.88 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.4399, allocations: 47.84 kB / 1.087 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.4399, allocations: 12 kB / 1.087 GB, free: 9.949 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,filPow.assPow.minPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.maxPow.y,filPow.assPow.assMesDP.u,filPow.assPow.assMesP.u,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,filPow.limDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.000409/0.4403, allocations: 300.9 kB / 1.087 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4404, allocations: 55.25 kB / 1.087 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.4406, allocations: 65.72 kB / 1.087 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4406, allocations: 3.938 kB / 1.087 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4406, allocations: 4 kB / 1.088 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4407, allocations: 4 kB / 1.088 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.4412, allocations: 437.4 kB / 1.088 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4413, allocations: 4 kB / 1.088 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.4414, allocations: 31.97 kB / 1.088 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4414, allocations: 0 / 1.088 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.4415, allocations: 4 kB / 1.088 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4415, allocations: 3.938 kB / 1.088 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4415, allocations: 4 kB / 1.088 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000897/0.4424, allocations: 412 kB / 1.088 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.4426, allocations: 140.3 kB / 1.088 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.4427, allocations: 8 kB / 1.089 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.4429, allocations: 35.97 kB / 1.089 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.443, allocations: 23.97 kB / 1.089 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.443, allocations: 11.98 kB / 1.089 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007199/0.4437, allocations: 471 kB / 1.089 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4437, allocations: 0 / 1.089 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005287/0.4443, allocations: 135.7 kB / 1.089 GB, free: 7.734 MB / 0.8419 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.assMesDP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.001214/0.4455, allocations: 433 kB / 1.09 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009218/0.4464, allocations: 413.8 kB / 1.09 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4465, allocations: 0 / 1.09 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.4467, allocations: 100.1 kB / 1.09 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.4473, allocations: 92.25 kB / 1.09 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.4492, allocations: 1.154 MB / 1.091 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.4497, allocations: 0.8779 MB / 1.092 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002515/0.4499, allocations: 62.92 kB / 1.092 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.4501, allocations: 39.38 kB / 1.092 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4501, allocations: 0 / 1.092 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of Templates: time 0.01172/0.4618, allocations: 4.767 MB / 1.097 GB, free: 15.97 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)