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 1.378/1.378, allocations: 287.4 MB / 302.6 MB, free: 8.262 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.0008764/0.0008765, allocations: 182 kB / 371.1 MB, free: 10.82 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.07/1.07, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0006598/0.0006599, allocations: 97.8 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 11.62 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.001959/0.136, allocations: 2.268 MB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1376, allocations: 1.461 MB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1378, allocations: 8 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.1383, allocations: 215 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.1385, allocations: 139.3 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.1389, allocations: 152.2 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.1392, allocations: 414.7 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.1394, allocations: 143.9 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1395, allocations: 151.2 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1397, allocations: 159.2 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.1397, allocations: 12 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1398, allocations: 47.97 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.1399, allocations: 115.5 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.14, allocations: 117.3 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1403, allocations: 0.4988 MB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1403, allocations: 0 / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1403, allocations: 0 / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.1403, allocations: 0 / 0.9845 GB, free: 22.17 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.0008813/0.1412, allocations: 0.829 MB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.1412, allocations: 12.03 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.1413, allocations: 50.73 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.1413, allocations: 68.09 kB / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.1417, allocations: 492.8 kB / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1418, allocations: 20.5 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.1418, allocations: 24 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.1421, allocations: 224.3 kB / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1422, allocations: 0 / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1422, allocations: 8 kB / 0.9861 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1422, allocations: 4 kB / 0.9861 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.1425, allocations: 179.3 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009714/0.1435, allocations: 0.9281 MB / 0.9872 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.144, allocations: 255.8 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.1442, allocations: 96.81 kB / 0.9876 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1442, allocations: 0 / 0.9876 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.1445, allocations: 188.8 kB / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.1445, allocations: 0 / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005923/0.1451, allocations: 330.4 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.1451, allocations: 85.09 kB / 0.9881 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.1456, allocations: 0.7073 MB / 0.9888 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1457, allocations: 33.7 kB / 0.9889 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1458, allocations: 292.3 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.1458, allocations: 51.44 kB / 0.9892 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.1459, allocations: 4 kB / 0.9892 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.051e-05/0.1459, allocations: 378.8 kB / 0.9895 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.1461, allocations: 123.9 kB / 0.9897 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1463, allocations: 177.8 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1467, allocations: 220.6 kB / 0.99 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1467, allocations: 3.938 kB / 0.99 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004781/0.1472, allocations: 376.7 kB / 0.9904 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.1472, allocations: 114.7 kB / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1472, allocations: 4 kB / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1472, allocations: 0 / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.1474, allocations: 55.95 kB / 0.9906 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1474, allocations: 7.938 kB / 0.9906 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1476, allocations: 55.75 kB / 0.9906 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.1477, allocations: 12 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-06/0.1477, allocations: 4 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003561/0.148, allocations: 255.8 kB / 0.9909 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.1481, allocations: 4 kB / 0.9909 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-06/0.1481, allocations: 0 / 0.9909 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.1482, allocations: 55.91 kB / 0.991 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.1482, allocations: 3.938 kB / 0.991 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1484, allocations: 51.88 kB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1484, allocations: 4 kB / 0.991 GB, free: 15.18 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.0001572/0.1486, allocations: 302.4 kB / 0.9913 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.1486, allocations: 59.25 kB / 0.9914 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.1487, allocations: 65.31 kB / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1487, allocations: 11.94 kB / 0.9914 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1487, allocations: 0 / 0.9914 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1487, allocations: 0 / 0.9914 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.149, allocations: 445.2 kB / 0.9919 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.149, allocations: 0 / 0.9919 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1491, allocations: 27.97 kB / 0.9919 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1491, allocations: 0 / 0.9919 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1492, allocations: 7.938 kB / 0.9919 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1492, allocations: 4 kB / 0.9919 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1492, allocations: 4 kB / 0.9919 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.1497, allocations: 400.1 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.1498, allocations: 136.4 kB / 0.9924 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.1499, allocations: 7.938 kB / 0.9924 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.1501, allocations: 40.03 kB / 0.9925 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.1501, allocations: 27.95 kB / 0.9925 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1501, allocations: 4 kB / 0.9925 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003455/0.1505, allocations: 475 kB / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1505, allocations: 0 / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000336/0.1508, allocations: 131.7 kB / 0.9931 GB, free: 12.98 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.001298/0.1521, allocations: 1.256 MB / 0.9943 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006188/0.1528, allocations: 400.7 kB / 0.9947 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1528, allocations: 4.062 kB / 0.9947 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.153, allocations: 107.2 kB / 0.9948 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1534, allocations: 82.94 kB / 0.9949 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.1568, allocations: 3.44 MB / 0.9982 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.157, allocations: 0.8905 MB / 0.9991 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.1572, allocations: 58.94 kB / 0.9991 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.1574, allocations: 191.4 kB / 0.9993 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.1574, allocations: 0 / 0.9993 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3925/0.5498, allocations: 10.52 MB / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.5501, allocations: 229.4 kB / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.182, allocations: 7.453 kB / 1.01 GB, free: 12.03 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)