Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadModel(Buildings): time 3.872/3.872, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.952e-05, allocations: 4.703 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1905, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.241, allocations: 394.2 MB / 1.02 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.242, allocations: 91.08 kB / 1.02 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 12.84/14.08, allocations: 2.634 GB / 3.654 GB, free: 45.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.207e-06/14.08, allocations: 0 / 3.654 GB, free: 45.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009919/14.09, allocations: 173.7 kB / 3.654 GB, free: 45.86 MB / 0.948 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.0166/14.1, allocations: 5.889 MB / 3.66 GB, free: 42.81 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/14.1, allocations: 11.56 kB / 3.66 GB, free: 42.81 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004177/14.11, allocations: 0.7735 MB / 3.661 GB, free: 42.44 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1726/14.28, allocations: 57.27 MB / 3.717 GB, free: 37.85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000434/14.28, allocations: 316 kB / 3.717 GB, free: 37.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/14.28, allocations: 433.4 kB / 3.718 GB, free: 37.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/14.29, allocations: 4.119 MB / 3.722 GB, free: 36.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/14.29, allocations: 11.44 kB / 3.722 GB, free: 36.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001227/14.3, allocations: 172.7 kB / 3.722 GB, free: 36.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/14.3, allocations: 121 kB / 3.722 GB, free: 36.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009137/14.3, allocations: 2.78 MB / 3.725 GB, free: 35.59 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.03718/14.34, allocations: 23.96 MB / 3.748 GB, free: 16.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/14.35, allocations: 2.891 MB / 3.751 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/14.35, allocations: 1.035 MB / 3.752 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002769/14.35, allocations: 3.934 MB / 3.756 GB, free: 9.848 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.276e-05/14.35, allocations: 68.5 kB / 3.756 GB, free: 9.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=223): time 6.369e-06/14.35, allocations: 0 / 3.756 GB, free: 9.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=223): time 0.007135/14.36, allocations: 2.55 MB / 3.758 GB, free: 7.383 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/14.36, allocations: 77.36 kB / 3.758 GB, free: 7.297 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008578/14.37, allocations: 3.596 MB / 3.762 GB, free: 4.051 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005195/14.37, allocations: 81.7 kB / 3.762 GB, free: 3.965 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002586/14.37, allocations: 2.821 MB / 3.765 GB, free: 1.398 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/14.37, allocations: 0.7738 MB / 3.765 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/14.37, allocations: 48 kB / 3.765 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001747/14.37, allocations: 413 kB / 3.766 GB, free: 264 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/14.37, allocations: 0.7607 MB / 3.767 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003279/14.38, allocations: 1.768 MB / 3.768 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002812/14.38, allocations: 1.07 MB / 3.769 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-05/14.38, allocations: 8 kB / 3.769 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009695/14.39, allocations: 3.287 MB / 3.773 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.005311/14.4, allocations: 10.39 MB / 3.783 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-05/14.4, allocations: 20 kB / 3.783 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/14.4, allocations: 399.7 kB / 3.783 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/14.4, allocations: 0.5299 MB / 3.784 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/14.4, allocations: 2.686 MB / 3.786 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006811/14.41, allocations: 0.5546 MB / 3.787 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006718/14.41, allocations: 138.5 kB / 3.787 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/14.41, allocations: 5.25 kB / 3.787 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007635/14.42, allocations: 2.731 MB / 3.79 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/14.42, allocations: 24.44 kB / 3.79 GB, free: 7.684 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/14.42, allocations: 370.9 kB / 3.79 GB, free: 7.371 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/14.42, allocations: 0.5272 MB / 3.79 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.747/15.17, allocations: 7.687 MB / 3.798 GB, free: 75.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006565/15.18, allocations: 0.5222 MB / 3.798 GB, free: 75.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007378/15.18, allocations: 126.3 kB / 3.799 GB, free: 75.52 MB / 0.9792 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 () * 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.000917/15.18, allocations: 277.7 kB / 3.799 GB, free: 75.41 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001679/15.18, allocations: 0.5081 MB / 3.799 GB, free: 75.41 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/15.19, allocations: 3.786 MB / 3.803 GB, free: 75.18 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-05/15.19, allocations: 40.45 kB / 3.803 GB, free: 75.18 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.126e-06/15.19, allocations: 0 / 3.803 GB, free: 75.18 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006926/15.2, allocations: 2.503 MB / 3.806 GB, free: 74.98 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.02253/15.22, allocations: 8.348 MB / 3.814 GB, free: 73.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/15.22, allocations: 2.25 kB / 3.814 GB, free: 73.62 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/15.22, allocations: 380.4 kB / 3.814 GB, free: 73.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/15.22, allocations: 303.8 kB / 3.814 GB, free: 73.59 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003472/15.22, allocations: 64.34 kB / 3.814 GB, free: 73.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/15.23, allocations: 2.484 MB / 3.817 GB, free: 71.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.103e-06/15.23, allocations: 2.672 kB / 3.817 GB, free: 71.52 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/15.24, allocations: 4.519 MB / 3.821 GB, free: 70.89 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003661/15.24, allocations: 0.9384 MB / 3.822 GB, free: 70.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001688/15.24, allocations: 48.66 kB / 3.822 GB, free: 70.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005818/15.25, allocations: 440.4 kB / 3.823 GB, free: 70.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005685/15.25, allocations: 154.3 kB / 3.823 GB, free: 70.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003105/15.25, allocations: 84.47 kB / 3.823 GB, free: 70.5 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.007681/15.26, allocations: 2.746 MB / 3.826 GB, free: 70.29 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.396e-06/15.26, allocations: 0 / 3.826 GB, free: 70.29 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0177/15.27, allocations: 3.589 MB / 3.829 GB, free: 70.11 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 33 * 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.007525/15.28, allocations: 3.416 MB / 3.832 GB, free: 68.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009865/15.29, allocations: 4.479 MB / 3.837 GB, free: 68.33 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/15.29, allocations: 6.438 kB / 3.837 GB, free: 68.33 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00294/15.29, allocations: 1.26 MB / 3.838 GB, free: 68.32 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01697/15.31, allocations: 2.738 MB / 3.841 GB, free: 68.28 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/15.33, allocations: 7.253 MB / 3.848 GB, free: 66.38 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004184/15.33, allocations: 2.996 MB / 3.851 GB, free: 65.58 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01102/15.35, allocations: 1.477 MB / 3.852 GB, free: 65.53 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/15.35, allocations: 320 kB / 3.852 GB, free: 65.53 MB / 0.9792 GB Notification: Performance of SimCode: time 1.956e-06/15.35, allocations: 0 / 3.852 GB, free: 65.53 MB / 0.9792 GB Notification: Performance of Templates: time 0.3057/15.65, allocations: 131.1 MB / 3.98 GB, free: 56.52 MB / 0.9792 GB