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.0009386/0.0009385, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001007/0.001007, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.154/1.154, allocations: 205.1 MB / 222 MB, free: 4.762 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.314/1.314, allocations: 251.6 MB / 0.5088 GB, free: 3.324 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.001188/0.001188, allocations: 59.91 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3561, allocations: 104.7 MB / 0.7238 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002245/0.3584, allocations: 1.488 MB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005328/0.3589, allocations: 447.5 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.359, allocations: 0 / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.359, allocations: 0 / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.3591, allocations: 3.938 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.3592, allocations: 7.984 kB / 0.7257 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.96e-05/0.3592, allocations: 27.92 kB / 0.7257 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.386e-05/0.3593, allocations: 8 kB / 0.7257 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.3594, allocations: 15.92 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.3595, allocations: 11.92 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3595, allocations: 0 / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.3595, allocations: 0 / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.3595, allocations: 4 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.3595, allocations: 7.938 kB / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.584e-05/0.3596, allocations: 27.89 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3596, allocations: 0 / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.71e-07/0.3596, allocations: 4 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.3596, allocations: 0 / 0.7258 GB, free: 11.05 MB / 0.545 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.0003114/0.3599, allocations: 345.3 kB / 0.7261 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.36, allocations: 8.031 kB / 0.7261 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.36, allocations: 0.9375 kB / 0.7261 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.413e-05/0.3601, allocations: 168.3 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-06/0.3601, allocations: 4.312 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.3601, allocations: 384 / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.3602, allocations: 50 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.3602, allocations: 0 / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3602, allocations: 0 / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3602, allocations: 0 / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.3603, allocations: 23.97 kB / 0.7264 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.3606, allocations: 260.8 kB / 0.7266 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/0.3607, allocations: 34.56 kB / 0.7267 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.3607, allocations: 16.92 kB / 0.7267 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.3607, allocations: 3.984 kB / 0.7267 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.3608, allocations: 30.56 kB / 0.7267 GB, free: 9.961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3608, allocations: 0 / 0.7267 GB, free: 9.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001903/0.361, allocations: 61.61 kB / 0.7268 GB, free: 9.895 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.361, allocations: 59.53 kB / 0.7268 GB, free: 9.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.3611, allocations: 105.8 kB / 0.7269 GB, free: 9.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3611, allocations: 25.7 kB / 0.727 GB, free: 9.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.3611, allocations: 84.14 kB / 0.727 GB, free: 9.594 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.3611, allocations: 3.906 kB / 0.727 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.3612, allocations: 17.66 kB / 0.7271 GB, free: 9.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.3613, allocations: 318.8 kB / 0.7274 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.3613, allocations: 8 kB / 0.7274 GB, free: 9.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.3613, allocations: 11.98 kB / 0.7274 GB, free: 9.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.592e-05/0.3614, allocations: 28.78 kB / 0.7274 GB, free: 9.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3614, allocations: 0 / 0.7274 GB, free: 9.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.914e-05/0.3615, allocations: 53.62 kB / 0.7275 GB, free: 9.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3615, allocations: 8 kB / 0.7275 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.3615, allocations: 0 / 0.7275 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.3616, allocations: 96 / 0.7275 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.3616, allocations: 11.98 kB / 0.7275 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3616, allocations: 0 / 0.7275 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.3617, allocations: 0 / 0.7275 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3617, allocations: 4 kB / 0.7275 GB, free: 9.113 MB / 0.545 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.79e-05/0.3617, allocations: 113.8 kB / 0.7276 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3618, allocations: 3.906 kB / 0.7276 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526e-05/0.3618, allocations: 7.531 kB / 0.7276 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3618, allocations: 0 / 0.7276 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3618, allocations: 4 kB / 0.7276 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.3618, allocations: 0 / 0.7276 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.3619, allocations: 161.6 kB / 0.7278 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3619, allocations: 0 / 0.7278 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.362, allocations: 4 kB / 0.7278 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.362, allocations: 7.938 kB / 0.7278 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.362, allocations: 0 / 0.7278 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.362, allocations: 3.984 kB / 0.7278 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.362, allocations: 0 / 0.7278 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.3621, allocations: 155.7 kB / 0.7279 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.3622, allocations: 81.05 kB / 0.728 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3622, allocations: 8 kB / 0.728 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-05/0.3623, allocations: 3.984 kB / 0.728 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.3623, allocations: 0 / 0.728 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3623, allocations: 0 / 0.728 GB, free: 8.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.3623, allocations: 87.28 kB / 0.7281 GB, free: 8.391 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3623, allocations: 0 / 0.7281 GB, free: 8.391 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000195/0.3625, allocations: 8.031 kB / 0.7281 GB, free: 8.383 MB / 0.545 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 7.566e-05/0.3626, allocations: 103.2 kB / 0.7282 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.859e-05/0.3627, allocations: 19.98 kB / 0.7282 GB, free: 8.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3627, allocations: 3.938 kB / 0.7282 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.3628, allocations: 12 kB / 0.7282 GB, free: 8.238 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.363, allocations: 7.938 kB / 0.7282 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.3632, allocations: 124.5 kB / 0.7284 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.3634, allocations: 0.677 MB / 0.729 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.3634, allocations: 0 / 0.729 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.3634, allocations: 11.42 kB / 0.729 GB, free: 7.371 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.3634, allocations: 0 / 0.729 GB, free: 7.371 MB / 0.545 GB Notification: Performance of Templates: time 0.001584/0.365, allocations: 276.7 kB / 0.7293 GB, free: 7.109 MB / 0.545 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)