Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.967/2.967, allocations: 287.5 MB / 302.4 MB, free: 8.195 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.001397/0.001397, allocations: 183.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.309/2.309, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001373/0.001373, allocations: 88.8 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004974, allocations: 16.7 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2185, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003604/0.2221, allocations: 2.272 MB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.2254, allocations: 1.469 MB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.2259, allocations: 7.938 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008322/0.2268, allocations: 215 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.2274, allocations: 139.3 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.2281, allocations: 157.6 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006267/0.2287, allocations: 410.7 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.229, allocations: 118.2 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.2293, allocations: 131.2 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.2296, allocations: 171.1 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.522e-05/0.2297, allocations: 12 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.2299, allocations: 47.98 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.2301, allocations: 123.4 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2302, allocations: 109.4 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.2308, allocations: 0.491 MB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2308, allocations: 3.938 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2309, allocations: 0 / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.2309, allocations: 4 kB / 0.9842 GB, free: 22.39 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.001717/0.2326, allocations: 0.8366 MB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.2327, allocations: 12.02 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.249e-05/0.2328, allocations: 58.5 kB / 0.985 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.2329, allocations: 67.16 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/0.2337, allocations: 456 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.2338, allocations: 12.38 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.2338, allocations: 27.94 kB / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.2345, allocations: 228.5 kB / 0.9858 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2345, allocations: 3.938 kB / 0.9858 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.2346, allocations: 11.95 kB / 0.9858 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2346, allocations: 4 kB / 0.9858 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.2352, allocations: 175.3 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.2372, allocations: 0.9203 MB / 0.9869 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2383, allocations: 258.6 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.2387, allocations: 92.81 kB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.2388, allocations: 4 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005038/0.2393, allocations: 169 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.927e-06/0.2393, allocations: 7.984 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001266/0.2406, allocations: 338.3 kB / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.2407, allocations: 81.11 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.2418, allocations: 0.7112 MB / 0.9885 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.2419, allocations: 37.69 kB / 0.9885 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.2421, allocations: 292.3 kB / 0.9888 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.2422, allocations: 39.45 kB / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.2423, allocations: 12 kB / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2424, allocations: 378.7 kB / 0.9892 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.2428, allocations: 119.9 kB / 0.9893 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.2433, allocations: 177.8 kB / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.2437, allocations: 126 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2437, allocations: 0 / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001043/0.2448, allocations: 388.7 kB / 0.99 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.2449, allocations: 100.3 kB / 0.9901 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2449, allocations: 4 kB / 0.9901 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.2449, allocations: 0 / 0.9901 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.2454, allocations: 67.92 kB / 0.9901 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2454, allocations: 4 kB / 0.9902 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.2459, allocations: 47.81 kB / 0.9902 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.2459, allocations: 15.95 kB / 0.9902 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.2459, allocations: 4 kB / 0.9902 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007376/0.2467, allocations: 259.8 kB / 0.9905 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2467, allocations: 0 / 0.9905 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.962e-06/0.2467, allocations: 0 / 0.9905 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.2471, allocations: 55.97 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2471, allocations: 4 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.2476, allocations: 43.81 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.2476, allocations: 8 kB / 0.9906 GB, free: 15.54 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.00039/0.248, allocations: 298.3 kB / 0.9909 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.2481, allocations: 67.14 kB / 0.9909 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.2483, allocations: 65.38 kB / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2483, allocations: 0 / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2483, allocations: 0 / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2483, allocations: 0 / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.2488, allocations: 445.3 kB / 0.9914 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.2488, allocations: 0 / 0.9914 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.2491, allocations: 31.97 kB / 0.9914 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.2492, allocations: 7.953 kB / 0.9914 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.2492, allocations: 7.938 kB / 0.9915 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2492, allocations: 0 / 0.9915 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2492, allocations: 0 / 0.9915 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.2504, allocations: 400.1 kB / 0.9918 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.2505, allocations: 140.4 kB / 0.992 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.2506, allocations: 11.95 kB / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.251, allocations: 27.97 kB / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2511, allocations: 27.95 kB / 0.992 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.2511, allocations: 11.94 kB / 0.992 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007385/0.2519, allocations: 475 kB / 0.9925 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2519, allocations: 0 / 0.9925 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006617/0.2526, allocations: 131.7 kB / 0.9926 GB, free: 13.34 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.002495/0.2551, allocations: 1.26 MB / 0.9939 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.2564, allocations: 403.7 kB / 0.9942 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2564, allocations: 3.938 kB / 0.9942 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.2568, allocations: 92.14 kB / 0.9943 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.2576, allocations: 93.59 kB / 0.9944 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006844/0.2644, allocations: 3.441 MB / 0.9978 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.2649, allocations: 0.8856 MB / 0.9986 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000368/0.2653, allocations: 54.94 kB / 0.9987 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.2656, allocations: 187.4 kB / 0.9989 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.2656, allocations: 4 kB / 0.9989 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/0.3063, allocations: 10.55 MB / 1.009 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/0.3066, allocations: 233.6 kB / 1.009 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/3.457, allocations: 0 / 1.009 GB, free: 12.37 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)