Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.786/2.786, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001556, allocations: 178.8 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.458/2.458, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 93.81 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004757, allocations: 15.41 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2262, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001955/0.2283, allocations: 1.133 MB / 0.9 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008458/0.2292, allocations: 413 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.2292, allocations: 4 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2293, allocations: 3.984 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.2293, allocations: 3.984 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.2295, allocations: 8 kB / 0.9004 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.2296, allocations: 19.91 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2297, allocations: 4 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.2298, allocations: 8 kB / 0.9004 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.2299, allocations: 15.91 kB / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.2299, allocations: 4 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.2299, allocations: 0 / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.23, allocations: 3.938 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.23, allocations: 25.7 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.974e-05/0.2301, allocations: 15.97 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2301, allocations: 4 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2301, allocations: 3.938 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2301, allocations: 3.938 kB / 0.9005 GB, free: 63.79 MB / 0.6042 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.0004081/0.2305, allocations: 331.6 kB / 0.9008 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2306, allocations: 8.031 kB / 0.9008 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.2306, allocations: 7.859 kB / 0.9008 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2307, allocations: 171 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2308, allocations: 4 kB / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2308, allocations: 0 / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.231, allocations: 45.69 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.231, allocations: 0 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.231, allocations: 0 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.231, allocations: 0 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2312, allocations: 19.98 kB / 0.9011 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.2316, allocations: 260.9 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.2317, allocations: 30.58 kB / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2317, allocations: 0 / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2318, allocations: 30.56 kB / 0.9014 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.2318, allocations: 4 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003126/0.2321, allocations: 69.67 kB / 0.9015 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.2321, allocations: 55.36 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.2322, allocations: 109.8 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2322, allocations: 25.7 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.2323, allocations: 88.27 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.2323, allocations: 7.906 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.2323, allocations: 0 / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.2324, allocations: 314.8 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.2325, allocations: 12 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.2325, allocations: 11.98 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.691e-05/0.2326, allocations: 8.062 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2326, allocations: 4 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001721/0.2328, allocations: 65.53 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2328, allocations: 4 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2329, allocations: 0 / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2329, allocations: 0 / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.233, allocations: 7.984 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2331, allocations: 7.953 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.2331, allocations: 7.969 kB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2331, allocations: 4 kB / 0.9022 GB, free: 61.89 MB / 0.6042 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 6.665e-05/0.2332, allocations: 109.8 kB / 0.9023 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.2333, allocations: 0 / 0.9023 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.2333, allocations: 15.52 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2333, allocations: 0 / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2333, allocations: 0 / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2333, allocations: 3.953 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.2335, allocations: 153.7 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2335, allocations: 4 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.2336, allocations: 11.98 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2336, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2336, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2336, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2336, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.2339, allocations: 159.5 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.2339, allocations: 85 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2339, allocations: 8 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.234, allocations: 0 / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.2341, allocations: 4 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2341, allocations: 0 / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.2341, allocations: 83.27 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2341, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002933/0.2345, allocations: 8.031 kB / 0.9028 GB, free: 61.17 MB / 0.6042 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 0.0001104/0.2346, allocations: 103.2 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.2348, allocations: 23.98 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2348, allocations: 0 / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.2349, allocations: 19.92 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.2351, allocations: 12.06 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.2354, allocations: 134.2 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.2355, allocations: 0.6809 MB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.2356, allocations: 0 / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.2356, allocations: 7.438 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of SimCode: time 1.152e-06/0.2356, allocations: 0 / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.002568/0.2382, allocations: 274.5 kB / 0.904 GB, free: 59.87 MB / 0.6042 GB