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.001292/0.001292, allocations: 108.1 kB / 16.36 MB, free: 5.961 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.001286/0.001286, allocations: 196.4 kB / 17.3 MB, free: 5.574 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.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001415/0.001416, allocations: 68.45 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2041, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002479/0.2067, allocations: 1.415 MB / 0.7862 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006109/0.2073, allocations: 435.9 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.2073, allocations: 0 / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.2074, allocations: 3.938 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.2074, allocations: 3.938 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.2076, allocations: 15.97 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.672e-05/0.2077, allocations: 19.94 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.2078, allocations: 11.98 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.2078, allocations: 11.94 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.2079, allocations: 11.92 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.2079, allocations: 0 / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.2079, allocations: 4 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.208, allocations: 4 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.208, allocations: 15.92 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.77e-05/0.2081, allocations: 27.84 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2081, allocations: 0 / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2081, allocations: 0 / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2081, allocations: 4 kB / 0.7867 GB, free: 1.148 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.0003595/0.2085, allocations: 339.4 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2085, allocations: 8.031 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.2085, allocations: 8.938 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/0.2086, allocations: 164.3 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2087, allocations: 8.359 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.2087, allocations: 384 / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2088, allocations: 46 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2088, allocations: 4 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-06/0.2088, allocations: 0 / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2088, allocations: 0 / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.2089, allocations: 23.92 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.2092, allocations: 248.9 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.366e-05/0.2093, allocations: 26.58 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.2094, allocations: 20.91 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2094, allocations: 7.938 kB / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2094, allocations: 38.5 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2094, allocations: 0 / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.3042/0.5137, allocations: 58.72 kB / 0.7877 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.5137, allocations: 52.06 kB / 0.7877 GB, free: 49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.5138, allocations: 105 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.5138, allocations: 26.64 kB / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.5139, allocations: 84.11 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.5139, allocations: 15.16 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.5139, allocations: 17.73 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.514, allocations: 312.7 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.514, allocations: 9.469 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.5141, allocations: 7.531 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.5142, allocations: 28.23 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5142, allocations: 1.562 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001162/0.5143, allocations: 53.94 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5143, allocations: 8.562 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5143, allocations: 0 / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5143, allocations: 3.75 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.5144, allocations: 3.094 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5144, allocations: 5.625 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.5145, allocations: 3.234 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.5145, allocations: 4.062 kB / 0.7884 GB, free: 48.42 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 4.341e-05/0.5145, allocations: 111.9 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.5146, allocations: 3.188 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.5146, allocations: 10.84 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5146, allocations: 0 / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5146, allocations: 0 / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5146, allocations: 0 / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.5147, allocations: 159.9 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5148, allocations: 3.031 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.5148, allocations: 5.5 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5148, allocations: 0 / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.5148, allocations: 3.938 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5148, allocations: 1.969 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5148, allocations: 6.594 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.515, allocations: 153 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.515, allocations: 77.11 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.515, allocations: 9.547 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/0.5151, allocations: 0 / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.5151, allocations: 2.719 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.5151, allocations: 0 / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.5151, allocations: 93.19 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5151, allocations: 0.5625 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002414/0.5154, allocations: 5.312 kB / 0.789 GB, free: 47.81 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 9.255e-05/0.5155, allocations: 99.03 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.5156, allocations: 29.56 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5156, allocations: 2.75 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.5157, allocations: 4.969 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.5159, allocations: 6.469 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.5162, allocations: 110.4 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.5163, allocations: 0.679 MB / 0.7899 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.5163, allocations: 1.172 kB / 0.7899 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.5164, allocations: 7.438 kB / 0.7899 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.5164, allocations: 0 / 0.7899 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.002036/0.5184, allocations: 317 kB / 0.7902 GB, free: 46.93 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)