Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001343/0.001343, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001484/0.001484, allocations: 183 kB / 17.34 MB, free: 5.75 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 63.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8602, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004213/0.8645, allocations: 2.679 MB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.8674, allocations: 1.664 MB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.8677, allocations: 5.812 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008434/0.8686, allocations: 242.2 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005149/0.8691, allocations: 177 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.8699, allocations: 245.7 kB / 1.094 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006605/0.8705, allocations: 475.9 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.8708, allocations: 155.5 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.8711, allocations: 194.9 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.8714, allocations: 191.2 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-05/0.8715, allocations: 37.31 kB / 1.095 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.8718, allocations: 83.47 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.872, allocations: 149.6 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.8722, allocations: 248.5 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009155/0.8732, allocations: 0.6607 MB / 1.096 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8732, allocations: 4.531 kB / 1.096 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8732, allocations: 4 kB / 1.096 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.8732, allocations: 0.6562 kB / 1.096 GB, free: 1.031 MB / 0.8575 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.001609/0.8748, allocations: 0.8967 MB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.8749, allocations: 9.344 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.875, allocations: 67.56 kB / 1.097 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.8757, allocations: 496.1 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.8757, allocations: 16.78 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.8758, allocations: 26.95 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.8764, allocations: 215 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.8764, allocations: 1.375 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.8764, allocations: 10.36 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.8765, allocations: 8.062 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.8769, allocations: 161 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.8786, allocations: 0.9056 MB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.8793, allocations: 229.1 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.8795, allocations: 88.55 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.8796, allocations: 2.047 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003635/0.8799, allocations: 161.8 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.105e-05/0.88, allocations: 0 / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0008545/0.8808, allocations: 323.6 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.8809, allocations: 80.88 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009797/0.8819, allocations: 0.7102 MB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.8819, allocations: 33.23 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.8822, allocations: 290.2 kB / 1.1 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.8822, allocations: 54.47 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.8824, allocations: 62.58 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8826, allocations: 380.8 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.8828, allocations: 121.8 kB / 1.101 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.8832, allocations: 172.6 kB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.8836, allocations: 202.6 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8836, allocations: 1.062 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007615/0.8844, allocations: 363.8 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.8845, allocations: 8.594 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.8845, allocations: 5.031 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.8845, allocations: 3.141 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.8848, allocations: 57.83 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.8848, allocations: 2.094 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.8851, allocations: 43.69 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.8852, allocations: 16.28 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004254/0.8856, allocations: 283.8 kB / 1.102 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002656/0.8859, allocations: 160.9 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003591/0.8862, allocations: 182.1 kB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.8862, allocations: 0.9688 kB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0006977/0.887, allocations: 333 kB / 1.103 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.887, allocations: 9.375 kB / 1.103 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.887, allocations: 1.844 kB / 1.103 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/0.887, allocations: 5.469 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.8872, allocations: 49.81 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8873, allocations: 2.422 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.8875, allocations: 41.39 kB / 1.103 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.8876, allocations: 11.03 kB / 1.103 GB, free: 12.84 MB / 0.8731 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.0001507/0.8877, allocations: 209.7 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.645e-05/0.8878, allocations: 62.45 kB / 1.103 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.888, allocations: 63.64 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.888, allocations: 2.25 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.888, allocations: 0.5312 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.888, allocations: 1.297 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.8886, allocations: 435.9 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8886, allocations: 0.6094 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.8887, allocations: 27.08 kB / 1.103 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8887, allocations: 5.031 kB / 1.103 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.8888, allocations: 3.719 kB / 1.103 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.8888, allocations: 0.7031 kB / 1.103 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8888, allocations: 1.281 kB / 1.103 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.8895, allocations: 381.7 kB / 1.104 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.8897, allocations: 136.5 kB / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.8897, allocations: 12.83 kB / 1.104 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.8899, allocations: 25.22 kB / 1.104 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.89, allocations: 23.19 kB / 1.104 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.89, allocations: 10.12 kB / 1.104 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006029/0.8907, allocations: 477.1 kB / 1.104 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8907, allocations: 4 kB / 1.104 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005405/0.8912, allocations: 127 kB / 1.105 GB, free: 11.71 MB / 0.8731 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.001071/0.8923, allocations: 424.8 kB / 1.105 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00089/0.8932, allocations: 382.3 kB / 1.105 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8932, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.8935, allocations: 93.19 kB / 1.105 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.894, allocations: 100.3 kB / 1.106 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.8958, allocations: 1.013 MB / 1.107 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.8964, allocations: 0.8916 MB / 1.107 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.8965, allocations: 38.25 kB / 1.107 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.8965, allocations: 0 / 1.107 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of Templates: time 0.01428/0.9108, allocations: 6.462 MB / 1.114 GB, free: 9.008 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)