Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001031/0.001031, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008563/0.008563, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 473.4 MB / 0.7469 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.000413, allocations: 15.81 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3941, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004194/0.3984, allocations: 2.355 MB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.4017, allocations: 1.596 MB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.402, allocations: 7.938 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007611/0.4028, allocations: 227.7 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.4033, allocations: 143.4 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.4039, allocations: 227.6 kB / 1.079 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.4045, allocations: 446.7 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.4049, allocations: 139.9 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.4052, allocations: 147.2 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.4055, allocations: 171 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.4055, allocations: 12 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.4057, allocations: 51.97 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.4059, allocations: 119.5 kB / 1.08 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.4061, allocations: 232.1 kB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.4068, allocations: 0.6148 MB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4068, allocations: 4 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4068, allocations: 3.938 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.4068, allocations: 0 / 1.08 GB, free: 0.9961 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.001617/0.4084, allocations: 0.8173 MB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4085, allocations: 8.031 kB / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.4086, allocations: 68.09 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.4094, allocations: 492.8 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.4095, allocations: 16.75 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.4095, allocations: 31.94 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.41, allocations: 224.5 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4101, allocations: 4 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.4101, allocations: 8 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4101, allocations: 7.938 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.4106, allocations: 179.3 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.4124, allocations: 0.8822 MB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4134, allocations: 354.5 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.4136, allocations: 96.81 kB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.4137, allocations: 3.984 kB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.4141, allocations: 177.2 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.455e-06/0.4141, allocations: 0 / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0008647/0.415, allocations: 354.2 kB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.4151, allocations: 85.11 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.4159, allocations: 0.7073 MB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.416, allocations: 37.7 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.4162, allocations: 292.3 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.4163, allocations: 47.36 kB / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.4163, allocations: 37.7 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4165, allocations: 370.8 kB / 1.086 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.4168, allocations: 127.9 kB / 1.086 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.4171, allocations: 199.3 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.4176, allocations: 234.3 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4176, allocations: 0 / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006888/0.4183, allocations: 380.8 kB / 1.086 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.4184, allocations: 110.9 kB / 1.087 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4184, allocations: 0 / 1.087 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4185, allocations: 4.031 kB / 1.087 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.4187, allocations: 63.89 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4187, allocations: 3.984 kB / 1.087 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.419, allocations: 59.72 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.4191, allocations: 15.98 kB / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-06/0.4191, allocations: 0 / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004892/0.4196, allocations: 267.8 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-06/0.4196, allocations: 0 / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-06/0.4196, allocations: 4.062 kB / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.4198, allocations: 51.91 kB / 1.087 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.4198, allocations: 7.938 kB / 1.087 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.4201, allocations: 47.75 kB / 1.087 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4201, allocations: 12 kB / 1.087 GB, free: 9.914 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.0002943/0.4204, allocations: 304.9 kB / 1.087 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.4205, allocations: 59.25 kB / 1.087 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.4206, allocations: 65.7 kB / 1.087 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4206, allocations: 11.88 kB / 1.087 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4206, allocations: 0 / 1.087 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4206, allocations: 0 / 1.087 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.4211, allocations: 437.3 kB / 1.088 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4211, allocations: 0 / 1.088 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.4213, allocations: 35.92 kB / 1.088 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4213, allocations: 4 kB / 1.088 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4213, allocations: 3.984 kB / 1.088 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4213, allocations: 3.938 kB / 1.088 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4213, allocations: 4.062 kB / 1.088 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.4222, allocations: 419.6 kB / 1.088 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.4223, allocations: 132.3 kB / 1.088 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.4224, allocations: 11.98 kB / 1.088 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.4226, allocations: 35.91 kB / 1.089 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.4227, allocations: 19.97 kB / 1.089 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4227, allocations: 12.06 kB / 1.089 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005357/0.4233, allocations: 482.9 kB / 1.089 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4233, allocations: 0 / 1.089 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000447/0.4237, allocations: 131.7 kB / 1.089 GB, free: 7.684 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.001031/0.4248, allocations: 421.4 kB / 1.09 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008622/0.4256, allocations: 411.9 kB / 1.09 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4256, allocations: 0 / 1.09 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.4259, allocations: 107.9 kB / 1.09 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.4265, allocations: 94.97 kB / 1.09 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.4283, allocations: 1.165 MB / 1.091 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.4288, allocations: 0.8818 MB / 1.092 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002103/0.4291, allocations: 54.94 kB / 1.092 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.4292, allocations: 35.42 kB / 1.092 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.4292, allocations: 4 kB / 1.092 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of Templates: time 0.01091/0.4401, allocations: 4.748 MB / 1.097 GB, free: 15.93 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)