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 3.09/3.09, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001576/0.001575, allocations: 182.2 kB / 370.8 MB, free: 10.85 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.453/2.453, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001172/0.001172, allocations: 95.69 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004991, allocations: 12.86 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2233, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003342/0.2267, allocations: 2.249 MB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.2297, allocations: 1.442 MB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.23, allocations: 7.938 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007179/0.2308, allocations: 211.2 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.2313, allocations: 163.5 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.2319, allocations: 154.1 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.2324, allocations: 283.4 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.2327, allocations: 118.2 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.2329, allocations: 151.3 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.2332, allocations: 151.2 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.2333, allocations: 8 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.2334, allocations: 47.91 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.2336, allocations: 111.6 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.359e-05/0.2337, allocations: 113.3 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.2343, allocations: 0.5066 MB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2343, allocations: 4 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2343, allocations: 0 / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.2343, allocations: 0 / 0.9838 GB, free: 22.56 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.001678/0.236, allocations: 0.8288 MB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2361, allocations: 12.02 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.627e-05/0.2362, allocations: 54.55 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.2363, allocations: 75.11 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007786/0.2371, allocations: 456 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.2372, allocations: 20.38 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.2372, allocations: 23.94 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.2379, allocations: 220.5 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.238, allocations: 0 / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.238, allocations: 8 kB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.238, allocations: 11.95 kB / 0.9855 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.2386, allocations: 175.3 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.2406, allocations: 0.9242 MB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2417, allocations: 258.7 kB / 0.9868 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.2418, allocations: 3.984 kB / 0.9868 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/0.2423, allocations: 169 kB / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.026e-06/0.2423, allocations: 4 kB / 0.987 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001185/0.2435, allocations: 336.8 kB / 0.9873 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.2435, allocations: 81.09 kB / 0.9874 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2446, allocations: 0.7112 MB / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.2446, allocations: 37.64 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.2449, allocations: 292.3 kB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.245, allocations: 47.44 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.245, allocations: 4 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2451, allocations: 378.8 kB / 0.9888 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.2456, allocations: 123.9 kB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.246, allocations: 169.8 kB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.2464, allocations: 126 kB / 0.9892 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2465, allocations: 0 / 0.9892 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00101/0.2475, allocations: 388.6 kB / 0.9896 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.2476, allocations: 263 kB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.2476, allocations: 4 kB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.2476, allocations: 11.92 kB / 0.9898 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.2481, allocations: 55.91 kB / 0.9899 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2481, allocations: 4 kB / 0.9899 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.2485, allocations: 55.8 kB / 0.9899 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.2486, allocations: 12 kB / 0.99 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.2486, allocations: 4 kB / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007189/0.2493, allocations: 255.8 kB / 0.9902 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2494, allocations: 0 / 0.9902 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-06/0.2494, allocations: 8 kB / 0.9902 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.2497, allocations: 51.97 kB / 0.9903 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2498, allocations: 4 kB / 0.9903 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.2501, allocations: 43.81 kB / 0.9903 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.2502, allocations: 11.98 kB / 0.9903 GB, free: 15.64 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.000341/0.2505, allocations: 297 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.2506, allocations: 59.25 kB / 0.9907 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.2507, allocations: 65.36 kB / 0.9907 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2508, allocations: 4 kB / 0.9907 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2508, allocations: 0 / 0.9907 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2508, allocations: 0 / 0.9907 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.2513, allocations: 445.2 kB / 0.9911 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2513, allocations: 0 / 0.9911 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.2515, allocations: 31.92 kB / 0.9912 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.2516, allocations: 4 kB / 0.9912 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.2516, allocations: 8.031 kB / 0.9912 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2516, allocations: 0 / 0.9912 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2516, allocations: 3.984 kB / 0.9912 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2528, allocations: 405.7 kB / 0.9916 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.2529, allocations: 136.4 kB / 0.9917 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.253, allocations: 8 kB / 0.9917 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.2534, allocations: 31.97 kB / 0.9917 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.2535, allocations: 31.95 kB / 0.9918 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.2535, allocations: 8 kB / 0.9918 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006729/0.2542, allocations: 475 kB / 0.9922 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2542, allocations: 0 / 0.9922 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006642/0.2549, allocations: 135.9 kB / 0.9924 GB, free: 13.44 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.002526/0.2574, allocations: 1.257 MB / 0.9936 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.2587, allocations: 395.6 kB / 0.994 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.2588, allocations: 4 kB / 0.994 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.2591, allocations: 104.1 kB / 0.9941 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/0.2598, allocations: 81.56 kB / 0.9942 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.2625, allocations: 1.783 MB / 0.9959 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.263, allocations: 0.8973 MB / 0.9968 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003414/0.2633, allocations: 62.86 kB / 0.9968 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.2637, allocations: 191.4 kB / 0.997 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2637, allocations: 4 kB / 0.997 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.3019, allocations: 10.32 MB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.3022, allocations: 227.2 kB / 1.007 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/3.327, allocations: 0 / 1.007 GB, free: 14.36 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)