Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 251.5 MB / 267.4 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 180.3 kB / 326.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205 MB / 0.5766 GB, free: 20.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 86.58 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004362, allocations: 11.62 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2317, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003387/0.2351, allocations: 2.313 MB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.2375, allocations: 1.394 MB / 0.9004 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.2377, allocations: 7.938 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006796/0.2384, allocations: 207.1 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.2389, allocations: 151.4 kB / 0.9007 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.2394, allocations: 181.6 kB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.2399, allocations: 402.8 kB / 0.9013 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.2402, allocations: 132 kB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.2404, allocations: 127.2 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.2406, allocations: 171.1 kB / 0.9017 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.2407, allocations: 8 kB / 0.9017 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.2408, allocations: 31.98 kB / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.241, allocations: 123.5 kB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.2411, allocations: 198.5 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.2416, allocations: 486.7 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2416, allocations: 4 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2416, allocations: 0 / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2416, allocations: 0 / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001311/0.2429, allocations: 0.8055 MB / 0.9033 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.243, allocations: 8.031 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2431, allocations: 68.09 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.2436, allocations: 460.4 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.2437, allocations: 12.38 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.2437, allocations: 32.06 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.2442, allocations: 225.4 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2442, allocations: 0 / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.2443, allocations: 8 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2443, allocations: 4 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.2447, allocations: 167.9 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.2459, allocations: 0.8931 MB / 0.9051 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.2467, allocations: 250.6 kB / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.2469, allocations: 96.81 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.2469, allocations: 0 / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003902/0.2473, allocations: 162 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.855e-06/0.2474, allocations: 7.938 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0008216/0.2482, allocations: 333.8 kB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2482, allocations: 81.11 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00067/0.2489, allocations: 0.6955 MB / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.249, allocations: 33.7 kB / 0.9067 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.2491, allocations: 288.2 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.2492, allocations: 43.45 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.2492, allocations: 33.7 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.2493, allocations: 382.8 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.2496, allocations: 123.9 kB / 0.9075 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.2499, allocations: 177.1 kB / 0.9077 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.2503, allocations: 213.2 kB / 0.9079 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2504, allocations: 4 kB / 0.9079 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006761/0.251, allocations: 372.8 kB / 0.9083 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.2511, allocations: 110.7 kB / 0.9084 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2511, allocations: 4 kB / 0.9084 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2511, allocations: 0 / 0.9084 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.2514, allocations: 51.91 kB / 0.9084 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2514, allocations: 0 / 0.9084 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.2517, allocations: 59.73 kB / 0.9085 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.2517, allocations: 12 kB / 0.9085 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.2517, allocations: 7.938 kB / 0.9085 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003904/0.2521, allocations: 260.1 kB / 0.9087 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/0.2521, allocations: 0 / 0.9087 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-06/0.2521, allocations: 0 / 0.9087 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2523, allocations: 47.92 kB / 0.9088 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.2523, allocations: 3.984 kB / 0.9088 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.2525, allocations: 43.86 kB / 0.9088 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2525, allocations: 11.98 kB / 0.9088 GB, free: 55.43 MB / 0.6042 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.0001853/0.2527, allocations: 293.6 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.2527, allocations: 59.25 kB / 0.9092 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.2528, allocations: 65.28 kB / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2529, allocations: 4 kB / 0.9092 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2529, allocations: 3.938 kB / 0.9092 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2529, allocations: 0 / 0.9092 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.2532, allocations: 437.3 kB / 0.9097 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2532, allocations: 0 / 0.9097 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.2533, allocations: 27.97 kB / 0.9097 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2533, allocations: 0 / 0.9097 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.2534, allocations: 12 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2534, allocations: 3.938 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2534, allocations: 3.938 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.254, allocations: 390.2 kB / 0.9101 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.2541, allocations: 124.5 kB / 0.9102 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.2541, allocations: 8 kB / 0.9102 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.2543, allocations: 36.03 kB / 0.9102 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.2544, allocations: 27.91 kB / 0.9103 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.2544, allocations: 7.984 kB / 0.9103 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003724/0.2548, allocations: 463 kB / 0.9107 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2548, allocations: 4 kB / 0.9107 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003756/0.2552, allocations: 115.7 kB / 0.9108 GB, free: 53.29 MB / 0.6042 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.0008315/0.256, allocations: 427.3 kB / 0.9112 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009254/0.2569, allocations: 395.9 kB / 0.9116 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2569, allocations: 0 / 0.9116 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.2571, allocations: 99.83 kB / 0.9117 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.2576, allocations: 78.55 kB / 0.9118 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2588, allocations: 1.14 MB / 0.9129 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.2591, allocations: 0.8695 MB / 0.9137 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/0.2592, allocations: 39.42 kB / 0.9138 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2592, allocations: 0 / 0.9138 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.006712/0.2659, allocations: 6.094 MB / 0.9197 GB, free: 44.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)