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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009781, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001282/0.001282, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.000508, allocations: 21.28 kB / 0.6735 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2419, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003172/0.2452, allocations: 2.249 MB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00254/0.2477, allocations: 1.454 MB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.2481, allocations: 7.938 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006431/0.2488, allocations: 207.1 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.2493, allocations: 147.6 kB / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.2498, allocations: 165.9 kB / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005555/0.2504, allocations: 291.3 kB / 0.7915 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.2507, allocations: 106.1 kB / 0.7916 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.2509, allocations: 147.3 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.2513, allocations: 163.2 kB / 0.7919 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.2513, allocations: 8 kB / 0.7919 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.2515, allocations: 39.98 kB / 0.792 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.2516, allocations: 119.5 kB / 0.7921 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.2517, allocations: 109.4 kB / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.2522, allocations: 0.4988 MB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2522, allocations: 0 / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2522, allocations: 0 / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.2523, allocations: 3.938 kB / 0.7927 GB, free: 6.258 MB / 0.6075 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.001509/0.2538, allocations: 0.8405 MB / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2538, allocations: 12.03 kB / 0.7935 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.254, allocations: 71.11 kB / 0.7936 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007565/0.2548, allocations: 456 kB / 0.794 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.2548, allocations: 16.38 kB / 0.794 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.2549, allocations: 23.98 kB / 0.794 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.2554, allocations: 224.3 kB / 0.7943 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2554, allocations: 0 / 0.7943 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.2554, allocations: 8 kB / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.2555, allocations: 4 kB / 0.7943 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.2559, allocations: 187.2 kB / 0.7944 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.2575, allocations: 0.9165 MB / 0.7953 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.2583, allocations: 262.6 kB / 0.7956 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.2583, allocations: 0 / 0.7956 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.2587, allocations: 171.7 kB / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.2587, allocations: 0 / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0008605/0.2596, allocations: 344.7 kB / 0.7961 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.2597, allocations: 81.11 kB / 0.7962 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.2606, allocations: 0.7112 MB / 0.7969 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.2606, allocations: 37.69 kB / 0.7969 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.2609, allocations: 292.3 kB / 0.7972 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.2609, allocations: 43.45 kB / 0.7972 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.261, allocations: 4 kB / 0.7972 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2611, allocations: 374.8 kB / 0.7976 GB, free: 1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.2614, allocations: 127.9 kB / 0.7977 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.2617, allocations: 169.3 kB / 0.7979 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.262, allocations: 121.1 kB / 0.798 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.262, allocations: 0 / 0.798 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006322/0.2626, allocations: 392.5 kB / 0.7983 GB, free: 188 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.2628, allocations: 267.1 kB / 0.7986 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.2628, allocations: 4 kB / 0.7986 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2628, allocations: 0 / 0.7986 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.2631, allocations: 55.95 kB / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.2631, allocations: 19.83 kB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.2634, allocations: 51.81 kB / 0.7987 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.2635, allocations: 15.98 kB / 0.7987 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.2635, allocations: 4 kB / 0.7987 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004474/0.2639, allocations: 255.8 kB / 0.799 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-06/0.2639, allocations: 3.938 kB / 0.799 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-06/0.264, allocations: 0 / 0.799 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.2642, allocations: 55.91 kB / 0.799 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2642, allocations: 4 kB / 0.799 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.2644, allocations: 47.88 kB / 0.7991 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2644, allocations: 8 kB / 0.7991 GB, free: 15.39 MB / 0.6231 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.assMesDP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002601/0.2647, allocations: 297 kB / 0.7994 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.2647, allocations: 67.19 kB / 0.7995 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.2649, allocations: 61.38 kB / 0.7995 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2649, allocations: 4 kB / 0.7995 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2649, allocations: 0 / 0.7995 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2649, allocations: 3.984 kB / 0.7995 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.2653, allocations: 437.3 kB / 0.7999 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2654, allocations: 7.938 kB / 0.7999 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.2655, allocations: 23.98 kB / 0.8 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2655, allocations: 4 kB / 0.8 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.2655, allocations: 4 kB / 0.8 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2655, allocations: 0 / 0.8 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2655, allocations: 3.984 kB / 0.8 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.2663, allocations: 407 kB / 0.8004 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.2664, allocations: 140.3 kB / 0.8005 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.2665, allocations: 8 kB / 0.8005 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.2667, allocations: 36.03 kB / 0.8005 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.2668, allocations: 27.95 kB / 0.8006 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2668, allocations: 4 kB / 0.8006 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004948/0.2673, allocations: 475 kB / 0.801 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2673, allocations: 0 / 0.801 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004265/0.2677, allocations: 135.9 kB / 0.8012 GB, free: 13.18 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009/0.2686, allocations: 430.1 kB / 0.8016 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007613/0.2694, allocations: 404.1 kB / 0.8019 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2694, allocations: 0 / 0.8019 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.2696, allocations: 104.1 kB / 0.802 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.27, allocations: 79.59 kB / 0.8021 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2715, allocations: 1.095 MB / 0.8032 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.2719, allocations: 0.9015 MB / 0.8041 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.2721, allocations: 62.94 kB / 0.8041 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.2722, allocations: 35.36 kB / 0.8042 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2722, allocations: 0 / 0.8042 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.009025/0.2812, allocations: 4.555 MB / 0.8086 GB, free: 5.691 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: