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.0008269/0.0008269, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005831/0.005831, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.339/1.339, 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.662/1.662, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0009856/0.0009855, allocations: 16.97 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2131, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001567/0.2147, allocations: 1.148 MB / 0.789 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006826/0.2154, allocations: 437.1 kB / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.2155, allocations: 0 / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.2155, allocations: 0 / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.2156, allocations: 3.938 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.2157, allocations: 11.98 kB / 0.7894 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.762e-05/0.2158, allocations: 15.94 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.2159, allocations: 4 kB / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.396e-05/0.216, allocations: 19.91 kB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.216, allocations: 11.92 kB / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.2161, allocations: 4 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-06/0.2161, allocations: 0 / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.2161, allocations: 4 kB / 0.7895 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.2161, allocations: 33.64 kB / 0.7895 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.417e-05/0.2162, allocations: 19.91 kB / 0.7895 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2162, allocations: 4 kB / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2162, allocations: 0 / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.2162, allocations: 0 / 0.7896 GB, free: 9.832 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003571/0.2166, allocations: 331.7 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2166, allocations: 12.03 kB / 0.7899 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.2167, allocations: 4.875 kB / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2168, allocations: 176.3 kB / 0.7901 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2168, allocations: 384 / 0.7901 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.2168, allocations: 4.375 kB / 0.7901 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.217, allocations: 49.98 kB / 0.7901 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.217, allocations: 0 / 0.7901 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.217, allocations: 0 / 0.7901 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.217, allocations: 0 / 0.7901 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.01e-05/0.2171, allocations: 27.98 kB / 0.7901 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.2174, allocations: 256.8 kB / 0.7904 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.2175, allocations: 26.58 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.2176, allocations: 24.91 kB / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.2176, allocations: 0 / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2176, allocations: 34.56 kB / 0.7905 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/0.2176, allocations: 0 / 0.7905 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002336/0.2179, allocations: 81.58 kB / 0.7905 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.2179, allocations: 51.41 kB / 0.7906 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.218, allocations: 105.9 kB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.218, allocations: 25.7 kB / 0.7907 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.2181, allocations: 84.12 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.2181, allocations: 15.84 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.2181, allocations: 9.719 kB / 0.7908 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2182, allocations: 310.8 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.2183, allocations: 20.02 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.2183, allocations: 8 kB / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.2184, allocations: 32.78 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2184, allocations: 0 / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001279/0.2186, allocations: 65.59 kB / 0.7912 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2186, allocations: 7.984 kB / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2186, allocations: 0 / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2186, allocations: 0 / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.2187, allocations: 4 kB / 0.7912 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2187, allocations: 0 / 0.7912 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.2187, allocations: 4 kB / 0.7912 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2187, allocations: 0 / 0.7912 GB, free: 7.871 MB / 0.6075 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 6.767e-05/0.2188, allocations: 126.5 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.2188, allocations: 0 / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.2189, allocations: 3.531 kB / 0.7914 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2189, allocations: 4 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2189, allocations: 0 / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2189, allocations: 0 / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.2191, allocations: 157.6 kB / 0.7915 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2191, allocations: 0 / 0.7915 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.2191, allocations: 7.984 kB / 0.7915 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2191, allocations: 8 kB / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.2191, allocations: 0 / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2192, allocations: 0 / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2192, allocations: 0 / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.2193, allocations: 159.4 kB / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.2194, allocations: 81.02 kB / 0.7918 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2194, allocations: 4.031 kB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.2195, allocations: 7.938 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.2195, allocations: 0 / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.2195, allocations: 4 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.2196, allocations: 87.52 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2196, allocations: 0 / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002118/0.2198, allocations: 4 kB / 0.7919 GB, free: 7.133 MB / 0.6075 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 0.0001085/0.2199, allocations: 103.2 kB / 0.792 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.22, allocations: 27.92 kB / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.22, allocations: 0 / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.2201, allocations: 19.98 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.2203, allocations: 6.375 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.2206, allocations: 132.8 kB / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.2208, allocations: 0.6772 MB / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.489e-05/0.2209, allocations: 0 / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.2209, allocations: 7.438 kB / 0.7928 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of SimCode: time 6.12e-07/0.2209, allocations: 4 kB / 0.7928 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of Templates: time 0.002178/0.2231, allocations: 283.6 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) Environment - environmentSimulation: