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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000906/0.000906, allocations: 179.6 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205 MB / 0.5767 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007406/0.0007406, allocations: 95.47 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 12.75 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1695, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001466/0.171, allocations: 1.149 MB / 0.8979 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005441/0.1715, allocations: 457 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.1716, allocations: 0 / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.1716, allocations: 3.984 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.1717, allocations: 0 / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.1718, allocations: 11.94 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.1719, allocations: 19.92 kB / 0.8984 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.172, allocations: 11.94 kB / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.172, allocations: 11.97 kB / 0.8984 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.1721, allocations: 15.94 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1721, allocations: 4 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.1721, allocations: 0 / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1722, allocations: 3.938 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.1722, allocations: 11.92 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.443e-05/0.1722, allocations: 15.97 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1723, allocations: 0 / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1723, allocations: 0 / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1723, allocations: 0 / 0.8984 GB, free: 66.48 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.0002917/0.1726, allocations: 339.4 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1726, allocations: 8.031 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.1726, allocations: 8.844 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.789e-05/0.1727, allocations: 168.3 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1727, allocations: 4.312 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1727, allocations: 4.375 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1729, allocations: 53.97 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1729, allocations: 0 / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-06/0.1729, allocations: 0 / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1729, allocations: 4 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.173, allocations: 23.98 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.1733, allocations: 244.9 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.124e-05/0.1733, allocations: 42.5 kB / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.1734, allocations: 12.92 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1734, allocations: 8 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.1734, allocations: 34.55 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1734, allocations: 0 / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002031/0.1736, allocations: 65.59 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.1737, allocations: 51.41 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.1737, allocations: 109.8 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.1738, allocations: 29.64 kB / 0.8996 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.1738, allocations: 88.14 kB / 0.8997 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.1738, allocations: 3.906 kB / 0.8997 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.1738, allocations: 9.719 kB / 0.8997 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.1739, allocations: 319 kB / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.582e-05/0.1739, allocations: 12 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.174, allocations: 12 kB / 0.9 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.174, allocations: 28.84 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1741, allocations: 3.938 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.452e-05/0.1742, allocations: 61.75 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1742, allocations: 4 kB / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1742, allocations: 0 / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1742, allocations: 3.938 kB / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.1743, allocations: 12.23 kB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1743, allocations: 0 / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.1743, allocations: 4 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1743, allocations: 11.97 kB / 0.9001 GB, free: 64.51 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.1744, allocations: 109.8 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1744, allocations: 0 / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.1744, allocations: 11.53 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1744, allocations: 0 / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1744, allocations: 3.984 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.1745, allocations: 81.02 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.1745, allocations: 0 / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.1745, allocations: 4 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.1746, allocations: 7.938 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001127/0.1747, allocations: 133 kB / 0.9005 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001172/0.1748, allocations: 238.8 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.762e-05/0.1749, allocations: 8 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.07e-05/0.1749, allocations: 91.27 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of Backend: time 2.9e-07/0.1749, allocations: 0 / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1752, allocations: 86.41 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002426/0.1755, allocations: 0.5757 MB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.001782/0.1772, allocations: 359.2 kB / 0.9018 GB, free: 62.73 MB / 0.6042 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)