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.001051/0.001055, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005406/0.005406, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.417/1.417, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.652/1.652, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004856/0.0004857, allocations: 16.75 kB / 0.6744 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1895, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002621/0.1922, allocations: 2.131 MB / 0.7901 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1942, allocations: 1.387 MB / 0.7914 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.1945, allocations: 7.938 kB / 0.7914 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.195, allocations: 215.6 kB / 0.7916 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.1954, allocations: 139.4 kB / 0.7918 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1958, allocations: 147 kB / 0.7919 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.1962, allocations: 330.8 kB / 0.7922 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.1964, allocations: 80.7 kB / 0.7923 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.1966, allocations: 119.4 kB / 0.7924 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1968, allocations: 135.3 kB / 0.7926 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.1968, allocations: 8 kB / 0.7926 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1969, allocations: 47.97 kB / 0.7926 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1971, allocations: 111.5 kB / 0.7927 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1972, allocations: 196.3 kB / 0.7929 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.1976, allocations: 482 kB / 0.7934 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1976, allocations: 0 / 0.7934 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1976, allocations: 0 / 0.7934 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.1977, allocations: 4 kB / 0.7934 GB, free: 5.949 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.0009882/0.1986, allocations: 0.7232 MB / 0.7941 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1987, allocations: 8.031 kB / 0.7941 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.1988, allocations: 54.67 kB / 0.7941 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.1989, allocations: 60.19 kB / 0.7942 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.1993, allocations: 423.9 kB / 0.7946 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1994, allocations: 16.11 kB / 0.7946 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.1994, allocations: 19.88 kB / 0.7946 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.1996, allocations: 133.6 kB / 0.7948 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1997, allocations: 0 / 0.7948 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1997, allocations: 11.94 kB / 0.7948 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1997, allocations: 0 / 0.7948 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1999, allocations: 87.95 kB / 0.7948 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/0.2008, allocations: 0.6523 MB / 0.7955 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.2011, allocations: 130.7 kB / 0.7956 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.95e-05/0.2012, allocations: 48.84 kB / 0.7957 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2013, allocations: 4 kB / 0.7957 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.2015, allocations: 107.3 kB / 0.7958 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2015, allocations: 0 / 0.7958 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0003881/0.2019, allocations: 212.9 kB / 0.796 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.2019, allocations: 55.41 kB / 0.796 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.2025, allocations: 0.6476 MB / 0.7966 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.2026, allocations: 37.69 kB / 0.7967 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.2027, allocations: 252.4 kB / 0.7969 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.2028, allocations: 35.55 kB / 0.797 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.2028, allocations: 33.7 kB / 0.797 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.203, allocations: 370.7 kB / 0.7973 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.2031, allocations: 79.97 kB / 0.7974 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.2033, allocations: 122.6 kB / 0.7975 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.2035, allocations: 121.7 kB / 0.7977 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2035, allocations: 0 / 0.7977 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00038/0.2039, allocations: 279.1 kB / 0.7979 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2039, allocations: 8 kB / 0.7979 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2039, allocations: 0 / 0.7979 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.2039, allocations: 0 / 0.7979 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2041, allocations: 36.05 kB / 0.798 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2041, allocations: 7.938 kB / 0.798 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.2043, allocations: 27.97 kB / 0.798 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.2043, allocations: 11.94 kB / 0.798 GB, free: 0.9336 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.0001816/0.2045, allocations: 205.7 kB / 0.7982 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.2045, allocations: 59.33 kB / 0.7983 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.2046, allocations: 56.66 kB / 0.7983 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2046, allocations: 0 / 0.7983 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2046, allocations: 0 / 0.7983 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2047, allocations: 4 kB / 0.7983 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.205, allocations: 381.2 kB / 0.7987 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.205, allocations: 0 / 0.7987 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.205, allocations: 11.94 kB / 0.7987 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.205, allocations: 0 / 0.7987 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2051, allocations: 7.984 kB / 0.7987 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2051, allocations: 11.94 kB / 0.7987 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2051, allocations: 0 / 0.7987 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.2055, allocations: 256.3 kB / 0.799 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.2056, allocations: 128.5 kB / 0.7991 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.2056, allocations: 4 kB / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2058, allocations: 20.05 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.2058, allocations: 27.95 kB / 0.7991 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2058, allocations: 4 kB / 0.7991 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004128/0.2063, allocations: 430.8 kB / 0.7995 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2063, allocations: 0 / 0.7995 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002733/0.2065, allocations: 67.84 kB / 0.7996 GB, free: 15.2 MB / 0.6231 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.001402/0.208, allocations: 1.104 MB / 0.8007 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.2083, allocations: 155.9 kB / 0.8008 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2083, allocations: 0 / 0.8008 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.2084, allocations: 59.86 kB / 0.8009 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.2088, allocations: 75.02 kB / 0.801 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.2131, allocations: 4.015 MB / 0.8049 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.2135, allocations: 0.861 MB / 0.8057 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.2137, allocations: 42.25 kB / 0.8058 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.2139, allocations: 155.4 kB / 0.8059 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of SimCode: time 1.503e-06/0.2139, allocations: 0 / 0.8059 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4698/0.6837, allocations: 8.521 MB / 0.8142 GB, free: 420 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.684, allocations: 254.1 kB / 0.8145 GB, free: 152 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.904, allocations: 4.062 kB / 0.8145 GB, free: 148 kB / 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)