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.001038/0.001038, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00106/0.00106, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.291/1.291, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.669/1.669, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001319/0.001319, allocations: 74.02 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.21, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00279/0.2129, allocations: 1.491 MB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006164/0.2135, allocations: 437 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.2135, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.2136, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.2136, allocations: 3.938 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.2138, allocations: 15.92 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.2139, allocations: 23.88 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.214, allocations: 7.984 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.214, allocations: 11.98 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.2141, allocations: 15.92 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2141, allocations: 8 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.2141, allocations: 0 / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.2142, allocations: 0 / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.2142, allocations: 11.94 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.295e-05/0.2143, allocations: 19.91 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2143, allocations: 0 / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.846e-06/0.2143, allocations: 0 / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.2143, allocations: 7.938 kB / 0.7848 GB, free: 11.83 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.0003687/0.2147, allocations: 335.7 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2147, allocations: 12.03 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.2147, allocations: 4.938 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2149, allocations: 172.3 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.2149, allocations: 384 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.2149, allocations: 384 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.215, allocations: 46 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.215, allocations: 0 / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.215, allocations: 0 / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.215, allocations: 3.984 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.255e-05/0.2151, allocations: 19.98 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.2154, allocations: 256.8 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.245e-05/0.2155, allocations: 30.58 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.2156, allocations: 20.91 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2156, allocations: 0 / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2156, allocations: 38.5 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2156, allocations: 0 / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002204/0.2159, allocations: 65.61 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2159, allocations: 51.41 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.216, allocations: 109.8 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.216, allocations: 25.7 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.216, allocations: 84.05 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.2161, allocations: 12.06 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.2161, allocations: 13.72 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.2162, allocations: 318.8 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.2162, allocations: 8 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.2163, allocations: 7.984 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.2164, allocations: 28.78 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2164, allocations: 4.062 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.2165, allocations: 61.47 kB / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2165, allocations: 4 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2165, allocations: 4 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2166, allocations: 0 / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.2167, allocations: 4 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2167, allocations: 0 / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.2167, allocations: 3.984 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2167, allocations: 0 / 0.7865 GB, free: 9.895 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.972e-05/0.2168, allocations: 121.8 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.2168, allocations: 0 / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.2169, allocations: 7.531 kB / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2169, allocations: 0 / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2169, allocations: 0 / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2169, allocations: 0 / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.217, allocations: 161.6 kB / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.217, allocations: 0 / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.2171, allocations: 4 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2171, allocations: 4 kB / 0.7868 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2171, allocations: 4 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2171, allocations: 0 / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.2171, allocations: 7.922 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.2173, allocations: 151.4 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.2173, allocations: 81.05 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.2174, allocations: 0 / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-05/0.2174, allocations: 12.02 kB / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.2175, allocations: 256 / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2175, allocations: 0 / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.2175, allocations: 91.28 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2175, allocations: 0 / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002032/0.2177, allocations: 0 / 0.7871 GB, free: 9.164 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.0001111/0.2179, allocations: 103.2 kB / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.218, allocations: 27.92 kB / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.218, allocations: 0 / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.218, allocations: 12 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.2183, allocations: 6.188 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.2185, allocations: 122.6 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.2188, allocations: 0.6769 MB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.2188, allocations: 8 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.2188, allocations: 11.42 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2188, allocations: 0 / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of Templates: time 0.001954/0.2208, allocations: 296.5 kB / 0.7884 GB, free: 7.855 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)