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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 11 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.001189/0.001189, allocations: 180.8 kB / 326.5 MB, free: 2.207 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.709/1.709, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0007707/0.0007707, allocations: 100.5 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004299, allocations: 9.938 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2359, allocations: 106.3 MB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.002533/0.2385, allocations: 2.177 MB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2402, allocations: 1.285 MB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.2404, allocations: 4 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.2409, allocations: 211.2 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.2412, allocations: 143.5 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.2416, allocations: 131.7 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.2419, allocations: 267.4 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.2422, allocations: 102.4 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.2423, allocations: 143.4 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.2425, allocations: 151.2 kB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.2426, allocations: 8 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.2427, allocations: 31.94 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/0.2428, allocations: 115.6 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.03e-05/0.2429, allocations: 105.4 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.2432, allocations: 487.1 kB / 0.9053 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2432, allocations: 0 / 0.9053 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.836e-06/0.2433, allocations: 0 / 0.9053 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.2433, allocations: 3.938 kB / 0.9054 GB, free: 58.41 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.001119/0.2444, allocations: 0.8018 MB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2444, allocations: 12.03 kB / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.2445, allocations: 54.55 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.2446, allocations: 75.05 kB / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.2451, allocations: 431.7 kB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.2452, allocations: 19.98 kB / 0.9067 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.2452, allocations: 20 kB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.2456, allocations: 221.5 kB / 0.9069 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2457, allocations: 0 / 0.9069 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.2457, allocations: 8 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2457, allocations: 4 kB / 0.9069 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.246, allocations: 167.9 kB / 0.9071 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.2472, allocations: 0.8933 MB / 0.908 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.2478, allocations: 256.7 kB / 0.9082 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.2478, allocations: 7.984 kB / 0.9082 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.2482, allocations: 166.9 kB / 0.9084 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.2482, allocations: 0 / 0.9084 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006759/0.2489, allocations: 324.8 kB / 0.9087 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2489, allocations: 81.11 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/0.2495, allocations: 0.6838 MB / 0.9094 GB, free: 54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.2496, allocations: 33.7 kB / 0.9095 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.2497, allocations: 296.2 kB / 0.9098 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.2498, allocations: 51.38 kB / 0.9098 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.2498, allocations: 4 kB / 0.9098 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.2499, allocations: 374.7 kB / 0.9102 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.2501, allocations: 120 kB / 0.9103 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.2504, allocations: 173.3 kB / 0.9104 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.2506, allocations: 124.8 kB / 0.9106 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2506, allocations: 0 / 0.9106 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005613/0.2512, allocations: 378.8 kB / 0.9109 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.2513, allocations: 267 kB / 0.9112 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2513, allocations: 0 / 0.9112 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2513, allocations: 4 kB / 0.9112 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.2515, allocations: 47.91 kB / 0.9112 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2515, allocations: 4 kB / 0.9112 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.2518, allocations: 59.75 kB / 0.9113 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.2518, allocations: 12 kB / 0.9113 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.2518, allocations: 4 kB / 0.9113 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003896/0.2522, allocations: 256.1 kB / 0.9115 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-06/0.2522, allocations: 0 / 0.9115 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-06/0.2522, allocations: 4 kB / 0.9116 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2524, allocations: 43.92 kB / 0.9116 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.2524, allocations: 11.92 kB / 0.9116 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.2526, allocations: 47.77 kB / 0.9117 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.2526, allocations: 7.984 kB / 0.9117 GB, free: 51.67 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 ($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.0002287/0.2528, allocations: 293 kB / 0.9119 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.2529, allocations: 55.3 kB / 0.912 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.845e-05/0.253, allocations: 65.28 kB / 0.9121 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.253, allocations: 0 / 0.9121 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.253, allocations: 0 / 0.9121 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.253, allocations: 4.031 kB / 0.9121 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.2533, allocations: 433.3 kB / 0.9125 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2534, allocations: 0 / 0.9125 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.2535, allocations: 35.92 kB / 0.9125 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2535, allocations: 4 kB / 0.9125 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.2535, allocations: 0 / 0.9125 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2535, allocations: 4 kB / 0.9125 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2536, allocations: 0 / 0.9125 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.2542, allocations: 392.2 kB / 0.9129 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.2543, allocations: 140.3 kB / 0.913 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.2544, allocations: 11.89 kB / 0.913 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.2546, allocations: 27.97 kB / 0.9131 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.2547, allocations: 32.02 kB / 0.9131 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.2547, allocations: 8 kB / 0.9131 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003943/0.2551, allocations: 459 kB / 0.9135 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2551, allocations: 0 / 0.9135 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003975/0.2555, allocations: 124 kB / 0.9137 GB, free: 49.52 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 (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.001561/0.2571, allocations: 1.231 MB / 0.9149 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006848/0.2578, allocations: 383.7 kB / 0.9152 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2578, allocations: 0 / 0.9152 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.258, allocations: 104.1 kB / 0.9153 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.2584, allocations: 79.11 kB / 0.9154 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.26, allocations: 1.724 MB / 0.9171 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2602, allocations: 0.8891 MB / 0.9179 GB, free: 45.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.2604, allocations: 54.92 kB / 0.918 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.2607, allocations: 183.4 kB / 0.9182 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2607, allocations: 0 / 0.9182 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.2808, allocations: 9.728 MB / 0.9277 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.2809, allocations: 244.6 kB / 0.9279 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/2.664, allocations: 4 kB / 0.9279 GB, free: 35.11 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)