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.0006907/0.0006907, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004231/0.004231, allocations: 169.9 kB / 16.26 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.151/1.151, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.343/1.343, allocations: 252 MB / 0.5105 GB, free: 4.66 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.000492/0.000492, allocations: 12.56 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3663, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001411/0.3678, allocations: 1.153 MB / 0.7299 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005376/0.3683, allocations: 447.5 kB / 0.7303 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.3684, allocations: 0 / 0.7303 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.3684, allocations: 3.938 kB / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.715e-05/0.3684, allocations: 3.984 kB / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.3686, allocations: 11.98 kB / 0.7303 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.3686, allocations: 19.92 kB / 0.7303 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.3687, allocations: 12 kB / 0.7303 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.3688, allocations: 11.88 kB / 0.7303 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.3688, allocations: 7.984 kB / 0.7303 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.3688, allocations: 0 / 0.7303 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.3688, allocations: 0 / 0.7303 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.3689, allocations: 15.92 kB / 0.7304 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.3689, allocations: 29.64 kB / 0.7304 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.333e-05/0.369, allocations: 15.97 kB / 0.7304 GB, free: 9.547 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.369, allocations: 7.938 kB / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.369, allocations: 0 / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.369, allocations: 0 / 0.7304 GB, free: 9.539 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.0003087/0.3693, allocations: 341.4 kB / 0.7307 GB, free: 9.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.3693, allocations: 8.031 kB / 0.7307 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.3694, allocations: 4.844 kB / 0.7308 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.3695, allocations: 164.4 kB / 0.7309 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3695, allocations: 4.375 kB / 0.7309 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3695, allocations: 384 / 0.7309 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3696, allocations: 53.94 kB / 0.731 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.3696, allocations: 0 / 0.731 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3696, allocations: 4 kB / 0.731 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3696, allocations: 0 / 0.731 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.666e-05/0.3697, allocations: 23.97 kB / 0.731 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.37, allocations: 248.9 kB / 0.7312 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.3701, allocations: 30.58 kB / 0.7313 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.3701, allocations: 20.91 kB / 0.7313 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3701, allocations: 3.938 kB / 0.7313 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3702, allocations: 34.56 kB / 0.7313 GB, free: 8.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3702, allocations: 0 / 0.7313 GB, free: 8.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002022/0.3704, allocations: 73.58 kB / 0.7314 GB, free: 8.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.3704, allocations: 51.41 kB / 0.7314 GB, free: 8.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.3705, allocations: 105.8 kB / 0.7315 GB, free: 8.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.3705, allocations: 25.7 kB / 0.7316 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.3705, allocations: 84.14 kB / 0.7316 GB, free: 8.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.3706, allocations: 7.906 kB / 0.7316 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.3706, allocations: 13.84 kB / 0.7317 GB, free: 8.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.3707, allocations: 314.8 kB / 0.732 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.3707, allocations: 15.94 kB / 0.732 GB, free: 7.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.3708, allocations: 15.92 kB / 0.732 GB, free: 7.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.3708, allocations: 32.86 kB / 0.732 GB, free: 7.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3708, allocations: 0 / 0.732 GB, free: 7.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001191/0.371, allocations: 57.67 kB / 0.7321 GB, free: 7.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.371, allocations: 4 kB / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.371, allocations: 0 / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.371, allocations: 0 / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.3711, allocations: 7.938 kB / 0.7321 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.3711, allocations: 0 / 0.7321 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.3711, allocations: 12.02 kB / 0.7321 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.3711, allocations: 0 / 0.7321 GB, free: 7.59 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.923e-05/0.3712, allocations: 121.7 kB / 0.7322 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.3712, allocations: 0 / 0.7322 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.553e-05/0.3712, allocations: 3.531 kB / 0.7322 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3712, allocations: 4 kB / 0.7322 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3713, allocations: 0 / 0.7322 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3713, allocations: 3.984 kB / 0.7322 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.3714, allocations: 169.8 kB / 0.7324 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3714, allocations: 4 kB / 0.7324 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.3714, allocations: 4 kB / 0.7324 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3715, allocations: 4 kB / 0.7324 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3715, allocations: 4 kB / 0.7324 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3715, allocations: 0 / 0.7324 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3715, allocations: 0 / 0.7324 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.3716, allocations: 159.4 kB / 0.7326 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.3717, allocations: 81.05 kB / 0.7326 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.3717, allocations: 0 / 0.7326 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.3717, allocations: 4 kB / 0.7326 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.3718, allocations: 7.922 kB / 0.7326 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3718, allocations: 4 kB / 0.7326 GB, free: 6.934 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.3718, allocations: 83.28 kB / 0.7327 GB, free: 6.852 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3718, allocations: 0 / 0.7327 GB, free: 6.852 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001939/0.372, allocations: 8.031 kB / 0.7327 GB, free: 6.844 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.53e-05/0.3721, allocations: 97.44 kB / 0.7328 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.3722, allocations: 27.97 kB / 0.7329 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3722, allocations: 0 / 0.7329 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.3723, allocations: 20.06 kB / 0.7329 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.3725, allocations: 4.875 kB / 0.7329 GB, free: 6.691 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.3727, allocations: 136.5 kB / 0.733 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3729, allocations: 0.677 MB / 0.7337 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.3729, allocations: 7.844 kB / 0.7337 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.373, allocations: 7.438 kB / 0.7337 GB, free: 5.812 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.373, allocations: 4.062 kB / 0.7337 GB, free: 5.809 MB / 0.545 GB Notification: Performance of Templates: time 0.001664/0.3746, allocations: 278.1 kB / 0.734 GB, free: 5.547 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: