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.0009348/0.0009348, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001031/0.001031, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.799/1.799, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0005879/0.0005881, allocations: 14.81 kB / 0.6736 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3036, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002058/0.3057, allocations: 1.133 MB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008061/0.3065, allocations: 413.6 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.3066, allocations: 0 / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.3066, allocations: 7.938 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.3067, allocations: 3.984 kB / 0.7886 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.3069, allocations: 15.92 kB / 0.7886 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.744e-05/0.307, allocations: 11.98 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3071, allocations: 7.984 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3072, allocations: 11.94 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.3073, allocations: 7.984 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3073, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.3073, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.3074, allocations: 7.938 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.3074, allocations: 33.7 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.846e-05/0.3075, allocations: 11.97 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3075, allocations: 0 / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3075, allocations: 0 / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3075, allocations: 3.938 kB / 0.7887 GB, free: 10.27 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.0004928/0.308, allocations: 335.5 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.308, allocations: 8.031 kB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.3081, allocations: 4 kB / 0.7891 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3083, allocations: 175 kB / 0.7892 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3083, allocations: 0 / 0.7892 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.3083, allocations: 0 / 0.7892 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3085, allocations: 45.69 kB / 0.7893 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3085, allocations: 3.938 kB / 0.7893 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3085, allocations: 0 / 0.7893 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3085, allocations: 4 kB / 0.7893 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3086, allocations: 27.98 kB / 0.7893 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.3091, allocations: 248.8 kB / 0.7896 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/0.3092, allocations: 34.61 kB / 0.7896 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3092, allocations: 0 / 0.7896 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3092, allocations: 38.5 kB / 0.7896 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3092, allocations: 0 / 0.7896 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002602/0.3095, allocations: 61.73 kB / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.3096, allocations: 55.41 kB / 0.7897 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.3097, allocations: 105.8 kB / 0.7898 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.3097, allocations: 29.83 kB / 0.7899 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.3098, allocations: 88.14 kB / 0.7899 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.939e-05/0.3098, allocations: 7.844 kB / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.3099, allocations: 0 / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.31, allocations: 318.8 kB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.31, allocations: 11.98 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.3101, allocations: 12 kB / 0.7903 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.3101, allocations: 19.98 kB / 0.7903 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3101, allocations: 0 / 0.7903 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001311/0.3103, allocations: 57.67 kB / 0.7904 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3103, allocations: 4 kB / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3103, allocations: 0 / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3103, allocations: 0 / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.3104, allocations: 11.98 kB / 0.7904 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3104, allocations: 4.031 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.3105, allocations: 0 / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3105, allocations: 4 kB / 0.7904 GB, free: 8.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/0.3106, allocations: 113.8 kB / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.3106, allocations: 3.906 kB / 0.7905 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.3107, allocations: 11.52 kB / 0.7905 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3107, allocations: 0 / 0.7905 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3107, allocations: 0 / 0.7905 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3107, allocations: 7.938 kB / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3109, allocations: 157.6 kB / 0.7907 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3109, allocations: 0 / 0.7907 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.3109, allocations: 15.92 kB / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.311, allocations: 0 / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.311, allocations: 0 / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.311, allocations: 0 / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.311, allocations: 0 / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.3112, allocations: 155.5 kB / 0.7908 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.3112, allocations: 81.11 kB / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.3113, allocations: 3.984 kB / 0.7909 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.3113, allocations: 0 / 0.7909 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.3114, allocations: 4.25 kB / 0.7909 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3114, allocations: 3.938 kB / 0.7909 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.628e-05/0.3114, allocations: 91.27 kB / 0.791 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3114, allocations: 4.031 kB / 0.791 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002294/0.3117, allocations: 4 kB / 0.791 GB, free: 7.629 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.3118, allocations: 95.25 kB / 0.7911 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.312, allocations: 27.92 kB / 0.7911 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.312, allocations: 4 kB / 0.7911 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.312, allocations: 20.05 kB / 0.7911 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3122, allocations: 6.391 kB / 0.7912 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.3126, allocations: 124.6 kB / 0.7913 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3128, allocations: 0.677 MB / 0.7919 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.3129, allocations: 3.906 kB / 0.7919 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.3129, allocations: 19.44 kB / 0.792 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.3129, allocations: 0 / 0.792 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of Templates: time 0.002532/0.3154, allocations: 260 kB / 0.7922 GB, free: 6.344 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: