Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.779/1.779, allocations: 288.2 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 182 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009542/0.0009542, allocations: 86.91 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 15.62 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2235, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.00281/0.2264, allocations: 2.245 MB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002335/0.2288, allocations: 1.457 MB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.229, allocations: 4 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.2296, allocations: 211.1 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.23, allocations: 147.5 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.2304, allocations: 165.7 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.2308, allocations: 283.4 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.231, allocations: 110.2 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.2312, allocations: 155.3 kB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2314, allocations: 151.2 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.2314, allocations: 16 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.2315, allocations: 35.98 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.2316, allocations: 115.6 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.2317, allocations: 117.3 kB / 0.9845 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.2321, allocations: 0.5027 MB / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2321, allocations: 0 / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2321, allocations: 0 / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2321, allocations: 0 / 0.985 GB, free: 21.87 MB / 0.6198 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.00118/0.2333, allocations: 0.8327 MB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2334, allocations: 12.02 kB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.2334, allocations: 54.55 kB / 0.9859 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.962e-05/0.2335, allocations: 75.05 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.234, allocations: 464 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2341, allocations: 16.38 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.2341, allocations: 16 kB / 0.9865 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.2346, allocations: 228.3 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2346, allocations: 0 / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2346, allocations: 12 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2346, allocations: 4 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.235, allocations: 175.2 kB / 0.9869 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2363, allocations: 0.9242 MB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.237, allocations: 254.7 kB / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.237, allocations: 3.938 kB / 0.988 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.2374, allocations: 173 kB / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2374, allocations: 0 / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0007229/0.2381, allocations: 332.8 kB / 0.9885 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.2382, allocations: 85.11 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.2388, allocations: 0.7189 MB / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.2389, allocations: 33.7 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.2391, allocations: 296.2 kB / 0.9896 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.2391, allocations: 47.44 kB / 0.9896 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.2391, allocations: 4 kB / 0.9896 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2393, allocations: 374.8 kB / 0.99 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.2395, allocations: 127.9 kB / 0.9901 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.2397, allocations: 169.8 kB / 0.9903 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.24, allocations: 119 kB / 0.9904 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.24, allocations: 0 / 0.9904 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006482/0.2406, allocations: 385.3 kB / 0.9908 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.2408, allocations: 281.3 kB / 0.991 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2408, allocations: 0 / 0.991 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.2408, allocations: 0 / 0.991 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.2411, allocations: 55.91 kB / 0.9911 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2411, allocations: 11.89 kB / 0.9911 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.2414, allocations: 55.8 kB / 0.9911 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.2414, allocations: 16 kB / 0.9912 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.2414, allocations: 4 kB / 0.9912 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004428/0.2419, allocations: 259.8 kB / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/0.2419, allocations: 0 / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.2419, allocations: 4 kB / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2421, allocations: 43.97 kB / 0.9915 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.2421, allocations: 4 kB / 0.9915 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.2423, allocations: 47.88 kB / 0.9915 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2423, allocations: 15.98 kB / 0.9915 GB, free: 14.94 MB / 0.6198 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.0002326/0.2426, allocations: 297.7 kB / 0.9918 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.2426, allocations: 55.25 kB / 0.9919 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.392e-05/0.2427, allocations: 69.36 kB / 0.9919 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2427, allocations: 4.031 kB / 0.9919 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2428, allocations: 0 / 0.9919 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.2428, allocations: 0 / 0.9919 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.2431, allocations: 445.2 kB / 0.9923 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2431, allocations: 0 / 0.9923 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2433, allocations: 35.92 kB / 0.9924 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2433, allocations: 0 / 0.9924 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.2433, allocations: 3.984 kB / 0.9924 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2433, allocations: 8 kB / 0.9924 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2433, allocations: 0 / 0.9924 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.244, allocations: 397.5 kB / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2441, allocations: 136.3 kB / 0.9929 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.2442, allocations: 8 kB / 0.9929 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.2443, allocations: 36.03 kB / 0.9929 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.2444, allocations: 31.89 kB / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2444, allocations: 7.938 kB / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003901/0.2448, allocations: 475 kB / 0.9934 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2448, allocations: 0 / 0.9934 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004011/0.2453, allocations: 135.9 kB / 0.9936 GB, free: 12.74 MB / 0.6198 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.001517/0.2468, allocations: 1.264 MB / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006971/0.2475, allocations: 395.8 kB / 0.9952 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2475, allocations: 4.062 kB / 0.9952 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.2477, allocations: 99.89 kB / 0.9953 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.2481, allocations: 88.19 kB / 0.9954 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2497, allocations: 1.779 MB / 0.9971 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.25, allocations: 0.8973 MB / 0.998 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.2502, allocations: 66.92 kB / 0.998 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.2504, allocations: 187.4 kB / 0.9982 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2504, allocations: 0 / 0.9982 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.273, allocations: 10.32 MB / 1.008 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.2732, allocations: 236.7 kB / 1.009 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/2.627, allocations: 0 / 1.009 GB, free: 13.62 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)