Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.477/1.477, allocations: 288.4 MB / 303.6 MB, free: 8.051 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.0009445/0.0009445, allocations: 188.5 kB / 372.3 MB, free: 10.12 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.15/1.15, allocations: 205.4 MB / 0.631 GB, free: 9.93 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.0007479/0.0007482, allocations: 102.6 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 16.64 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.156, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001142/0.1572, allocations: 1.141 MB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004819/0.1577, allocations: 409 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.1577, allocations: 4 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.1578, allocations: 3.984 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.1578, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.1579, allocations: 15.92 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.21e-05/0.158, allocations: 19.92 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.424e-05/0.1581, allocations: 8 kB / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.1582, allocations: 11.92 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.1582, allocations: 8 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.1582, allocations: 4 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.1582, allocations: 0 / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.1583, allocations: 4 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.1583, allocations: 37.61 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.587e-05/0.1583, allocations: 15.92 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1583, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1584, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.1584, allocations: 0 / 0.9818 GB, free: 25.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000273/0.1586, allocations: 339.7 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1587, allocations: 16.03 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.774e-05/0.1587, allocations: 34.75 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.825e-05/0.1587, allocations: 0.9375 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.782e-05/0.1588, allocations: 168.3 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.1588, allocations: 384 / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.1588, allocations: 384 / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.159, allocations: 57.73 kB / 0.9824 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.159, allocations: 0 / 0.9824 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.159, allocations: 0 / 0.9824 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.159, allocations: 4 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.507e-05/0.1591, allocations: 19.98 kB / 0.9824 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.1593, allocations: 252.9 kB / 0.9827 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.1594, allocations: 34.56 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.1595, allocations: 16.92 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1595, allocations: 4 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.1595, allocations: 34.55 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1595, allocations: 0 / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001948/0.1597, allocations: 69.62 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.649e-05/0.1597, allocations: 51.41 kB / 0.9829 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.616e-05/0.1598, allocations: 109.8 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.1598, allocations: 25.7 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.1598, allocations: 88.08 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.1598, allocations: 3.906 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.1599, allocations: 4 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.626e-05/0.1599, allocations: 322.9 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.1599, allocations: 12 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.16, allocations: 7.984 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/0.16, allocations: 28.84 kB / 0.9835 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.16, allocations: 0 / 0.9835 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.833e-05/0.1601, allocations: 65.59 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1602, allocations: 4 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1602, allocations: 3.938 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1602, allocations: 4 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.1603, allocations: 7.984 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1603, allocations: 0 / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.1603, allocations: 8 kB / 0.9836 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1603, allocations: 4.031 kB / 0.9836 GB, free: 23.58 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.989e-05/0.1604, allocations: 109.8 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.1604, allocations: 4 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.1604, allocations: 7.531 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.1604, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1604, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1604, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1605, allocations: 165.6 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1605, allocations: 0 / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.1606, allocations: 8 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1606, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1606, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1606, allocations: 11.86 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1606, allocations: 0 / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.1607, allocations: 151.5 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.1608, allocations: 89.03 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1608, allocations: 0 / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.529e-05/0.1608, allocations: 11.98 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.1609, allocations: 0 / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1609, allocations: 0 / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.148e-05/0.1609, allocations: 79.28 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1609, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001859/0.1611, allocations: 4 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002657/0.1614, allocations: 0.6929 MB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1615, allocations: 28.02 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1615, allocations: 0 / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.1615, allocations: 15.98 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.1617, allocations: 4 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.162, allocations: 159.6 kB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.004e-05/0.1621, allocations: 0.6811 MB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.1622, allocations: 0 / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.1622, allocations: 17.8 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.1622, allocations: 0 / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3324/0.4946, allocations: 0.9817 MB / 0.9867 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/0.4948, allocations: 210.3 kB / 0.9869 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.151, allocations: 0 / 0.9869 GB, free: 20.14 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)