Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.574/1.574, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 184.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 0.6626 GB, free: 4.289 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008011/0.0008011, allocations: 95.75 kB / 0.7808 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004146, allocations: 19.12 kB / 0.9088 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6115, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.7909, allocations: 149.5 MB / 1.172 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.7913, allocations: 92.47 kB / 1.172 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03476/0.8261, allocations: 14.27 MB / 1.186 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8261, allocations: 0 / 1.186 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.402e-05/0.8262, allocations: 9.125 kB / 1.186 GB, free: 14.12 MB / 0.7605 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.001378/0.8276, allocations: 0.8573 MB / 1.187 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.8276, allocations: 8.031 kB / 1.187 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.8278, allocations: 68.09 kB / 1.187 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.8285, allocations: 0.5047 MB / 1.188 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.8286, allocations: 12.75 kB / 1.188 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.8286, allocations: 28.28 kB / 1.188 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.8291, allocations: 229.6 kB / 1.188 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.8291, allocations: 5.719 kB / 1.188 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.8291, allocations: 12 kB / 1.188 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.8291, allocations: 4 kB / 1.188 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.8295, allocations: 183.2 kB / 1.188 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.8309, allocations: 0.8815 MB / 1.189 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.8315, allocations: 264.5 kB / 1.189 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.8317, allocations: 92.81 kB / 1.189 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.8317, allocations: 4 kB / 1.189 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/0.832, allocations: 178 kB / 1.19 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.8321, allocations: 0 / 1.19 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of matching and sorting (n=16): time 0.0007541/0.8328, allocations: 346.7 kB / 1.19 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.8329, allocations: 85.09 kB / 1.19 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008406/0.8337, allocations: 0.715 MB / 1.191 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.8338, allocations: 41.69 kB / 1.191 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.834, allocations: 296.4 kB / 1.191 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.8341, allocations: 47.36 kB / 1.191 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.8341, allocations: 0 / 1.191 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8342, allocations: 376.4 kB / 1.191 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.8345, allocations: 135.9 kB / 1.192 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.8348, allocations: 188.9 kB / 1.192 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.8353, allocations: 219 kB / 1.192 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8353, allocations: 0 / 1.192 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006909/0.836, allocations: 401.5 kB / 1.192 GB, free: 7.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.8361, allocations: 105.9 kB / 1.192 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8361, allocations: 7.938 kB / 1.192 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.8361, allocations: 0.75 kB / 1.192 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.8363, allocations: 55.91 kB / 1.192 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8364, allocations: 0 / 1.192 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.8366, allocations: 59.8 kB / 1.193 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.8367, allocations: 12 kB / 1.193 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.8367, allocations: 4 kB / 1.193 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004956/0.8372, allocations: 283.8 kB / 1.193 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.8372, allocations: 1.125 kB / 1.193 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-06/0.8372, allocations: 0 / 1.193 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.8374, allocations: 58.06 kB / 1.193 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.8374, allocations: 1.641 kB / 1.193 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.8376, allocations: 51.81 kB / 1.193 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.8376, allocations: 8 kB / 1.193 GB, free: 7.109 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * 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.0002725/0.8379, allocations: 301.9 kB / 1.193 GB, free: 6.805 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.838, allocations: 60.89 kB / 1.193 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.8386, allocations: 287.8 kB / 1.194 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.8386, allocations: 3.938 kB / 1.194 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.8386, allocations: 1 kB / 1.194 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8386, allocations: 0 / 1.194 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.839, allocations: 453.3 kB / 1.194 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.839, allocations: 0 / 1.194 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.8392, allocations: 35.92 kB / 1.194 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8392, allocations: 0 / 1.194 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.8392, allocations: 7.984 kB / 1.194 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.8392, allocations: 5.188 kB / 1.194 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8392, allocations: 0 / 1.194 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.8399, allocations: 417.3 kB / 1.194 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.8401, allocations: 140.2 kB / 1.195 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.8401, allocations: 11.94 kB / 1.195 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.8403, allocations: 35.97 kB / 1.195 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.8404, allocations: 27.95 kB / 1.195 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.8404, allocations: 8.062 kB / 1.195 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005384/0.841, allocations: 488.4 kB / 1.195 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.51e-07/0.841, allocations: 0 / 1.195 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004736/0.8415, allocations: 151.8 kB / 1.195 GB, free: 4.629 MB / 0.7605 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.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.000978/0.8424, allocations: 466.7 kB / 1.196 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007595/0.8432, allocations: 410 kB / 1.196 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8432, allocations: 4 kB / 1.196 GB, free: 4.008 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.8435, allocations: 108 kB / 1.196 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.844, allocations: 85.62 kB / 1.196 GB, free: 3.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.8457, allocations: 1.114 MB / 1.197 GB, free: 2.676 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.8462, allocations: 0.8788 MB / 1.198 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002505/0.8465, allocations: 59.95 kB / 1.198 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.8466, allocations: 39.42 kB / 1.198 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of SimCode: time 2.6e-07/0.8466, allocations: 0 / 1.198 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of Templates: time 0.01141/0.858, allocations: 5.108 MB / 1.203 GB, free: 12.76 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)