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.001548/0.001548, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002091/0.002091, allocations: 192.6 kB / 16.13 MB, free: 6.66 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.847/1.847, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 472.6 MB / 0.7447 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 61.44 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4096, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004263/0.4139, allocations: 2.709 MB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.4165, allocations: 1.635 MB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.4167, allocations: 7.938 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007133/0.4175, allocations: 223.7 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.4179, allocations: 151.3 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.4184, allocations: 223.7 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.4189, allocations: 450.6 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.4191, allocations: 139.9 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.4193, allocations: 159.1 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.4195, allocations: 187.1 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.4196, allocations: 12 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.4198, allocations: 59.97 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.4199, allocations: 139.4 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.4201, allocations: 210.4 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.4207, allocations: 0.6383 MB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4207, allocations: 4 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.11e-07/0.4207, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.4207, allocations: 0 / 1.074 GB, free: 4.035 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.001445/0.4222, allocations: 0.8948 MB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4223, allocations: 16.03 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.4224, allocations: 68.09 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.423, allocations: 492.8 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.423, allocations: 16.75 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.4231, allocations: 27.94 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.4236, allocations: 216.5 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4236, allocations: 0 / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.4236, allocations: 4 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.4236, allocations: 8 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.424, allocations: 167.3 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.4254, allocations: 0.8549 MB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009109/0.4263, allocations: 306.4 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.4265, allocations: 92.8 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.4266, allocations: 4 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.4269, allocations: 169.2 kB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.4269, allocations: 0 / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007675/0.4277, allocations: 327.1 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.4278, allocations: 81.11 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.4285, allocations: 0.7151 MB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.4286, allocations: 33.7 kB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.4288, allocations: 292.3 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.4289, allocations: 43.36 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.429, allocations: 73.59 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4291, allocations: 374.8 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.4294, allocations: 128.8 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.4297, allocations: 187.3 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.4301, allocations: 210.4 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4301, allocations: 0 / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006682/0.4308, allocations: 368.7 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4308, allocations: 4 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.577e-06/0.4309, allocations: 7.938 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4309, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.4311, allocations: 55.89 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4312, allocations: 11.92 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.4314, allocations: 47.88 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.4314, allocations: 8 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003703/0.4318, allocations: 280 kB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002506/0.4321, allocations: 179.3 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000336/0.4324, allocations: 178.5 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.4324, allocations: 0 / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005532/0.433, allocations: 345 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.433, allocations: 5.406 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.433, allocations: 7.922 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.433, allocations: 7.938 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.4332, allocations: 43.97 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.4333, allocations: 4 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.4335, allocations: 39.81 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.4335, allocations: 19.92 kB / 1.081 GB, free: 12.41 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.0001407/0.4337, allocations: 200.9 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.4337, allocations: 59.25 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.4339, allocations: 65.66 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.4339, allocations: 4 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4339, allocations: 0 / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4339, allocations: 3.938 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.4344, allocations: 441.4 kB / 1.082 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4344, allocations: 7.938 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.4345, allocations: 27.97 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4345, allocations: 4 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.4346, allocations: 7.938 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4346, allocations: 0 / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4346, allocations: 4 kB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/0.4353, allocations: 376.2 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4355, allocations: 144.2 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.4355, allocations: 7.938 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.4357, allocations: 27.97 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.4358, allocations: 23.95 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.4358, allocations: 11.98 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005434/0.4364, allocations: 479.1 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.673e-06/0.4364, allocations: 0 / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004634/0.4369, allocations: 139.6 kB / 1.083 GB, free: 10.31 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.001091/0.438, allocations: 426.4 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008759/0.4389, allocations: 395.7 kB / 1.084 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4389, allocations: 0 / 1.084 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.4391, allocations: 87.95 kB / 1.084 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.4397, allocations: 85.77 kB / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.4415, allocations: 1.137 MB / 1.085 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.442, allocations: 0.8818 MB / 1.086 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.4423, allocations: 62.92 kB / 1.086 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.4424, allocations: 31.42 kB / 1.086 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of SimCode: time 8.21e-07/0.4424, allocations: 0 / 1.086 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of Templates: time 0.01211/0.4545, allocations: 4.807 MB / 1.091 GB, free: 2.566 MB / 0.8419 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)