Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.006/5.006, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002499/0.002498, allocations: 354.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.242/4.242, allocations: 410.7 MB / 1.113 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001888/0.001888, allocations: 190.2 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005184, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7586, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.94, allocations: 410.1 MB / 1.862 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.94, allocations: 107.5 kB / 1.862 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 14.68/16.62, allocations: 2.702 GB / 4.563 GB, free: 60.4 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.915e-06/16.62, allocations: 0 / 4.563 GB, free: 60.4 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001264/16.62, allocations: 175.2 kB / 4.564 GB, free: 60.37 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02943/16.65, allocations: 7.139 MB / 4.571 GB, free: 56.94 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/16.65, allocations: 16.22 kB / 4.571 GB, free: 56.94 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/16.66, allocations: 0.778 MB / 4.571 GB, free: 56.57 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1808/16.84, allocations: 56.32 MB / 4.626 GB, free: 53.09 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005112/16.84, allocations: 320.9 kB / 4.627 GB, free: 53.07 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/16.84, allocations: 426.2 kB / 4.627 GB, free: 53.07 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/16.85, allocations: 4.298 MB / 4.631 GB, free: 52.24 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002169/16.85, allocations: 18.59 kB / 4.631 GB, free: 52.23 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001037/16.86, allocations: 181.6 kB / 4.631 GB, free: 52.22 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/16.86, allocations: 121.3 kB / 4.632 GB, free: 52.22 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/16.87, allocations: 2.898 MB / 4.634 GB, free: 52.12 MB / 1.073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04351/16.91, allocations: 23.98 MB / 4.658 GB, free: 37.57 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005232/16.92, allocations: 2.953 MB / 4.661 GB, free: 36.39 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/16.92, allocations: 1.088 MB / 4.662 GB, free: 36.37 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003597/16.92, allocations: 3.935 MB / 4.666 GB, free: 31.96 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/16.92, allocations: 75.69 kB / 4.666 GB, free: 31.91 MB / 1.073 GB Notification: Performance of pre-optimization done (n=225): time 6.212e-06/16.92, allocations: 3.438 kB / 4.666 GB, free: 31.91 MB / 1.073 GB Notification: Performance of matching and sorting (n=225): time 0.02015/16.94, allocations: 4.385 MB / 4.67 GB, free: 31.04 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/16.94, allocations: 76.41 kB / 4.67 GB, free: 30.98 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/16.95, allocations: 4.121 MB / 4.674 GB, free: 30.64 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007804/16.95, allocations: 79.48 kB / 4.674 GB, free: 30.61 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003341/16.96, allocations: 2.783 MB / 4.677 GB, free: 29.73 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/16.96, allocations: 0.7777 MB / 4.678 GB, free: 29.23 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/16.96, allocations: 56.91 kB / 4.678 GB, free: 29.23 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002023/16.96, allocations: 413.5 kB / 4.678 GB, free: 28.92 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/16.96, allocations: 0.7989 MB / 4.679 GB, free: 28.91 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003519/16.97, allocations: 1.815 MB / 4.681 GB, free: 27.71 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/16.97, allocations: 1.106 MB / 4.682 GB, free: 27.61 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-05/16.97, allocations: 6.375 kB / 4.682 GB, free: 27.61 MB / 1.073 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01325/16.98, allocations: 3.495 MB / 4.685 GB, free: 27.02 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004433/16.98, allocations: 0.7458 MB / 4.686 GB, free: 26.1 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/16.98, allocations: 24.88 kB / 4.686 GB, free: 26.1 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004094/16.99, allocations: 0.5639 MB / 4.686 GB, free: 26.02 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003662/16.99, allocations: 0.5236 MB / 4.687 GB, free: 25.99 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/16.99, allocations: 2.688 MB / 4.69 GB, free: 23.87 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008519/17, allocations: 0.5593 MB / 4.69 GB, free: 23.7 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007885/17, allocations: 125.1 kB / 4.69 GB, free: 23.7 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/17, allocations: 7.547 kB / 4.69 GB, free: 23.7 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008599/17.01, allocations: 2.813 MB / 4.693 GB, free: 23.42 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-05/17.01, allocations: 21.5 kB / 4.693 GB, free: 23.42 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/17.01, allocations: 381 kB / 4.693 GB, free: 23.33 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003729/17.02, allocations: 0.5275 MB / 4.694 GB, free: 23.27 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/17.03, allocations: 7.712 MB / 4.701 GB, free: 16.54 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008134/17.04, allocations: 0.5226 MB / 4.702 GB, free: 16.35 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007322/17.04, allocations: 121.8 kB / 4.702 GB, free: 16.33 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004058/17.04, allocations: 1.002 MB / 4.703 GB, free: 15.67 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002019/17.04, allocations: 0.5052 MB / 4.704 GB, free: 15.41 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/17.06, allocations: 3.778 MB / 4.707 GB, free: 13.81 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/17.06, allocations: 41.53 kB / 4.707 GB, free: 13.8 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/17.06, allocations: 3.953 kB / 4.707 GB, free: 13.8 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008099/17.07, allocations: 2.615 MB / 4.71 GB, free: 12.67 MB / 1.073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02749/17.09, allocations: 8.546 MB / 4.718 GB, free: 8.465 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/17.09, allocations: 0 / 4.718 GB, free: 8.465 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003175/17.1, allocations: 386 kB / 4.719 GB, free: 8.434 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/17.1, allocations: 306.5 kB / 4.719 GB, free: 8.312 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005176/17.1, allocations: 68.33 kB / 4.719 GB, free: 8.277 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/17.1, allocations: 2.5 MB / 4.721 GB, free: 5.992 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/17.1, allocations: 3.609 kB / 4.721 GB, free: 5.992 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/17.11, allocations: 4.656 MB / 4.726 GB, free: 3.816 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004951/17.12, allocations: 0.9722 MB / 4.727 GB, free: 3.199 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002347/17.12, allocations: 50.48 kB / 4.727 GB, free: 3.164 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007747/17.13, allocations: 448.7 kB / 4.727 GB, free: 3.055 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006292/17.13, allocations: 150.7 kB / 4.727 GB, free: 3.035 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004456/17.13, allocations: 113.8 kB / 4.728 GB, free: 3.016 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.007936/17.14, allocations: 2.716 MB / 4.73 GB, free: 2.059 MB / 1.073 GB Notification: Performance of sort global known variables: time 9.41e-07/17.14, allocations: 0 / 4.73 GB, free: 2.059 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01939/17.16, allocations: 3.443 MB / 4.734 GB, free: 1.043 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008248/17.17, allocations: 3.242 MB / 4.737 GB, free: 14.08 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01313/17.18, allocations: 4.427 MB / 4.741 GB, free: 10.03 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/17.18, allocations: 0 / 4.741 GB, free: 10.03 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.004064/17.18, allocations: 1.336 MB / 4.742 GB, free: 8.84 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02669/17.21, allocations: 2.754 MB / 4.745 GB, free: 6.844 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03301/17.24, allocations: 11.42 MB / 4.756 GB, free: 12.94 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005482/17.25, allocations: 2.993 MB / 4.759 GB, free: 10.76 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.008946/17.26, allocations: 1.188 MB / 4.76 GB, free: 9.898 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002269/17.26, allocations: 429.7 kB / 4.761 GB, free: 9.516 MB / 1.104 GB Notification: Performance of SimCode: time 1.733e-06/17.26, allocations: 0 / 4.761 GB, free: 9.516 MB / 1.104 GB Notification: Performance of Templates: time 1.281/18.54, allocations: 116.2 MB / 4.874 GB, free: 79.66 MB / 1.104 GB