Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_11_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.001521/0.001521, allocations: 106 kB / 15.99 MB, free: 5.891 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.001505/0.001505, allocations: 194.7 kB / 16.91 MB, free: 5.746 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.713/2.713, allocations: 469.8 MB / 0.7427 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.84 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3057, allocations: 159.1 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004585/0.3104, allocations: 2.721 MB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002801/0.3132, allocations: 1.623 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.3134, allocations: 7.938 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.3141, allocations: 223.7 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.3145, allocations: 147.3 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.3151, allocations: 229.2 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.3156, allocations: 478.7 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.3159, allocations: 151.8 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.3162, allocations: 183.2 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.3165, allocations: 215 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.3165, allocations: 36 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3167, allocations: 87.89 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3169, allocations: 147.5 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.3172, allocations: 250.3 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.3178, allocations: 0.5223 MB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3178, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3178, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3178, allocations: 0 / 1.071 GB, free: 7.586 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.0015/0.3193, allocations: 0.9026 MB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3194, allocations: 12.03 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.3195, allocations: 68.09 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.3202, allocations: 480.8 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.3203, allocations: 20.75 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.3204, allocations: 27.94 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.3209, allocations: 220.5 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3209, allocations: 0 / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.3209, allocations: 4 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3209, allocations: 4 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003941/0.3214, allocations: 179 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.3228, allocations: 0.8627 MB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.3238, allocations: 295.6 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.324, allocations: 92.75 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.324, allocations: 7.969 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.3244, allocations: 169.2 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.3244, allocations: 0 / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007955/0.3252, allocations: 322.2 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.3253, allocations: 89.05 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.3261, allocations: 0.7112 MB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.3262, allocations: 37.7 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.3265, allocations: 284.4 kB / 1.076 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.3265, allocations: 51.33 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3266, allocations: 65.69 kB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3269, allocations: 378.8 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.3271, allocations: 128.8 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.3275, allocations: 186.8 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.328, allocations: 216.5 kB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.328, allocations: 0 / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006873/0.3287, allocations: 376.7 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3287, allocations: 5.562 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3287, allocations: 7.938 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3287, allocations: 0 / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.329, allocations: 55.91 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.329, allocations: 3.984 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.3293, allocations: 39.81 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.3293, allocations: 12 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003943/0.3297, allocations: 284.1 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002681/0.33, allocations: 174.7 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003556/0.3303, allocations: 190.4 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.3304, allocations: 0 / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005945/0.331, allocations: 341 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.331, allocations: 4 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.331, allocations: 3.984 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.331, allocations: 7.938 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.3312, allocations: 55.95 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.3313, allocations: 4 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.3315, allocations: 39.81 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.3315, allocations: 12 kB / 1.078 GB, free: 15.94 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.0001709/0.3317, allocations: 204.1 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.3318, allocations: 59.25 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.3319, allocations: 73.59 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3319, allocations: 4 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3319, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.332, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.3324, allocations: 441.2 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3324, allocations: 0 / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.3326, allocations: 27.97 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3326, allocations: 0 / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3326, allocations: 7.938 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3327, allocations: 4 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3327, allocations: 4 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000781/0.3334, allocations: 378.1 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3336, allocations: 140.3 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.3337, allocations: 16.06 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.3338, allocations: 23.97 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.3339, allocations: 27.97 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3339, allocations: 4 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005641/0.3345, allocations: 479 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3345, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004724/0.335, allocations: 131.7 kB / 1.08 GB, free: 13.86 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.001528/0.3365, allocations: 435.1 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008706/0.3374, allocations: 398.8 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3374, allocations: 0 / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.3377, allocations: 96.14 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.3382, allocations: 92.48 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.34, allocations: 1.168 MB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.3406, allocations: 0.8777 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3407, allocations: 39.42 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3407, allocations: 0 / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.01025/0.3509, allocations: 6.492 MB / 1.089 GB, free: 4.418 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)