Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadModel(Buildings): time 3.892/3.892, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.095e-05, allocations: 4 kB / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5246, allocations: 98.7 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.379/5.904, allocations: 2.196 GB / 2.824 GB, free: 115.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/5.904, allocations: 90.58 kB / 2.825 GB, free: 115.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.03/9.934, allocations: 0.8791 GB / 3.704 GB, free: 129.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.476e-06/9.935, allocations: 0 / 3.704 GB, free: 129.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000131/9.935, allocations: 43.58 kB / 3.704 GB, free: 129.5 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003641/9.938, allocations: 1.53 MB / 3.705 GB, free: 128.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/9.938, allocations: 7.031 kB / 3.705 GB, free: 128.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/9.942, allocations: 417.8 kB / 3.706 GB, free: 128.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/9.945, allocations: 1.077 MB / 3.707 GB, free: 128.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/9.945, allocations: 30.58 kB / 3.707 GB, free: 128.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/9.946, allocations: 52.34 kB / 3.707 GB, free: 128.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001654/9.947, allocations: 0.6921 MB / 3.707 GB, free: 128.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/9.949, allocations: 0.6918 MB / 3.708 GB, free: 128.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/9.949, allocations: 0 / 3.708 GB, free: 128.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/9.949, allocations: 0 / 3.708 GB, free: 128.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/9.949, allocations: 28.38 kB / 3.708 GB, free: 128.3 MB / 0.823 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.006139/9.955, allocations: 3.5 MB / 3.711 GB, free: 126.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/9.957, allocations: 1.067 MB / 3.712 GB, free: 126.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/9.957, allocations: 325.2 kB / 3.713 GB, free: 126.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/9.958, allocations: 406.5 kB / 3.713 GB, free: 125.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/9.958, allocations: 39.72 kB / 3.713 GB, free: 125.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 4.01e-06/9.958, allocations: 2.688 kB / 3.713 GB, free: 125.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.002332/9.961, allocations: 0.7097 MB / 3.714 GB, free: 125.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/9.961, allocations: 63.34 kB / 3.714 GB, free: 125.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/9.962, allocations: 0.5961 MB / 3.715 GB, free: 125.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/9.962, allocations: 29.27 kB / 3.715 GB, free: 125.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/9.962, allocations: 491.7 kB / 3.715 GB, free: 125.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/9.962, allocations: 210 kB / 3.715 GB, free: 125.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/9.962, allocations: 0 / 3.715 GB, free: 125.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/9.962, allocations: 327.9 kB / 3.716 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/9.963, allocations: 212.8 kB / 3.716 GB, free: 124.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/9.963, allocations: 359.1 kB / 3.716 GB, free: 124.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/9.964, allocations: 348.7 kB / 3.716 GB, free: 124.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.842e-06/9.964, allocations: 1.094 kB / 3.716 GB, free: 124.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001886/9.966, allocations: 0.7126 MB / 3.717 GB, free: 124.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/9.966, allocations: 455.6 kB / 3.718 GB, free: 124.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.376e-06/9.967, allocations: 0 / 3.718 GB, free: 124.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/9.967, allocations: 3.094 kB / 3.718 GB, free: 124.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/9.967, allocations: 139.6 kB / 3.718 GB, free: 124.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/9.967, allocations: 10.41 kB / 3.718 GB, free: 124.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/9.969, allocations: 111 kB / 3.718 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/9.969, allocations: 25.58 kB / 3.718 GB, free: 124.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/9.969, allocations: 3.719 kB / 3.718 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001619/9.971, allocations: 0.5822 MB / 3.718 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.637e-06/9.971, allocations: 3.531 kB / 3.718 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.935e-06/9.971, allocations: 5.5 kB / 3.718 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/9.972, allocations: 133.3 kB / 3.719 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.571e-06/9.972, allocations: 5.781 kB / 3.719 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/9.973, allocations: 111.4 kB / 3.719 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/9.973, allocations: 25.27 kB / 3.719 GB, free: 124.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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 0.0002087/9.973, allocations: 110 kB / 3.719 GB, free: 124 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/9.973, allocations: 98.94 kB / 3.719 GB, free: 123.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/9.975, allocations: 0.7333 MB / 3.72 GB, free: 123.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/9.975, allocations: 7.188 kB / 3.72 GB, free: 123.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.32e-06/9.975, allocations: 7.188 kB / 3.72 GB, free: 123.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/9.977, allocations: 0.9116 MB / 3.721 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/9.982, allocations: 2.082 MB / 3.723 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/9.982, allocations: 7.188 kB / 3.723 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009948/9.983, allocations: 150.8 kB / 3.723 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/9.983, allocations: 6.406 kB / 3.723 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/9.983, allocations: 14.64 kB / 3.723 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.951e-06/9.983, allocations: 10.75 kB / 3.723 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.418e-06/9.983, allocations: 3.906 kB / 3.723 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/9.985, allocations: 1.327 MB / 3.724 GB, free: 122.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/9.986, allocations: 258.3 kB / 3.724 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/9.986, allocations: 3.781 kB / 3.724 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/9.987, allocations: 119.7 kB / 3.724 GB, free: 122.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/9.988, allocations: 58.98 kB / 3.724 GB, free: 122.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.097e-05/9.988, allocations: 26.08 kB / 3.724 GB, free: 122.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008059/9.988, allocations: 475.7 kB / 3.725 GB, free: 122.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.27e-07/9.988, allocations: 0 / 3.725 GB, free: 122.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002446/9.991, allocations: 0.6821 MB / 3.726 GB, free: 122 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.003792/9.995, allocations: 2.582 MB / 3.728 GB, free: 121.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001741/9.997, allocations: 0.8588 MB / 3.729 GB, free: 121.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.256e-06/9.997, allocations: 3.438 kB / 3.729 GB, free: 121.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/9.997, allocations: 297.7 kB / 3.729 GB, free: 121 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/10, allocations: 0.6205 MB / 3.73 GB, free: 121 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/10, allocations: 1.7 MB / 3.732 GB, free: 120.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/10, allocations: 1.148 MB / 3.733 GB, free: 119.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002161/10.01, allocations: 337.4 kB / 3.733 GB, free: 119.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/10.01, allocations: 71.45 kB / 3.733 GB, free: 119.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.959e-06/10.01, allocations: 0 / 3.733 GB, free: 119.7 MB / 0.823 GB Notification: Performance of Templates: time 0.06652/10.07, allocations: 32.3 MB / 3.765 GB, free: 104.5 MB / 0.823 GB