Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108.4 kB / 16.29 MB, free: 6.027 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: 183.8 kB / 17.22 MB, free: 5.637 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.165/1.165, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.567/1.567, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001235/0.001235, allocations: 63.91 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1739, allocations: 114.5 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002171/0.1761, allocations: 1.419 MB / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005283/0.1767, allocations: 443.9 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.1767, allocations: 0 / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.1767, allocations: 0 / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.1768, allocations: 3.938 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.1769, allocations: 11.92 kB / 0.7859 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.367e-05/0.177, allocations: 31.86 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.177, allocations: 8 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.38e-05/0.1771, allocations: 11.98 kB / 0.786 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.1772, allocations: 15.92 kB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1772, allocations: 0 / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.1772, allocations: 4 kB / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.1772, allocations: 0 / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1772, allocations: 15.92 kB / 0.786 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 5.589e-05/0.1773, allocations: 15.92 kB / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1773, allocations: 0 / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1773, allocations: 0 / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1773, allocations: 0 / 0.786 GB, free: 1.906 MB / 0.6544 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.0003274/0.1777, allocations: 343.7 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1777, allocations: 8.031 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.1777, allocations: 4.938 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.251e-05/0.1778, allocations: 176.2 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1778, allocations: 384 / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.1778, allocations: 8.312 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.178, allocations: 46 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.178, allocations: 3.984 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.178, allocations: 4 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.178, allocations: 0 / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.1781, allocations: 19.98 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.1783, allocations: 244.9 kB / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.1784, allocations: 34.5 kB / 0.7869 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.1784, allocations: 20.92 kB / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1785, allocations: 0 / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1785, allocations: 34.56 kB / 0.7869 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.1785, allocations: 0 / 0.7869 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.1787, allocations: 57.67 kB / 0.787 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.1787, allocations: 59.34 kB / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.1788, allocations: 110 kB / 0.7871 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1788, allocations: 25.7 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.1788, allocations: 80.14 kB / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.1788, allocations: 7.844 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1789, allocations: 21.7 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.179, allocations: 310.8 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.179, allocations: 8 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.179, allocations: 11.98 kB / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.315e-05/0.1791, allocations: 32.84 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1791, allocations: 0 / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.2862/0.4653, allocations: 52.05 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4654, allocations: 6.188 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4654, allocations: 0 / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4654, allocations: 1.531 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.4655, allocations: 4.234 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4655, allocations: 4.234 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.4655, allocations: 1.438 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4655, allocations: 3.984 kB / 0.7877 GB, free: 48.43 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.4656, allocations: 113.2 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.4656, allocations: 4.969 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.4657, allocations: 9.297 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4657, allocations: 0 / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.4657, allocations: 5.125 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4657, allocations: 1.219 kB / 0.7878 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.4658, allocations: 161.4 kB / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4658, allocations: 0 / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.4659, allocations: 5.406 kB / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4659, allocations: 3.312 kB / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.4659, allocations: 7.75 kB / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4659, allocations: 0 / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4659, allocations: 2.875 kB / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.466, allocations: 148.3 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.466, allocations: 88.56 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.466, allocations: 3 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.4661, allocations: 2.688 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.4661, allocations: 1.5 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.4661, allocations: 2.625 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.442e-05/0.4662, allocations: 84.88 kB / 0.7883 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4662, allocations: 2.875 kB / 0.7883 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002124/0.4664, allocations: 5.969 kB / 0.7883 GB, free: 47.83 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.855e-05/0.4665, allocations: 95.16 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.4666, allocations: 21.17 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4666, allocations: 3.375 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.4666, allocations: 14.3 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.4668, allocations: 6.688 kB / 0.7884 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.4671, allocations: 119.2 kB / 0.7885 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.931e-05/0.4672, allocations: 0.6776 MB / 0.7892 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.4672, allocations: 1.984 kB / 0.7892 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.4672, allocations: 7.438 kB / 0.7892 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.4672, allocations: 0 / 0.7892 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.001737/0.469, allocations: 315.4 kB / 0.7895 GB, free: 46.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)