Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.606/1.606, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 171 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205 MB / 0.576 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007147/0.0007147, allocations: 83.98 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003065, allocations: 15.64 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1608, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002035/0.1629, allocations: 2.071 MB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1642, allocations: 1.23 MB / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1643, allocations: 7.938 kB / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.1648, allocations: 203.2 kB / 0.8996 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.165, allocations: 139.4 kB / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1653, allocations: 127.8 kB / 0.8999 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1655, allocations: 295 kB / 0.9002 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1656, allocations: 76.7 kB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.1657, allocations: 103.4 kB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1658, allocations: 139.3 kB / 0.9005 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.1659, allocations: 7.938 kB / 0.9005 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.166, allocations: 31.98 kB / 0.9005 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.1661, allocations: 103.6 kB / 0.9006 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.513e-05/0.1661, allocations: 166.6 kB / 0.9008 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1664, allocations: 442.2 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1664, allocations: 0 / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1664, allocations: 0 / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1664, allocations: 0 / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006914/0.1671, allocations: 0.7115 MB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1672, allocations: 16.02 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.1672, allocations: 38.75 kB / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.1673, allocations: 52.28 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1676, allocations: 411.7 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1676, allocations: 8.375 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1676, allocations: 15.94 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1678, allocations: 130.2 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1679, allocations: 0 / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1679, allocations: 4 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1679, allocations: 4 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.168, allocations: 79.89 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00067/0.1687, allocations: 0.6251 MB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.169, allocations: 126.7 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.203e-05/0.1691, allocations: 52.72 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1691, allocations: 4 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.1693, allocations: 99.36 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1693, allocations: 3.938 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0003159/0.1696, allocations: 193 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.1696, allocations: 59.39 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.1701, allocations: 0.6279 MB / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1701, allocations: 33.69 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1703, allocations: 256.2 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1703, allocations: 35.55 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.1703, allocations: 29.7 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.1704, allocations: 362.8 kB / 0.905 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1705, allocations: 79.97 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1706, allocations: 113.6 kB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.1708, allocations: 132.1 kB / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1708, allocations: 0 / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002929/0.1711, allocations: 271.8 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1711, allocations: 8 kB / 0.9056 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1711, allocations: 4 kB / 0.9056 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1711, allocations: 0 / 0.9056 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1713, allocations: 35.92 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1713, allocations: 4 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1714, allocations: 31.91 kB / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1715, allocations: 8 kB / 0.9057 GB, free: 58.07 MB / 0.6042 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.000135/0.1716, allocations: 205.6 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.1716, allocations: 55.33 kB / 0.9059 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/0.1717, allocations: 52.52 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1717, allocations: 4 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1717, allocations: 3.984 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1717, allocations: 0 / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1719, allocations: 365.4 kB / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1719, allocations: 0 / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.172, allocations: 8 kB / 0.9064 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.172, allocations: 0 / 0.9064 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.172, allocations: 11.98 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.172, allocations: 0 / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.172, allocations: 0 / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.1723, allocations: 252.2 kB / 0.9066 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.1724, allocations: 120.5 kB / 0.9067 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1725, allocations: 11.94 kB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1726, allocations: 15.98 kB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.1726, allocations: 19.97 kB / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1726, allocations: 11.98 kB / 0.9068 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002984/0.173, allocations: 414.9 kB / 0.9072 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.173, allocations: 0 / 0.9072 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002158/0.1732, allocations: 51.94 kB / 0.9072 GB, free: 56.41 MB / 0.6042 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.001113/0.1743, allocations: 1.105 MB / 0.9083 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1745, allocations: 147.8 kB / 0.9084 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1746, allocations: 0 / 0.9084 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.622e-05/0.1746, allocations: 55.92 kB / 0.9085 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.175, allocations: 60.84 kB / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.1781, allocations: 3.863 MB / 0.9123 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1784, allocations: 0.8497 MB / 0.9132 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.684e-05/0.1785, allocations: 34.27 kB / 0.9132 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1786, allocations: 151.4 kB / 0.9133 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1786, allocations: 0 / 0.9133 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3719/0.5505, allocations: 8.004 MB / 0.9211 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.5508, allocations: 260.1 kB / 0.9214 GB, free: 42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/2.796, allocations: 0 / 0.9214 GB, free: 42 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)