Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.496/4.496, allocations: 433.2 MB / 440.8 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.549e-05, allocations: 2.688 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2422, allocations: 98.73 MB / 0.6289 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.1/7.342, allocations: 2.247 GB / 2.876 GB, free: 91.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/7.342, allocations: 86.45 kB / 2.876 GB, free: 91.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.81/18.15, allocations: 1.959 GB / 4.835 GB, free: 59.49 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.993e-06/18.15, allocations: 4 kB / 4.835 GB, free: 59.49 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004755/18.15, allocations: 102.1 kB / 4.835 GB, free: 59.4 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.01431/18.17, allocations: 3.568 MB / 4.839 GB, free: 55.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/18.17, allocations: 12.03 kB / 4.839 GB, free: 55.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009652/18.18, allocations: 0.9315 MB / 4.84 GB, free: 54.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/18.19, allocations: 2.416 MB / 4.842 GB, free: 52.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/18.19, allocations: 172.9 kB / 4.842 GB, free: 52.22 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/18.19, allocations: 187.9 kB / 4.842 GB, free: 52.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008311/18.2, allocations: 2.475 MB / 4.845 GB, free: 49.56 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/18.21, allocations: 2.78 MB / 4.848 GB, free: 46.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/18.21, allocations: 2.516 kB / 4.848 GB, free: 46.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000528/18.21, allocations: 7.953 kB / 4.848 GB, free: 46.69 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/18.21, allocations: 109.4 kB / 4.848 GB, free: 46.58 MB / 0.8855 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.02582/18.24, allocations: 12.76 MB / 4.86 GB, free: 32.72 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003844/18.24, allocations: 1.702 MB / 4.862 GB, free: 31.02 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/18.24, allocations: 1.016 MB / 4.863 GB, free: 30.01 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/18.24, allocations: 333.2 kB / 4.863 GB, free: 29.62 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/18.24, allocations: 60.56 kB / 4.863 GB, free: 29.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=186): time 5.771e-06/18.24, allocations: 0 / 4.863 GB, free: 29.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=186): time 0.006734/18.25, allocations: 1.868 MB / 4.865 GB, free: 27.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/18.25, allocations: 69.41 kB / 4.865 GB, free: 27.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/18.25, allocations: 1.423 MB / 4.866 GB, free: 26.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007112/18.25, allocations: 29.7 kB / 4.866 GB, free: 26.12 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/18.26, allocations: 1.402 MB / 4.868 GB, free: 24.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/18.26, allocations: 0.6273 MB / 4.868 GB, free: 24.06 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/18.26, allocations: 0 / 4.868 GB, free: 24.06 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002083/18.26, allocations: 394 kB / 4.869 GB, free: 23.67 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/18.26, allocations: 0.7421 MB / 4.87 GB, free: 22.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/18.26, allocations: 1.353 MB / 4.871 GB, free: 21.31 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/18.26, allocations: 1.003 MB / 4.872 GB, free: 20.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/18.26, allocations: 8 kB / 4.872 GB, free: 20.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006605/18.27, allocations: 2.291 MB / 4.874 GB, free: 18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0012/18.27, allocations: 5.283 MB / 4.879 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.761e-05/18.27, allocations: 12 kB / 4.879 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.76e-05/18.27, allocations: 28 kB / 4.879 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005042/18.28, allocations: 0.526 MB / 4.88 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/18.28, allocations: 4.169 MB / 4.884 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006049/18.29, allocations: 326 kB / 4.884 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/18.29, allocations: 95.98 kB / 4.884 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/18.29, allocations: 4.625 kB / 4.884 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005353/18.29, allocations: 1.992 MB / 4.886 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/18.29, allocations: 16.17 kB / 4.886 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/18.29, allocations: 28 kB / 4.886 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/18.3, allocations: 475.3 kB / 4.887 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.534e-05/18.3, allocations: 31.92 kB / 4.887 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005793/18.3, allocations: 306.2 kB / 4.887 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005822/18.3, allocations: 87.98 kB / 4.887 GB, free: 3.941 MB / 0.8855 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.0007726/18.3, allocations: 164.4 kB / 4.887 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004649/18.31, allocations: 1.772 MB / 4.889 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/18.31, allocations: 257 kB / 4.889 GB, free: 1.742 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005412/18.31, allocations: 1.902 MB / 4.891 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/18.31, allocations: 20 kB / 4.891 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/18.31, allocations: 0 / 4.891 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004599/18.32, allocations: 1.74 MB / 4.893 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/18.33, allocations: 4.688 MB / 4.897 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/18.33, allocations: 4 kB / 4.897 GB, free: 9.242 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005063/18.34, allocations: 0.5109 MB / 4.898 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.315e-05/18.34, allocations: 15.66 kB / 4.898 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004227/18.34, allocations: 31.97 kB / 4.898 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/18.34, allocations: 4.13 MB / 4.902 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.791e-05/18.34, allocations: 4 kB / 4.902 GB, free: 4.398 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009405/18.35, allocations: 3.385 MB / 4.905 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003111/18.36, allocations: 0.5716 MB / 4.906 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009919/18.36, allocations: 12 kB / 4.906 GB, free: 276 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005262/18.36, allocations: 231.3 kB / 4.906 GB, free: 44 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.7647/19.13, allocations: 113.1 kB / 4.906 GB, free: 96.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004548/19.13, allocations: 73.34 kB / 4.906 GB, free: 96.65 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002834/19.13, allocations: 1.057 MB / 4.907 GB, free: 96.51 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.31e-07/19.13, allocations: 0.6562 kB / 4.907 GB, free: 96.51 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009618/19.14, allocations: 1.958 MB / 4.909 GB, free: 96.51 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.02041/19.16, allocations: 9.799 MB / 4.919 GB, free: 92.57 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01019/19.17, allocations: 3.465 MB / 4.922 GB, free: 92.13 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/19.17, allocations: 0 / 4.922 GB, free: 92.13 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00284/19.17, allocations: 0.9511 MB / 4.923 GB, free: 92.12 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/19.19, allocations: 1.438 MB / 4.924 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/19.21, allocations: 6.195 MB / 4.931 GB, free: 90.75 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/19.21, allocations: 2.264 MB / 4.933 GB, free: 89.99 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.008943/19.22, allocations: 1.236 MB / 4.934 GB, free: 89.96 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002928/19.22, allocations: 1.222 MB / 4.935 GB, free: 89.95 MB / 0.9011 GB Notification: Performance of SimCode: time 2.425e-06/19.22, allocations: 0 / 4.935 GB, free: 89.95 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2646/19.49, allocations: 106.3 MB / 5.039 GB, free: 85.45 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/19.49, allocations: 178.9 kB / 5.039 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/27.89, allocations: 0 / 5.039 GB, free: 85.25 MB / 0.9011 GB