Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.782/1.782, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 180.5 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205 MB / 0.6353 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000999/0.0009992, allocations: 97.03 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.336, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004754/0.3408, allocations: 2.718 MB / 0.9849 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.3434, allocations: 1.558 MB / 0.9864 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.3437, allocations: 7.938 kB / 0.9864 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007318/0.3444, allocations: 223.4 kB / 0.9866 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.3449, allocations: 151.3 kB / 0.9868 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.3454, allocations: 199.7 kB / 0.987 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00057/0.346, allocations: 454.6 kB / 0.9874 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.3463, allocations: 152.5 kB / 0.9875 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3466, allocations: 163.1 kB / 0.9877 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.3468, allocations: 183.1 kB / 0.9879 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.3469, allocations: 16 kB / 0.9879 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.3471, allocations: 55.97 kB / 0.9879 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.3472, allocations: 131.4 kB / 0.9881 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.3474, allocations: 218.3 kB / 0.9883 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006465/0.3481, allocations: 0.6267 MB / 0.9889 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3481, allocations: 7.984 kB / 0.9889 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3481, allocations: 0 / 0.9889 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3481, allocations: 0 / 0.9889 GB, free: 3.512 MB / 0.7136 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.001775/0.3499, allocations: 0.9024 MB / 0.9898 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.35, allocations: 8.031 kB / 0.9898 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.3501, allocations: 76.09 kB / 0.9898 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/0.3509, allocations: 492.7 kB / 0.9903 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.3509, allocations: 12.75 kB / 0.9903 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.351, allocations: 23.94 kB / 0.9904 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.3515, allocations: 220.2 kB / 0.9906 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3515, allocations: 0 / 0.9906 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.3516, allocations: 11.98 kB / 0.9906 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3516, allocations: 4 kB / 0.9906 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.352, allocations: 167.3 kB / 0.9907 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.3536, allocations: 0.9009 MB / 0.9916 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.3543, allocations: 226.6 kB / 0.9918 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.3545, allocations: 88.81 kB / 0.9919 GB, free: 244 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.3545, allocations: 11.92 kB / 0.9919 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/0.3549, allocations: 164.9 kB / 0.9921 GB, free: 48 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.3549, allocations: 0 / 0.9921 GB, free: 48 kB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0008161/0.3558, allocations: 319.3 kB / 0.9924 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.3558, allocations: 85.11 kB / 0.9925 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/0.3567, allocations: 0.719 MB / 0.9932 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.3567, allocations: 33.7 kB / 0.9932 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.357, allocations: 288.4 kB / 0.9935 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.357, allocations: 43.36 kB / 0.9935 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3571, allocations: 65.69 kB / 0.9936 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3573, allocations: 378.7 kB / 0.9939 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.3576, allocations: 128.8 kB / 0.9941 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.3579, allocations: 169.1 kB / 0.9942 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.3584, allocations: 206.4 kB / 0.9944 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3584, allocations: 0 / 0.9944 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006739/0.3591, allocations: 352.8 kB / 0.9948 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.3591, allocations: 16 kB / 0.9948 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3591, allocations: 0 / 0.9948 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3591, allocations: 0 / 0.9948 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.3594, allocations: 59.89 kB / 0.9948 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.3594, allocations: 7.984 kB / 0.9948 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.3597, allocations: 39.81 kB / 0.9949 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.3597, allocations: 4 kB / 0.9949 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004017/0.3601, allocations: 288 kB / 0.9952 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002658/0.3604, allocations: 161.6 kB / 0.9953 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003413/0.3608, allocations: 182.7 kB / 0.9955 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.3608, allocations: 0 / 0.9955 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0006043/0.3614, allocations: 336.7 kB / 0.9958 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3614, allocations: 6.188 kB / 0.9958 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.3614, allocations: 0 / 0.9958 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.3614, allocations: 7.938 kB / 0.9958 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.3616, allocations: 47.91 kB / 0.9959 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3617, allocations: 4 kB / 0.9959 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.3619, allocations: 47.86 kB / 0.9959 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.3619, allocations: 8 kB / 0.9959 GB, free: 11.98 MB / 0.7292 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 (30): * Single equations (assignments): 30 * 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.0001989/0.3621, allocations: 200.8 kB / 0.9961 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.3623, allocations: 63.19 kB / 0.9962 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.3625, allocations: 65.45 kB / 0.9962 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3625, allocations: 11.98 kB / 0.9963 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3625, allocations: 4 kB / 0.9963 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3625, allocations: 0 / 0.9963 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.3631, allocations: 441.3 kB / 0.9967 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3631, allocations: 3.938 kB / 0.9967 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3633, allocations: 19.98 kB / 0.9967 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.3633, allocations: 7.938 kB / 0.9967 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.3633, allocations: 3.984 kB / 0.9967 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3633, allocations: 7.875 kB / 0.9967 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3634, allocations: 0 / 0.9967 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004094/0.3675, allocations: 2.346 MB / 0.999 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3676, allocations: 132.4 kB / 0.9991 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.3677, allocations: 8 kB / 0.9991 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3678, allocations: 27.97 kB / 0.9992 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.3679, allocations: 24.03 kB / 0.9992 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.368, allocations: 4 kB / 0.9992 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005875/0.3686, allocations: 483 kB / 0.9997 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3686, allocations: 0 / 0.9997 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007706/0.3693, allocations: 183.6 kB / 0.9998 GB, free: 7.711 MB / 0.7292 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 (15): * Single equations (assignments): 13 * 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.001212/0.3706, allocations: 440.1 kB / 1 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008799/0.3715, allocations: 379.7 kB / 1.001 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3715, allocations: 4 kB / 1.001 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.3717, allocations: 95.88 kB / 1.001 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3722, allocations: 90.17 kB / 1.001 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3741, allocations: 1.272 MB / 1.002 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.3746, allocations: 0.8896 MB / 1.003 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.3749, allocations: 54.94 kB / 1.003 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.375, allocations: 39.42 kB / 1.003 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.375, allocations: 0 / 1.003 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.01057/0.3856, allocations: 4.994 MB / 1.008 GB, free: 15.56 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)