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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 303.7 MB, free: 8.113 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.0009969/0.000997, allocations: 184.4 kB / 372.3 MB, free: 10.09 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.303/1.303, allocations: 205.4 MB / 0.631 GB, free: 9.855 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.0007442/0.0007442, allocations: 102.3 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 12.22 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 115.3 MB / 0.9801 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001255/0.1778, allocations: 1.133 MB / 0.9812 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004912/0.1783, allocations: 420.9 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.1783, allocations: 0 / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.1784, allocations: 3.938 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.1784, allocations: 0 / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.1785, allocations: 7.984 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.1786, allocations: 27.81 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.572e-05/0.1787, allocations: 3.984 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.1788, allocations: 15.98 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.1788, allocations: 15.94 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1788, allocations: 0 / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.1788, allocations: 0 / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.1789, allocations: 3.984 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.1789, allocations: 37.64 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.471e-05/0.1789, allocations: 15.95 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1789, allocations: 0 / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.179, allocations: 3.938 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.179, allocations: 0 / 0.9818 GB, free: 25.59 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.0002837/0.1793, allocations: 339.7 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1793, allocations: 8.031 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.1793, allocations: 4.938 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.236e-05/0.1794, allocations: 164.3 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1794, allocations: 8.297 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1794, allocations: 8.359 kB / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1795, allocations: 46 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1795, allocations: 0 / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1796, allocations: 8 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1796, allocations: 0 / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.1797, allocations: 23.98 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.1799, allocations: 244.9 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.174e-05/0.18, allocations: 42.5 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.1801, allocations: 16.91 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1801, allocations: 4 kB / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.1801, allocations: 34.56 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1801, allocations: 0 / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001972/0.1803, allocations: 61.69 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.1803, allocations: 55.34 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.883e-05/0.1804, allocations: 105.8 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.1804, allocations: 25.7 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.1804, allocations: 88.14 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.1805, allocations: 11.83 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.1805, allocations: 0 / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.1805, allocations: 319 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.1806, allocations: 8 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.1806, allocations: 11.98 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.806e-05/0.1807, allocations: 32.78 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1807, allocations: 64 / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.467e-05/0.1808, allocations: 57.59 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1808, allocations: 11.94 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1808, allocations: 3.938 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1808, allocations: 0 / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.1809, allocations: 7.984 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1809, allocations: 3.938 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.1809, allocations: 8.031 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.181, allocations: 4 kB / 0.9835 GB, free: 23.64 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 4.436e-05/0.181, allocations: 117.8 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.181, allocations: 0 / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.1811, allocations: 3.531 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1811, allocations: 7.984 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1811, allocations: 0 / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1811, allocations: 0 / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1812, allocations: 161.6 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1812, allocations: 0 / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.1812, allocations: 11.98 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1812, allocations: 4 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.1813, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1813, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1813, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.1814, allocations: 155.4 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.1814, allocations: 81.02 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.1814, allocations: 3.984 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.1815, allocations: 8.25 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.1815, allocations: 0 / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1815, allocations: 8 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.06e-05/0.1816, allocations: 83.27 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1816, allocations: 0 / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001993/0.1818, allocations: 4 kB / 0.9841 GB, free: 22.91 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 6.605e-05/0.1818, allocations: 103.3 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.182, allocations: 19.98 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.182, allocations: 0 / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.182, allocations: 19.94 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.1822, allocations: 9.297 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.1824, allocations: 128.7 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.715e-05/0.1825, allocations: 0.6809 MB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.213e-05/0.1826, allocations: 0 / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.1826, allocations: 7.438 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1826, allocations: 0 / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.00168/0.1843, allocations: 281.8 kB / 0.9853 GB, free: 21.63 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)