Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 193.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.1 MB / 222 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 292.3 MB / 0.5484 GB, free: 13.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 73.95 kB / 0.6709 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1753, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003314/0.1787, allocations: 2.477 MB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1804, allocations: 1.414 MB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1805, allocations: 0 / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.181, allocations: 223.5 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1812, allocations: 139.4 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.1815, allocations: 139.8 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1818, allocations: 326.8 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.182, allocations: 88.7 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1822, allocations: 119.4 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.1823, allocations: 155.2 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.1823, allocations: 8 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1825, allocations: 51.97 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1826, allocations: 127.5 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.1827, allocations: 174.6 kB / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.1831, allocations: 486.1 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1831, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.91e-07/0.1831, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1831, allocations: 4 kB / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009512/0.1841, allocations: 0.8045 MB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1841, allocations: 8.031 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.1842, allocations: 46.73 kB / 0.7894 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.1842, allocations: 60.19 kB / 0.7894 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.1847, allocations: 419.9 kB / 0.7898 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1847, allocations: 20.05 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.1847, allocations: 20 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.185, allocations: 129.6 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.185, allocations: 0 / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.185, allocations: 12 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.185, allocations: 0 / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.1852, allocations: 83.95 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008529/0.186, allocations: 0.6522 MB / 0.7907 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.1864, allocations: 126.7 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.637e-05/0.1865, allocations: 44.84 kB / 0.7909 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1865, allocations: 8 kB / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.1867, allocations: 107.3 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1867, allocations: 0 / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0003881/0.1871, allocations: 208.9 kB / 0.7912 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.1871, allocations: 55.41 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006197/0.1878, allocations: 0.6475 MB / 0.7919 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1878, allocations: 37.7 kB / 0.7919 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.188, allocations: 252.4 kB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.188, allocations: 39.55 kB / 0.7922 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.1881, allocations: 53.69 kB / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1882, allocations: 370.7 kB / 0.7926 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1884, allocations: 83.84 kB / 0.7927 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.1885, allocations: 126.2 kB / 0.7928 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.1888, allocations: 128.7 kB / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1888, allocations: 0 / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003764/0.1891, allocations: 268.7 kB / 0.7932 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1892, allocations: 4 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1892, allocations: 0 / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1892, allocations: 4 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.1894, allocations: 47.84 kB / 0.7932 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1894, allocations: 8.062 kB / 0.7933 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1895, allocations: 19.98 kB / 0.7933 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1896, allocations: 7.984 kB / 0.7933 GB, free: 2.922 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.1897, allocations: 205.7 kB / 0.7935 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.1898, allocations: 51.34 kB / 0.7935 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.1899, allocations: 56.66 kB / 0.7936 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1899, allocations: 4 kB / 0.7936 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1899, allocations: 7.938 kB / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1899, allocations: 0 / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.1902, allocations: 381.2 kB / 0.794 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1902, allocations: 4 kB / 0.794 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.1903, allocations: 11.98 kB / 0.794 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1903, allocations: 4 kB / 0.794 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1903, allocations: 0 / 0.794 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1903, allocations: 0 / 0.794 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1903, allocations: 0 / 0.794 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1907, allocations: 271.6 kB / 0.7942 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.1908, allocations: 120.5 kB / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.1909, allocations: 11.92 kB / 0.7944 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.191, allocations: 11.98 kB / 0.7944 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.1911, allocations: 23.97 kB / 0.7944 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1911, allocations: 4 kB / 0.7944 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004009/0.1915, allocations: 430.8 kB / 0.7948 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1915, allocations: 64 / 0.7948 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002578/0.1917, allocations: 71.83 kB / 0.7949 GB, free: 1.195 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.1931, allocations: 1.113 MB / 0.796 GB, free: 216 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1934, allocations: 154.2 kB / 0.7961 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1934, allocations: 3.938 kB / 0.7961 GB, free: 60 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1935, allocations: 55.92 kB / 0.7962 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1939, allocations: 70.19 kB / 0.7962 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.198, allocations: 3.979 MB / 0.8001 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1984, allocations: 0.8571 MB / 0.801 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.1985, allocations: 42.27 kB / 0.801 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.1987, allocations: 163.2 kB / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of SimCode: time 1.91e-07/0.1987, allocations: 0 / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5093/0.708, allocations: 8.684 MB / 0.8096 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004406/0.7085, allocations: 254.2 kB / 0.8099 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.729, allocations: 0 / 0.8099 GB, free: 1.996 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)