Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadModel(Buildings): time 4.009/4.009, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.043e-05, allocations: 8 kB / 0.5325 GB, free: 1.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5066, allocations: 98.72 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.699/6.206, allocations: 2.247 GB / 2.876 GB, free: 71.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/6.206, allocations: 92.97 kB / 2.876 GB, free: 71.81 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.113/15.32, allocations: 1.959 GB / 4.835 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.12e-06/15.32, allocations: 0 / 4.835 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004614/15.32, allocations: 95.97 kB / 4.835 GB, free: 6.895 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.01215/15.33, allocations: 3.565 MB / 4.839 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/15.33, allocations: 12.03 kB / 4.839 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008619/15.34, allocations: 0.9244 MB / 4.84 GB, free: 2.312 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009148/15.35, allocations: 2.421 MB / 4.842 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/15.35, allocations: 172.9 kB / 4.842 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/15.35, allocations: 183.9 kB / 4.843 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007909/15.36, allocations: 2.479 MB / 4.845 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009668/15.37, allocations: 2.784 MB / 4.848 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-05/15.37, allocations: 3.938 kB / 4.848 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/15.37, allocations: 4 kB / 4.848 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/15.37, allocations: 105.4 kB / 4.848 GB, free: 9.988 MB / 0.9011 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.6969/16.07, allocations: 12.75 MB / 4.86 GB, free: 93.71 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003816/16.07, allocations: 1.692 MB / 4.862 GB, free: 93.67 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/16.07, allocations: 1.015 MB / 4.863 GB, free: 93.66 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005962/16.07, allocations: 330.7 kB / 4.863 GB, free: 93.37 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/16.07, allocations: 60.19 kB / 4.863 GB, free: 93.33 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=186): time 6.57e-06/16.07, allocations: 0 / 4.863 GB, free: 93.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=186): time 0.006132/16.08, allocations: 1.872 MB / 4.865 GB, free: 93.25 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/16.08, allocations: 71.83 kB / 4.865 GB, free: 93.19 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/16.08, allocations: 1.42 MB / 4.866 GB, free: 92.99 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005552/16.08, allocations: 32.44 kB / 4.867 GB, free: 92.96 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/16.09, allocations: 1.402 MB / 4.868 GB, free: 92.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009922/16.09, allocations: 0.6304 MB / 4.869 GB, free: 92.27 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/16.09, allocations: 0 / 4.869 GB, free: 92.27 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001678/16.09, allocations: 384.7 kB / 4.869 GB, free: 91.96 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/16.09, allocations: 0.7478 MB / 4.87 GB, free: 91.95 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/16.09, allocations: 1.354 MB / 4.871 GB, free: 91.27 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/16.09, allocations: 1.007 MB / 4.872 GB, free: 91.24 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/16.09, allocations: 3.344 kB / 4.872 GB, free: 91.24 MB / 0.9011 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006081/16.1, allocations: 2.288 MB / 4.874 GB, free: 91.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001107/16.1, allocations: 5.284 MB / 4.879 GB, free: 85.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/16.1, allocations: 12.69 kB / 4.879 GB, free: 85.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.388e-05/16.1, allocations: 23.22 kB / 4.879 GB, free: 85.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00335/16.1, allocations: 0.5239 MB / 4.88 GB, free: 85.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/16.11, allocations: 4.177 MB / 4.884 GB, free: 81.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004815/16.11, allocations: 324.5 kB / 4.884 GB, free: 81.26 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/16.11, allocations: 94.08 kB / 4.884 GB, free: 81.26 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/16.11, allocations: 3.812 kB / 4.884 GB, free: 81.26 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00485/16.12, allocations: 1.996 MB / 4.886 GB, free: 81.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/16.12, allocations: 16.41 kB / 4.886 GB, free: 81.21 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/16.12, allocations: 23.16 kB / 4.886 GB, free: 81.21 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/16.12, allocations: 476 kB / 4.887 GB, free: 81.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.649e-05/16.12, allocations: 33.94 kB / 4.887 GB, free: 81.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004625/16.12, allocations: 297.8 kB / 4.887 GB, free: 81.17 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005383/16.12, allocations: 90.38 kB / 4.887 GB, free: 81.17 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007299/16.12, allocations: 169.4 kB / 4.887 GB, free: 81.06 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008648/16.13, allocations: 261.3 kB / 4.888 GB, free: 80.93 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/16.13, allocations: 1.905 MB / 4.889 GB, free: 80.81 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/16.13, allocations: 16.66 kB / 4.889 GB, free: 80.81 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/16.13, allocations: 2.5 kB / 4.889 GB, free: 80.81 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003452/16.13, allocations: 1.742 MB / 4.891 GB, free: 80.51 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/16.15, allocations: 4.686 MB / 4.896 GB, free: 80.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/16.15, allocations: 2.531 kB / 4.896 GB, free: 80.03 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00317/16.15, allocations: 0.5143 MB / 4.896 GB, free: 80.03 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.051e-05/16.15, allocations: 10.75 kB / 4.896 GB, free: 80.03 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002839/16.15, allocations: 31.33 kB / 4.896 GB, free: 80.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/16.15, allocations: 4.128 MB / 4.9 GB, free: 75.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.398e-06/16.15, allocations: 6.688 kB / 4.9 GB, free: 75.94 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/16.16, allocations: 3.377 MB / 4.904 GB, free: 75.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002165/16.16, allocations: 0.564 MB / 4.904 GB, free: 74.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007537/16.16, allocations: 19.8 kB / 4.904 GB, free: 74.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003566/16.16, allocations: 228.4 kB / 4.904 GB, free: 74.96 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004386/16.16, allocations: 117.7 kB / 4.905 GB, free: 74.96 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/16.16, allocations: 74.84 kB / 4.905 GB, free: 74.96 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002305/16.17, allocations: 1.056 MB / 4.906 GB, free: 74.81 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.038e-06/16.17, allocations: 6.422 kB / 4.906 GB, free: 74.81 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007521/16.17, allocations: 1.962 MB / 4.908 GB, free: 74.67 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008675/16.18, allocations: 5.22 MB / 4.913 GB, free: 72.45 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007586/16.19, allocations: 3.462 MB / 4.916 GB, free: 72.02 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/16.19, allocations: 0 / 4.916 GB, free: 72.02 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/16.19, allocations: 0.9604 MB / 4.917 GB, free: 72.01 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009318/16.2, allocations: 1.443 MB / 4.918 GB, free: 71.97 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/16.21, allocations: 5.438 MB / 4.924 GB, free: 70.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002804/16.22, allocations: 2.263 MB / 4.926 GB, free: 69.94 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007301/16.22, allocations: 1.233 MB / 4.927 GB, free: 69.91 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000924/16.23, allocations: 175.5 kB / 4.927 GB, free: 69.9 MB / 0.9011 GB Notification: Performance of SimCode: time 2.218e-06/16.23, allocations: 3.25 kB / 4.927 GB, free: 69.9 MB / 0.9011 GB Notification: Performance of Templates: time 0.1604/16.39, allocations: 74.88 MB / 5 GB, free: 66.04 MB / 0.9011 GB