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.001124/0.001124, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 186.1 kB / 16.62 MB, free: 6.613 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.341/1.341, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.703/1.703, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001422/0.001423, allocations: 65.89 kB / 0.6723 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.239, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002531/0.2416, allocations: 1.418 MB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006505/0.2423, allocations: 443.9 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.2423, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.2424, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.2424, allocations: 3.938 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.2426, allocations: 15.92 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.235e-05/0.2427, allocations: 23.86 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2428, allocations: 8 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.2429, allocations: 11.98 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.2429, allocations: 15.92 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2429, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.243, allocations: 4 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.243, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.243, allocations: 19.92 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.891e-05/0.2431, allocations: 19.86 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2431, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2431, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2431, allocations: 4 kB / 0.7861 GB, free: 10.74 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.0004106/0.2435, allocations: 339.4 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2436, allocations: 8.031 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.2436, allocations: 4.938 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2437, allocations: 172.2 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2438, allocations: 4.375 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.2438, allocations: 384 / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2439, allocations: 46 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2439, allocations: 4 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2439, allocations: 3.984 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2439, allocations: 0 / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.244, allocations: 19.98 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.2444, allocations: 248.9 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.2445, allocations: 38.44 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.2445, allocations: 20.92 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2445, allocations: 0 / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.2446, allocations: 34.56 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2446, allocations: 0 / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002261/0.2448, allocations: 65.66 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.2448, allocations: 55.34 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.2449, allocations: 110 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2449, allocations: 25.7 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.245, allocations: 84.05 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.245, allocations: 7.938 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2451, allocations: 17.7 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.2451, allocations: 310.8 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.2452, allocations: 12 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.331e-05/0.2452, allocations: 11.98 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.2453, allocations: 28.78 kB / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2453, allocations: 0 / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.2454, allocations: 57.53 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2455, allocations: 4 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/0.2455, allocations: 0 / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2455, allocations: 0 / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.2456, allocations: 7.984 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2456, allocations: 12.08 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.2456, allocations: 0 / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.2457, allocations: 0 / 0.7877 GB, free: 8.801 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.923e-05/0.2457, allocations: 117.8 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.2458, allocations: 3.938 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.2458, allocations: 3.531 kB / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2458, allocations: 0 / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2458, allocations: 7.984 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2458, allocations: 0 / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.246, allocations: 161.6 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.246, allocations: 0 / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.246, allocations: 4.25 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.246, allocations: 0 / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2461, allocations: 11.98 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2461, allocations: 3.938 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2461, allocations: 4 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.2462, allocations: 155.3 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.2463, allocations: 77.11 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2463, allocations: 0 / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.2464, allocations: 7.984 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.2464, allocations: 0 / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.2464, allocations: 0 / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.2464, allocations: 83.28 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2464, allocations: 0 / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002165/0.2467, allocations: 4 kB / 0.7884 GB, free: 8.07 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 0.0001035/0.2468, allocations: 107.3 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.2469, allocations: 19.98 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2469, allocations: 0 / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.247, allocations: 15.94 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.2472, allocations: 10.36 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.2475, allocations: 115.8 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.2477, allocations: 0.6768 MB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.2477, allocations: 3.984 kB / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.2478, allocations: 7.438 kB / 0.7893 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2478, allocations: 0 / 0.7893 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of Templates: time 0.002201/0.25, allocations: 312.5 kB / 0.7896 GB, free: 6.758 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)