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.525/1.525, allocations: 288.4 MB / 303.6 MB, free: 8.164 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.001048/0.001048, allocations: 182.6 kB / 372.3 MB, free: 10.12 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.431/1.431, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0008246/0.0008246, allocations: 98.84 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004038, allocations: 13.03 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.002919/0.2174, allocations: 2.28 MB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2196, allocations: 1.461 MB / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.2199, allocations: 4 kB / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.2205, allocations: 219 kB / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.2208, allocations: 143.3 kB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.2213, allocations: 155 kB / 0.9843 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.2216, allocations: 414.7 kB / 0.9847 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.2219, allocations: 139.9 kB / 0.9849 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.222, allocations: 143.2 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.2222, allocations: 163.2 kB / 0.9852 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.2222, allocations: 8 kB / 0.9852 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.2224, allocations: 51.97 kB / 0.9852 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.2225, allocations: 119.5 kB / 0.9853 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.2226, allocations: 220.3 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.223, allocations: 0.5065 MB / 0.986 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.223, allocations: 0 / 0.986 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.223, allocations: 0 / 0.986 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.223, allocations: 0 / 0.986 GB, free: 21.22 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.001081/0.2241, allocations: 0.8134 MB / 0.9868 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2241, allocations: 12.03 kB / 0.9868 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.2242, allocations: 58.67 kB / 0.9869 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.2243, allocations: 72.03 kB / 0.987 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.2248, allocations: 488.9 kB / 0.9874 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.2248, allocations: 20.5 kB / 0.9875 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.2249, allocations: 23.94 kB / 0.9875 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.2253, allocations: 232.3 kB / 0.9877 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2253, allocations: 0 / 0.9877 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2253, allocations: 4 kB / 0.9877 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2253, allocations: 4 kB / 0.9877 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.2257, allocations: 179.3 kB / 0.9879 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.2269, allocations: 0.9203 MB / 0.9888 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/0.2275, allocations: 254.6 kB / 0.989 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.2277, allocations: 96.8 kB / 0.9891 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.2277, allocations: 7.984 kB / 0.9891 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.2281, allocations: 176.8 kB / 0.9893 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.2281, allocations: 4 kB / 0.9893 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006893/0.2288, allocations: 336.8 kB / 0.9896 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2288, allocations: 81.11 kB / 0.9897 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.2294, allocations: 0.7112 MB / 0.9904 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.2294, allocations: 33.7 kB / 0.9904 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.2296, allocations: 292.3 kB / 0.9907 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.2297, allocations: 47.44 kB / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.2297, allocations: 4 kB / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2298, allocations: 378.8 kB / 0.9911 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.23, allocations: 119.9 kB / 0.9912 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.2303, allocations: 181.8 kB / 0.9914 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.2306, allocations: 214.2 kB / 0.9916 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2307, allocations: 0 / 0.9916 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000545/0.2312, allocations: 384.6 kB / 0.992 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.2313, allocations: 114.6 kB / 0.9921 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2313, allocations: 4 kB / 0.9921 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2313, allocations: 4 kB / 0.9921 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.2315, allocations: 59.91 kB / 0.9921 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2315, allocations: 0 / 0.9921 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.2318, allocations: 59.8 kB / 0.9922 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.2318, allocations: 8 kB / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-06/0.2318, allocations: 4 kB / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004048/0.2322, allocations: 255.8 kB / 0.9925 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.2322, allocations: 8.031 kB / 0.9925 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.2323, allocations: 3.938 kB / 0.9925 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.2325, allocations: 51.91 kB / 0.9925 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.2325, allocations: 0 / 0.9925 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.2327, allocations: 51.81 kB / 0.9926 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.2327, allocations: 11.94 kB / 0.9926 GB, free: 14.23 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.0002282/0.2329, allocations: 298.2 kB / 0.9929 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.233, allocations: 59.25 kB / 0.9929 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.2331, allocations: 69.3 kB / 0.993 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2331, allocations: 4 kB / 0.993 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2331, allocations: 0 / 0.993 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2331, allocations: 0 / 0.993 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.2335, allocations: 449.2 kB / 0.9934 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2335, allocations: 0 / 0.9934 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.2337, allocations: 27.92 kB / 0.9934 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2337, allocations: 0 / 0.9934 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2337, allocations: 15.92 kB / 0.9935 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2337, allocations: 0 / 0.9935 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2337, allocations: 0 / 0.9935 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.2344, allocations: 398.1 kB / 0.9938 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.2345, allocations: 136.4 kB / 0.994 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.2345, allocations: 7.938 kB / 0.994 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.2347, allocations: 35.91 kB / 0.994 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.2348, allocations: 36.02 kB / 0.994 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2348, allocations: 4 kB / 0.994 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003855/0.2352, allocations: 471 kB / 0.9945 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.91e-07/0.2352, allocations: 0 / 0.9945 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003953/0.2356, allocations: 139.6 kB / 0.9946 GB, free: 12.04 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.001569/0.2372, allocations: 1.243 MB / 0.9958 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006953/0.2379, allocations: 408.6 kB / 0.9962 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2379, allocations: 0 / 0.9962 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.2381, allocations: 104.1 kB / 0.9963 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.2386, allocations: 86.86 kB / 0.9964 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.2424, allocations: 3.445 MB / 0.9998 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.2427, allocations: 0.8898 MB / 1.001 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.2429, allocations: 66.92 kB / 1.001 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.2431, allocations: 179.4 kB / 1.001 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2431, allocations: 0 / 1.001 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3533/0.5964, allocations: 10.58 MB / 1.011 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.5967, allocations: 236.7 kB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.825, allocations: 0 / 1.011 GB, free: 11 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)