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.091/2.091, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 176 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.248/2.248, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001175/0.001175, allocations: 98.7 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005065/0.0005066, allocations: 15.27 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2154, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.025/7.24, allocations: 2.253 GB / 3.152 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/7.241, allocations: 94.95 kB / 3.152 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.34/17.58, allocations: 1.984 GB / 5.136 GB, free: 5.652 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.785e-06/17.58, allocations: 0 / 5.136 GB, free: 5.652 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004108/17.58, allocations: 107.6 kB / 5.136 GB, free: 5.551 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.0156/17.6, allocations: 3.966 MB / 5.14 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/17.6, allocations: 8.562 kB / 5.14 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/17.61, allocations: 0.9243 MB / 5.141 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/17.62, allocations: 2.889 MB / 5.143 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004587/17.62, allocations: 277.5 kB / 5.144 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/17.62, allocations: 304 kB / 5.144 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/17.63, allocations: 3.232 MB / 5.147 GB, free: 9.715 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/17.63, allocations: 11.86 kB / 5.147 GB, free: 9.703 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005242/17.63, allocations: 116 kB / 5.147 GB, free: 9.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/17.63, allocations: 109.3 kB / 5.147 GB, free: 9.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009256/17.64, allocations: 2.645 MB / 5.15 GB, free: 6.824 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.8142/18.46, allocations: 13.23 MB / 5.163 GB, free: 86.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004548/18.46, allocations: 1.77 MB / 5.165 GB, free: 86.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000771/18.46, allocations: 329.9 kB / 5.165 GB, free: 86.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.574e-05/18.46, allocations: 57.95 kB / 5.165 GB, free: 86.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=182): time 4.499e-06/18.46, allocations: 0 / 5.165 GB, free: 86.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.01012/18.47, allocations: 2.656 MB / 5.168 GB, free: 86.03 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/18.47, allocations: 71.8 kB / 5.168 GB, free: 85.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005445/18.48, allocations: 1.703 MB / 5.169 GB, free: 85.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007774/18.48, allocations: 69.33 kB / 5.169 GB, free: 85.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/18.48, allocations: 1.405 MB / 5.171 GB, free: 85.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/18.48, allocations: 0.6415 MB / 5.171 GB, free: 85.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/18.48, allocations: 42.22 kB / 5.171 GB, free: 85.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001895/18.48, allocations: 384.5 kB / 5.172 GB, free: 84.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/18.48, allocations: 0.7686 MB / 5.173 GB, free: 84.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00304/18.49, allocations: 1.425 MB / 5.174 GB, free: 83.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/18.49, allocations: 1.034 MB / 5.175 GB, free: 83.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.118e-05/18.49, allocations: 3.188 kB / 5.175 GB, free: 83.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007456/18.5, allocations: 2.43 MB / 5.177 GB, free: 83.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001242/18.5, allocations: 5.508 MB / 5.183 GB, free: 77.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.992e-05/18.5, allocations: 14.25 kB / 5.183 GB, free: 77.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-05/18.5, allocations: 24.56 kB / 5.183 GB, free: 77.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00488/18.5, allocations: 0.5125 MB / 5.183 GB, free: 77.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/18.51, allocations: 4.159 MB / 5.187 GB, free: 73.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006038/18.51, allocations: 374 kB / 5.188 GB, free: 73.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005537/18.51, allocations: 88.14 kB / 5.188 GB, free: 73.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/18.51, allocations: 5.25 kB / 5.188 GB, free: 73.73 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005517/18.52, allocations: 2.173 MB / 5.19 GB, free: 73.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/18.52, allocations: 16.34 kB / 5.19 GB, free: 73.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/18.52, allocations: 23.75 kB / 5.19 GB, free: 73.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/18.52, allocations: 473.6 kB / 5.19 GB, free: 73.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.465e-05/18.52, allocations: 35.17 kB / 5.19 GB, free: 73.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005665/18.53, allocations: 350.6 kB / 5.191 GB, free: 73.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/18.53, allocations: 87.67 kB / 5.191 GB, free: 73.64 MB / 0.948 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 () * Number of clocked 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.002786/18.53, allocations: 0.8743 MB / 5.192 GB, free: 73.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009692/18.53, allocations: 270.1 kB / 5.192 GB, free: 73.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00533/18.54, allocations: 2.056 MB / 5.194 GB, free: 73.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/18.54, allocations: 20.09 kB / 5.194 GB, free: 73.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/18.54, allocations: 0 / 5.194 GB, free: 73.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003983/18.54, allocations: 1.838 MB / 5.196 GB, free: 72.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/18.56, allocations: 5.127 MB / 5.201 GB, free: 72.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/18.56, allocations: 2.844 kB / 5.201 GB, free: 72.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004469/18.56, allocations: 0.507 MB / 5.201 GB, free: 72.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-05/18.56, allocations: 10.62 kB / 5.201 GB, free: 72.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002688/18.56, allocations: 53.95 kB / 5.201 GB, free: 72.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/18.56, allocations: 4.12 MB / 5.205 GB, free: 68.28 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/18.56, allocations: 3.25 kB / 5.205 GB, free: 68.28 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007714/18.57, allocations: 3.521 MB / 5.209 GB, free: 67.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/18.57, allocations: 0.5875 MB / 5.209 GB, free: 67.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000822/18.57, allocations: 48.16 kB / 5.209 GB, free: 67.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00492/18.58, allocations: 259.6 kB / 5.21 GB, free: 67.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004634/18.58, allocations: 115.6 kB / 5.21 GB, free: 67.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002596/18.58, allocations: 71.09 kB / 5.21 GB, free: 67.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00292/18.58, allocations: 1.307 MB / 5.211 GB, free: 67.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/18.58, allocations: 0 / 5.211 GB, free: 67.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008899/18.59, allocations: 2.156 MB / 5.213 GB, free: 67.01 MB / 0.948 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 () * Number of clocked 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.008992/18.6, allocations: 4.774 MB / 5.218 GB, free: 64.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009266/18.61, allocations: 3.17 MB / 5.221 GB, free: 64.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/18.61, allocations: 0 / 5.221 GB, free: 64.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002917/18.61, allocations: 0.9989 MB / 5.222 GB, free: 64.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01391/18.63, allocations: 1.572 MB / 5.223 GB, free: 64.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/18.64, allocations: 7.848 MB / 5.231 GB, free: 61.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003332/18.65, allocations: 2.263 MB / 5.233 GB, free: 60.81 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006865/18.65, allocations: 1.084 MB / 5.234 GB, free: 60.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/18.66, allocations: 212.1 kB / 5.235 GB, free: 60.78 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/18.66, allocations: 2.594 kB / 5.235 GB, free: 60.78 MB / 0.948 GB Notification: Performance of Templates: time 0.2211/18.88, allocations: 98.19 MB / 5.33 GB, free: 56.18 MB / 0.948 GB