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.001252/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001032/0.001032, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.272/1.272, allocations: 205.1 MB / 222 MB, free: 4.773 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.617/1.617, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001363/0.001363, allocations: 68.33 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2033, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002506/0.2058, allocations: 1.491 MB / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006246/0.2065, allocations: 433 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.2065, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.2066, allocations: 3.938 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.2066, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.2067, allocations: 11.94 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.286e-05/0.2068, allocations: 31.86 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.848e-05/0.2069, allocations: 4 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.207, allocations: 15.97 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.207, allocations: 7.938 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2071, allocations: 0 / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2071, allocations: 4 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.2071, allocations: 3.984 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.2071, allocations: 11.94 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.112e-05/0.2072, allocations: 19.91 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2072, allocations: 7.938 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2072, allocations: 0 / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.2072, allocations: 0 / 0.7847 GB, free: 11.93 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.0003783/0.2076, allocations: 335.7 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2076, allocations: 8.031 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.2077, allocations: 4.938 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2078, allocations: 168.3 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2078, allocations: 384 / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2078, allocations: 4.375 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.2079, allocations: 49.94 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.208, allocations: 3.938 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.208, allocations: 4 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.208, allocations: 0 / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.2081, allocations: 15.98 kB / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.2084, allocations: 252.9 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.2085, allocations: 38.55 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.2085, allocations: 20.91 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.2086, allocations: 0 / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.2086, allocations: 30.56 kB / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.2086, allocations: 0 / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002452/0.2088, allocations: 65.67 kB / 0.7856 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.2089, allocations: 55.41 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.2089, allocations: 97.86 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.209, allocations: 25.7 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.209, allocations: 92.03 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.209, allocations: 3.938 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.2091, allocations: 21.66 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2092, allocations: 310.8 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.2092, allocations: 16.11 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.2093, allocations: 8 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.348e-05/0.2094, allocations: 28.78 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2094, allocations: 0 / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/0.2095, allocations: 53.84 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2095, allocations: 7.984 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2095, allocations: 4.094 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2095, allocations: 4 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.2096, allocations: 4 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2096, allocations: 3.938 kB / 0.7863 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.2097, allocations: 4 kB / 0.7863 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2097, allocations: 0 / 0.7863 GB, free: 10 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.757e-05/0.2098, allocations: 118.4 kB / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2098, allocations: 4 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.2098, allocations: 7.469 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2098, allocations: 4 kB / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2098, allocations: 0 / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2098, allocations: 0 / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.21, allocations: 165.5 kB / 0.7866 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.21, allocations: 0 / 0.7866 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.21, allocations: 7.984 kB / 0.7866 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2101, allocations: 0 / 0.7866 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.2101, allocations: 0 / 0.7866 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2101, allocations: 0 / 0.7866 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2101, allocations: 3.984 kB / 0.7866 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.2102, allocations: 163.3 kB / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.2103, allocations: 81.11 kB / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.2103, allocations: 0 / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.796e-05/0.2104, allocations: 0 / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.2104, allocations: 4 kB / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2104, allocations: 0 / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.2104, allocations: 87.27 kB / 0.787 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2104, allocations: 4.031 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002055/0.2107, allocations: 4 kB / 0.787 GB, free: 9.262 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 9.545e-05/0.2108, allocations: 95.25 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.2109, allocations: 23.98 kB / 0.7871 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2109, allocations: 0 / 0.7871 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.2109, allocations: 11.98 kB / 0.7871 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.2111, allocations: 12.06 kB / 0.7871 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.2114, allocations: 124.3 kB / 0.7872 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2116, allocations: 0.677 MB / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.2117, allocations: 0 / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.2117, allocations: 7.438 kB / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2117, allocations: 0 / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.001899/0.2136, allocations: 280.8 kB / 0.7882 GB, free: 7.984 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)