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.453/1.453, allocations: 252 MB / 267.6 MB, free: 10.94 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.001082/0.001082, allocations: 176.1 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 0.5783 GB, free: 20.18 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.0008018/0.0008016, allocations: 78.33 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003695, allocations: 12.69 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2502, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001453/0.2517, allocations: 1.145 MB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.2523, allocations: 423.8 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.2524, allocations: 0 / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.2524, allocations: 0 / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.2525, allocations: 0 / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.2526, allocations: 11.92 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.806e-05/0.2527, allocations: 23.92 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.2528, allocations: 4 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.2529, allocations: 15.92 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.2529, allocations: 7.984 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.253, allocations: 4 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-06/0.253, allocations: 0 / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.253, allocations: 3.938 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.253, allocations: 25.7 kB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.518e-05/0.2531, allocations: 15.97 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2531, allocations: 0 / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2531, allocations: 11.94 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2531, allocations: 0 / 0.9025 GB, free: 62.16 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.0003243/0.2534, allocations: 331.5 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2535, allocations: 8.031 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.2535, allocations: 3.906 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.055e-05/0.2536, allocations: 171 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2536, allocations: 4 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.2536, allocations: 0 / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2538, allocations: 49.62 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.2538, allocations: 0 / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2538, allocations: 4 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2538, allocations: 0 / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.2539, allocations: 15.98 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.2542, allocations: 264.9 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.2543, allocations: 26.58 kB / 0.9033 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.2543, allocations: 20.91 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2544, allocations: 3.938 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2544, allocations: 34.56 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.654e-06/0.2544, allocations: 0 / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002136/0.2546, allocations: 69.67 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.2546, allocations: 55.36 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.2547, allocations: 105.8 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.2547, allocations: 25.7 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.2548, allocations: 96.16 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.2548, allocations: 4 kB / 0.9037 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.2548, allocations: 4 kB / 0.9037 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.2548, allocations: 310.8 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.2549, allocations: 15.98 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.2549, allocations: 7.938 kB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.255, allocations: 20.05 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.255, allocations: 0 / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/0.2551, allocations: 57.59 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2551, allocations: 10.66 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2551, allocations: 0 / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2551, allocations: 0 / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.2552, allocations: 4 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2552, allocations: 4.016 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.2553, allocations: 11.95 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2553, allocations: 0 / 0.9041 GB, free: 60.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.2553, allocations: 109.8 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.2554, allocations: 3.984 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.2554, allocations: 7.531 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2554, allocations: 3.938 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2554, allocations: 0 / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2554, allocations: 0 / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.2556, allocations: 173.5 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2556, allocations: 256 / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.2556, allocations: 4 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2556, allocations: 4 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2556, allocations: 3.938 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2556, allocations: 7.984 kB / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2556, allocations: 0 / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.2558, allocations: 155.4 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.2558, allocations: 85.05 kB / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.2558, allocations: 0 / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.2559, allocations: 7.984 kB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.2559, allocations: 0 / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.256, allocations: 0 / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.256, allocations: 79.28 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.256, allocations: 0 / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000191/0.2562, allocations: 12.03 kB / 0.9048 GB, free: 59.5 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 (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 8.756e-05/0.2563, allocations: 107.2 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.2564, allocations: 23.98 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2564, allocations: 0 / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.2565, allocations: 12.06 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2567, allocations: 8.469 kB / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.2569, allocations: 154.3 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.915e-05/0.257, allocations: 0.6809 MB / 0.9057 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.2571, allocations: 11.44 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2571, allocations: 0 / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.001511/0.2586, allocations: 0.5042 MB / 0.9062 GB, free: 57.95 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)