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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.437/4.437, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.774e-05, allocations: 4 kB / 0.5325 GB, free: 1.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5787/0.5788, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.642, allocations: 393.6 MB / 1.013 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.642, allocations: 89.58 kB / 1.013 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 12.37/14.01, allocations: 2.623 GB / 3.636 GB, free: 40.06 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.377e-06/14.01, allocations: 1.422 kB / 3.636 GB, free: 40.06 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001021/14.01, allocations: 173.2 kB / 3.636 GB, free: 40.03 MB / 0.9323 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.0162/14.03, allocations: 5.895 MB / 3.642 GB, free: 36.97 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/14.03, allocations: 9.594 kB / 3.642 GB, free: 36.97 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004442/14.03, allocations: 0.7727 MB / 3.643 GB, free: 36.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1609/14.19, allocations: 57.11 MB / 3.698 GB, free: 29.39 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/14.19, allocations: 131.7 kB / 3.699 GB, free: 29.39 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/14.2, allocations: 252.7 kB / 3.699 GB, free: 29.39 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008446/14.2, allocations: 2.533 MB / 3.701 GB, free: 28.34 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/14.21, allocations: 3.537 MB / 3.705 GB, free: 26.54 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/14.22, allocations: 10.62 kB / 3.705 GB, free: 26.54 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004501/14.22, allocations: 13.44 kB / 3.705 GB, free: 26.53 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/14.22, allocations: 124.7 kB / 3.705 GB, free: 26.52 MB / 0.9323 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.0319/14.25, allocations: 23.42 MB / 3.728 GB, free: 3.66 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/14.25, allocations: 2.848 MB / 3.731 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/14.25, allocations: 0.9742 MB / 3.731 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004037/14.26, allocations: 3.773 MB / 3.735 GB, free: 11.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.208e-05/14.26, allocations: 56.56 kB / 3.735 GB, free: 10.97 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 6.322e-06/14.26, allocations: 4 kB / 3.735 GB, free: 10.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=222): time 0.01139/14.27, allocations: 2.857 MB / 3.738 GB, free: 8.086 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/14.27, allocations: 82.81 kB / 3.738 GB, free: 7.996 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008566/14.28, allocations: 3.299 MB / 3.741 GB, free: 4.727 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004793/14.28, allocations: 33.7 kB / 3.741 GB, free: 4.688 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003595/14.28, allocations: 2.817 MB / 3.744 GB, free: 1.836 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/14.28, allocations: 0.739 MB / 3.745 GB, free: 1.086 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/14.28, allocations: 0 / 3.745 GB, free: 1.086 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003056/14.28, allocations: 407.4 kB / 3.745 GB, free: 0.6836 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/14.29, allocations: 0.7277 MB / 3.746 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/14.29, allocations: 1.699 MB / 3.748 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005777/14.29, allocations: 1.372 MB / 3.749 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/14.29, allocations: 4 kB / 3.749 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01315/14.31, allocations: 3.479 MB / 3.752 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.005365/14.31, allocations: 10.35 MB / 3.762 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.712e-05/14.31, allocations: 23.94 kB / 3.762 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/14.31, allocations: 339.3 kB / 3.763 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/14.32, allocations: 0.5304 MB / 3.763 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/14.32, allocations: 2.751 MB / 3.766 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006627/14.33, allocations: 0.5049 MB / 3.766 GB, free: 9.605 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006728/14.33, allocations: 128 kB / 3.767 GB, free: 9.48 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/14.33, allocations: 4 kB / 3.767 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01015/14.34, allocations: 2.748 MB / 3.769 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-05/14.34, allocations: 20 kB / 3.769 GB, free: 6.695 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/14.34, allocations: 364.2 kB / 3.77 GB, free: 6.328 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/14.34, allocations: 0.5267 MB / 3.77 GB, free: 5.801 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7364/15.08, allocations: 7.381 MB / 3.777 GB, free: 82.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008288/15.09, allocations: 470.3 kB / 3.778 GB, free: 82.78 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008895/15.09, allocations: 125.4 kB / 3.778 GB, free: 82.78 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.0009879/15.09, allocations: 184.5 kB / 3.778 GB, free: 82.67 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002398/15.09, allocations: 0.4975 MB / 3.779 GB, free: 82.67 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02229/15.11, allocations: 3.719 MB / 3.782 GB, free: 82.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001528/15.11, allocations: 38.72 kB / 3.782 GB, free: 82.45 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/15.11, allocations: 0 / 3.782 GB, free: 82.45 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01705/15.13, allocations: 2.601 MB / 3.785 GB, free: 82.26 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.02964/15.16, allocations: 7.918 MB / 3.793 GB, free: 80.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/15.16, allocations: 0.8125 kB / 3.793 GB, free: 80.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/15.16, allocations: 378.5 kB / 3.793 GB, free: 80.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007278/15.16, allocations: 231.8 kB / 3.793 GB, free: 80.93 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/15.16, allocations: 31.91 kB / 3.793 GB, free: 80.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/15.17, allocations: 2.505 MB / 3.796 GB, free: 78.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.154e-06/15.17, allocations: 2.312 kB / 3.796 GB, free: 78.86 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/15.18, allocations: 4.574 MB / 3.8 GB, free: 78.24 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003703/15.18, allocations: 0.9259 MB / 3.801 GB, free: 77.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/15.18, allocations: 6.469 kB / 3.801 GB, free: 77.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005632/15.19, allocations: 387.1 kB / 3.801 GB, free: 77.86 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005395/15.19, allocations: 149 kB / 3.801 GB, free: 77.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/15.19, allocations: 80.52 kB / 3.802 GB, free: 77.86 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006558/15.2, allocations: 2.444 MB / 3.804 GB, free: 77.68 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.67e-07/15.2, allocations: 3.469 kB / 3.804 GB, free: 77.68 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01735/15.21, allocations: 3.442 MB / 3.807 GB, free: 77.49 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.007177/15.22, allocations: 3.429 MB / 3.811 GB, free: 76.27 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.008545/15.23, allocations: 4.219 MB / 3.815 GB, free: 75.74 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/15.23, allocations: 2.844 kB / 3.815 GB, free: 75.74 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/15.23, allocations: 1.212 MB / 3.816 GB, free: 75.73 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01569/15.25, allocations: 2.638 MB / 3.819 GB, free: 75.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/15.27, allocations: 7.129 MB / 3.825 GB, free: 73.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/15.27, allocations: 2.988 MB / 3.828 GB, free: 73 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.009941/15.28, allocations: 1.449 MB / 3.83 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009918/15.29, allocations: 326.1 kB / 3.83 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of SimCode: time 1.797e-06/15.29, allocations: 0 / 3.83 GB, free: 72.94 MB / 0.9792 GB Notification: Performance of Templates: time 0.2593/15.55, allocations: 113.2 MB / 3.941 GB, free: 64.82 MB / 0.9792 GB