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.488/1.488, allocations: 252 MB / 268 MB, free: 10.86 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.001188/0.001188, allocations: 182.1 kB / 327.6 MB, free: 2.094 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.99/1.99, allocations: 205.4 MB / 0.5786 GB, free: 20.43 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.0008987/0.0008985, allocations: 88.2 kB / 0.6832 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 9 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 106.3 MB / 0.9015 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001621/0.2367, allocations: 1.153 MB / 0.9026 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006048/0.2373, allocations: 439.6 kB / 0.903 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.2373, allocations: 0 / 0.903 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.2374, allocations: 3.984 kB / 0.903 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.2374, allocations: 11.92 kB / 0.903 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.2376, allocations: 4 kB / 0.903 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.2377, allocations: 23.92 kB / 0.9031 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2378, allocations: 4 kB / 0.9031 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.2379, allocations: 19.92 kB / 0.9031 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.2379, allocations: 7.938 kB / 0.9031 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.238, allocations: 7.938 kB / 0.9031 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.238, allocations: 0 / 0.9031 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.238, allocations: 3.984 kB / 0.9031 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.2381, allocations: 37.62 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.372e-05/0.2381, allocations: 11.98 kB / 0.9031 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2381, allocations: 0 / 0.9031 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2381, allocations: 0 / 0.9031 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2381, allocations: 0 / 0.9031 GB, free: 62.08 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.0003271/0.2385, allocations: 342.1 kB / 0.9035 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2385, allocations: 8.031 kB / 0.9035 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.2386, allocations: 8.844 kB / 0.9035 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.523e-05/0.2386, allocations: 164.4 kB / 0.9036 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2387, allocations: 384 / 0.9036 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.2387, allocations: 384 / 0.9036 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.2388, allocations: 53.98 kB / 0.9037 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2388, allocations: 4 kB / 0.9037 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2388, allocations: 0 / 0.9037 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2388, allocations: 0 / 0.9037 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.2389, allocations: 31.91 kB / 0.9037 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.2392, allocations: 244.9 kB / 0.904 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.2393, allocations: 38.56 kB / 0.904 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.2394, allocations: 12.92 kB / 0.904 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2394, allocations: 0 / 0.904 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.2394, allocations: 38.56 kB / 0.904 GB, free: 61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.2394, allocations: 0 / 0.904 GB, free: 61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002187/0.2396, allocations: 73.52 kB / 0.9041 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.2397, allocations: 55.34 kB / 0.9042 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.2397, allocations: 109.8 kB / 0.9043 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.2398, allocations: 25.7 kB / 0.9043 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.2398, allocations: 88.14 kB / 0.9044 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.2398, allocations: 3.906 kB / 0.9044 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.2398, allocations: 128 / 0.9044 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.2399, allocations: 318.8 kB / 0.9047 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.2399, allocations: 12 kB / 0.9047 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/0.24, allocations: 11.98 kB / 0.9047 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/0.24, allocations: 32.73 kB / 0.9047 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.24, allocations: 4.062 kB / 0.9047 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.803e-05/0.2402, allocations: 57.67 kB / 0.9048 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2402, allocations: 4 kB / 0.9048 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2402, allocations: 0 / 0.9048 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2402, allocations: 0 / 0.9048 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.2403, allocations: 4 kB / 0.9048 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2403, allocations: 4 kB / 0.9048 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.2403, allocations: 8.016 kB / 0.9048 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2403, allocations: 0 / 0.9048 GB, free: 60.14 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 5.391e-05/0.2404, allocations: 117.8 kB / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.2404, allocations: 0 / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.2405, allocations: 7.531 kB / 0.9049 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2405, allocations: 0 / 0.9049 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2405, allocations: 0 / 0.9049 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2405, allocations: 0 / 0.9049 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.2406, allocations: 165.6 kB / 0.9051 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2406, allocations: 7.938 kB / 0.9051 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.2407, allocations: 8.25 kB / 0.9051 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2407, allocations: 0 / 0.9051 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2407, allocations: 4 kB / 0.9051 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2407, allocations: 0 / 0.9051 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2407, allocations: 0 / 0.9051 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.2408, allocations: 159.4 kB / 0.9053 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.2408, allocations: 81.05 kB / 0.9053 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.2409, allocations: 4 kB / 0.9054 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.2409, allocations: 0 / 0.9054 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.241, allocations: 11.98 kB / 0.9054 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.241, allocations: 3.938 kB / 0.9054 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.313e-05/0.241, allocations: 79.28 kB / 0.9054 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.241, allocations: 0 / 0.9054 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001859/0.2412, allocations: 4 kB / 0.9054 GB, free: 59.41 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 (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.948e-05/0.2413, allocations: 103.2 kB / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.2414, allocations: 31.91 kB / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2414, allocations: 0 / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.2415, allocations: 16 kB / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.2417, allocations: 8.062 kB / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.242, allocations: 154.3 kB / 0.9057 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.2421, allocations: 0.6809 MB / 0.9064 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.2421, allocations: 7.438 kB / 0.9064 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of SimCode: time 4.5e-07/0.2422, allocations: 0 / 0.9064 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.001609/0.2438, allocations: 0.5078 MB / 0.9069 GB, free: 57.84 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)