Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.217/2.217, allocations: 252.6 MB / 265.2 MB, free: 5.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 179.9 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5753 GB, free: 10.51 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001191, allocations: 94.62 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.529e-05, allocations: 4 kB / 0.7911 GB, free: 96.64 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2081, allocations: 106.2 MB / 0.8949 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.162/7.37, allocations: 2.253 GB / 3.148 GB, free: 76.93 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/7.37, allocations: 87.39 kB / 3.148 GB, free: 76.89 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.14/18.52, allocations: 1.982 GB / 5.13 GB, free: 74.37 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.427e-06/18.52, allocations: 2.188 kB / 5.13 GB, free: 74.37 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004753/18.52, allocations: 100.4 kB / 5.13 GB, free: 74.36 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: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.01394/18.53, allocations: 3.482 MB / 5.133 GB, free: 72.79 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/18.53, allocations: 11.78 kB / 5.133 GB, free: 72.79 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009793/18.54, allocations: 0.9228 MB / 5.134 GB, free: 72.59 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/18.55, allocations: 2.867 MB / 5.137 GB, free: 72 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004214/18.55, allocations: 286.6 kB / 5.137 GB, free: 71.93 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/18.55, allocations: 298.4 kB / 5.138 GB, free: 71.92 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/18.56, allocations: 3.169 MB / 5.141 GB, free: 71.66 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/18.56, allocations: 5.688 kB / 5.141 GB, free: 71.66 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005222/18.56, allocations: 114.2 kB / 5.141 GB, free: 71.66 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002555/18.57, allocations: 99.45 kB / 5.141 GB, free: 71.66 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/18.58, allocations: 2.59 MB / 5.143 GB, free: 71.62 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.02765/18.61, allocations: 13.23 MB / 5.156 GB, free: 64.28 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/18.61, allocations: 1.728 MB / 5.158 GB, free: 64.22 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002556/18.61, allocations: 1.045 MB / 5.159 GB, free: 64.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007689/18.61, allocations: 329.7 kB / 5.159 GB, free: 63.91 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.482e-05/18.61, allocations: 60.67 kB / 5.159 GB, free: 63.88 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=182): time 6.282e-06/18.61, allocations: 0 / 5.159 GB, free: 63.88 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.006617/18.62, allocations: 1.92 MB / 5.161 GB, free: 63.66 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/18.62, allocations: 75.7 kB / 5.161 GB, free: 63.59 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004214/18.62, allocations: 1.687 MB / 5.163 GB, free: 63.37 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007151/18.63, allocations: 71.3 kB / 5.163 GB, free: 63.34 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/18.63, allocations: 1.4 MB / 5.164 GB, free: 62.79 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/18.63, allocations: 0.6414 MB / 5.165 GB, free: 62.38 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/18.63, allocations: 39.88 kB / 5.165 GB, free: 62.38 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001962/18.63, allocations: 388.1 kB / 5.165 GB, free: 62.08 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/18.63, allocations: 0.7403 MB / 5.166 GB, free: 62.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00291/18.63, allocations: 1.399 MB / 5.168 GB, free: 61.32 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/18.64, allocations: 1.023 MB / 5.169 GB, free: 61.27 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/18.64, allocations: 2.219 kB / 5.169 GB, free: 61.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007418/18.64, allocations: 2.383 MB / 5.171 GB, free: 60.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001325/18.65, allocations: 5.509 MB / 5.176 GB, free: 55.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.615e-05/18.65, allocations: 15.16 kB / 5.176 GB, free: 55.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.911e-05/18.65, allocations: 24.81 kB / 5.176 GB, free: 55.14 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004867/18.65, allocations: 0.5086 MB / 5.177 GB, free: 55.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/18.65, allocations: 4.161 MB / 5.181 GB, free: 50.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006362/18.66, allocations: 383.7 kB / 5.181 GB, free: 50.88 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006181/18.66, allocations: 92.53 kB / 5.181 GB, free: 50.88 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/18.66, allocations: 3 kB / 5.181 GB, free: 50.88 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005713/18.67, allocations: 2.123 MB / 5.183 GB, free: 50.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/18.67, allocations: 10.03 kB / 5.183 GB, free: 50.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/18.67, allocations: 26.19 kB / 5.183 GB, free: 50.75 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/18.67, allocations: 473.7 kB / 5.184 GB, free: 50.72 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.957e-05/18.67, allocations: 27.7 kB / 5.184 GB, free: 50.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/18.68, allocations: 355.9 kB / 5.184 GB, free: 50.63 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005857/18.68, allocations: 90.98 kB / 5.184 GB, free: 50.63 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * 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 prepare postOptimizeDAE: time 0.0008259/18.68, allocations: 247.2 kB / 5.185 GB, free: 50.48 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/18.68, allocations: 271.2 kB / 5.185 GB, free: 50.35 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/18.68, allocations: 2.012 MB / 5.187 GB, free: 50.22 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/18.68, allocations: 18.97 kB / 5.187 GB, free: 50.22 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/18.68, allocations: 0 / 5.187 GB, free: 50.22 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003873/18.69, allocations: 1.801 MB / 5.189 GB, free: 49.91 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/18.7, allocations: 5.082 MB / 5.194 GB, free: 49.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/18.7, allocations: 9.797 kB / 5.194 GB, free: 49.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005165/18.71, allocations: 0.5048 MB / 5.194 GB, free: 49.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.364e-05/18.71, allocations: 8.812 kB / 5.194 GB, free: 49.34 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005145/18.71, allocations: 54.41 kB / 5.194 GB, free: 49.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/18.71, allocations: 4.122 MB / 5.198 GB, free: 45.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/18.71, allocations: 2.688 kB / 5.198 GB, free: 45.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008837/18.72, allocations: 3.461 MB / 5.201 GB, free: 43.69 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/18.72, allocations: 0.5833 MB / 5.202 GB, free: 43.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008664/18.72, allocations: 43.47 kB / 5.202 GB, free: 43.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005186/18.73, allocations: 263.9 kB / 5.202 GB, free: 43.25 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004828/18.73, allocations: 113.7 kB / 5.202 GB, free: 43.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002811/18.73, allocations: 77.39 kB / 5.203 GB, free: 43.21 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003617/18.73, allocations: 1.286 MB / 5.204 GB, free: 42.71 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.41e-07/18.73, allocations: 0 / 5.204 GB, free: 42.71 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01162/18.74, allocations: 2.158 MB / 5.206 GB, free: 42.14 MB / 0.9323 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 (182): * Single equations (assignments): 175 * 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.01129/18.76, allocations: 4.78 MB / 5.211 GB, free: 39.74 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01199/18.77, allocations: 3.187 MB / 5.214 GB, free: 38.64 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/18.77, allocations: 3.906 kB / 5.214 GB, free: 38.64 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0035/18.77, allocations: 0.9754 MB / 5.215 GB, free: 38.31 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01824/18.79, allocations: 1.575 MB / 5.216 GB, free: 37.78 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/18.81, allocations: 5.546 MB / 5.222 GB, free: 32.84 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003608/18.81, allocations: 2.26 MB / 5.224 GB, free: 31.09 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.008708/18.82, allocations: 1.327 MB / 5.225 GB, free: 30.21 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008165/18.82, allocations: 174.9 kB / 5.225 GB, free: 30.05 MB / 0.9323 GB Notification: Performance of SimCode: time 1.272e-06/18.82, allocations: 0 / 5.225 GB, free: 30.05 MB / 0.9323 GB Notification: Performance of Templates: time 1.059/19.88, allocations: 112.8 MB / 5.335 GB, free: 117.5 MB / 0.9636 GB