Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.005124/0.005124, allocations: 99.28 kB / 15.73 MB, free: 5.949 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.001193/0.001193, allocations: 197.1 kB / 16.68 MB, free: 5.875 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.171/1.171, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 251.7 MB / 0.5094 GB, free: 2.977 MB / 414.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.001234/0.001234, allocations: 79.83 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002175/0.1724, allocations: 1.431 MB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006134/0.173, allocations: 447.7 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.173, allocations: 0 / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.1731, allocations: 3.938 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.1731, allocations: 3.938 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.1733, allocations: 11.98 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.1733, allocations: 19.94 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.1734, allocations: 7.984 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.1735, allocations: 19.92 kB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.1736, allocations: 7.984 kB / 0.8299 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1736, allocations: 7.938 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.1736, allocations: 0 / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.1736, allocations: 4 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.1736, allocations: 11.94 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.809e-05/0.1737, allocations: 23.84 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1737, allocations: 3.938 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1737, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1737, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 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.0003721/0.1741, allocations: 339.5 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1742, allocations: 12.03 kB / 0.8303 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1742, allocations: 4.844 kB / 0.8303 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1743, allocations: 168.3 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1743, allocations: 8.375 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.1743, allocations: 384 / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1745, allocations: 46 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1745, allocations: 3.938 kB / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1745, allocations: 0 / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1745, allocations: 4 kB / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.1746, allocations: 23.97 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.1749, allocations: 252.8 kB / 0.8308 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.1749, allocations: 30.56 kB / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.175, allocations: 16.92 kB / 0.8309 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.175, allocations: 8 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.175, allocations: 30.56 kB / 0.8309 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.175, allocations: 0 / 0.8309 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000201/0.1753, allocations: 61.61 kB / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1753, allocations: 51.41 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.1754, allocations: 105.8 kB / 0.8311 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1754, allocations: 25.83 kB / 0.8311 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.1754, allocations: 88.14 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1755, allocations: 7.906 kB / 0.8312 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.1755, allocations: 13.72 kB / 0.8312 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1756, allocations: 314.8 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.1756, allocations: 11.94 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.1757, allocations: 11.98 kB / 0.8315 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.801e-05/0.1758, allocations: 32.84 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1758, allocations: 0 / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001056/0.1759, allocations: 53.62 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1759, allocations: 4 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1759, allocations: 0 / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1759, allocations: 4 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.176, allocations: 7.984 kB / 0.8316 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.176, allocations: 0 / 0.8316 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.176, allocations: 4.031 kB / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.176, allocations: 0 / 0.8317 GB, free: 12.24 MB / 0.6544 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.283e-05/0.1761, allocations: 115.5 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1761, allocations: 11.89 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.1762, allocations: 3.531 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1762, allocations: 4 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1762, allocations: 0 / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1762, allocations: 3.984 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.1763, allocations: 157.6 kB / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1763, allocations: 0 / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.1764, allocations: 8 kB / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1764, allocations: 0 / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1764, allocations: 4.234 kB / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1764, allocations: 11.94 kB / 0.832 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1764, allocations: 3.938 kB / 0.832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1766, allocations: 147.5 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.1766, allocations: 81.14 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.1766, allocations: 0 / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.1767, allocations: 7.984 kB / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.1767, allocations: 0 / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.1767, allocations: 0 / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.1768, allocations: 83.28 kB / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1768, allocations: 0 / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000193/0.177, allocations: 4 kB / 0.8323 GB, free: 11.51 MB / 0.6544 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 8.599e-05/0.177, allocations: 107.2 kB / 0.8324 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.1772, allocations: 23.92 kB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1772, allocations: 3.938 kB / 0.8324 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.1772, allocations: 8 kB / 0.8324 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.1774, allocations: 9.438 kB / 0.8324 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.1777, allocations: 122.6 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.1779, allocations: 0.6846 MB / 0.8332 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.341e-05/0.1779, allocations: 0 / 0.8332 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.1779, allocations: 11.42 kB / 0.8332 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.178, allocations: 0 / 0.8332 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.001806/0.1798, allocations: 312.8 kB / 0.8335 GB, free: 10.19 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)