Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.473/2.473, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001435, allocations: 173 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.2 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 89.16 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.903e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7878/0.7878, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.665/7.452, allocations: 2.134 GB / 3.098 GB, free: 289.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/7.453, allocations: 82.91 kB / 3.098 GB, free: 289.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.66/18.12, allocations: 2.014 GB / 5.112 GB, free: 81.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.385e-06/18.12, allocations: 0 / 5.112 GB, free: 81.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004903/18.12, allocations: 95.92 kB / 5.112 GB, free: 81.35 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01402/18.13, allocations: 3.468 MB / 5.115 GB, free: 79.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/18.13, allocations: 13.53 kB / 5.115 GB, free: 79.93 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009405/18.14, allocations: 0.9177 MB / 5.116 GB, free: 79.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/18.15, allocations: 2.844 MB / 5.119 GB, free: 79.15 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/18.15, allocations: 170.5 kB / 5.119 GB, free: 79.08 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001291/18.15, allocations: 173.2 kB / 5.119 GB, free: 79.08 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008398/18.16, allocations: 2.434 MB / 5.122 GB, free: 79.07 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/18.18, allocations: 2.741 MB / 5.124 GB, free: 78.82 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/18.18, allocations: 6.875 kB / 5.124 GB, free: 78.82 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006846/18.18, allocations: 2.688 kB / 5.124 GB, free: 78.82 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/18.18, allocations: 102.2 kB / 5.124 GB, free: 78.81 MB / 0.9948 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.03303/18.21, allocations: 12.67 MB / 5.137 GB, free: 71.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005356/18.22, allocations: 1.694 MB / 5.138 GB, free: 71.66 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/18.22, allocations: 0.9991 MB / 5.139 GB, free: 71.64 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000946/18.22, allocations: 334.6 kB / 5.14 GB, free: 71.36 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.948e-05/18.22, allocations: 60.86 kB / 5.14 GB, free: 71.32 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=182): time 7.564e-06/18.22, allocations: 0 / 5.14 GB, free: 71.32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.008969/18.23, allocations: 1.849 MB / 5.142 GB, free: 71.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/18.23, allocations: 75.66 kB / 5.142 GB, free: 71.04 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004222/18.23, allocations: 1.414 MB / 5.143 GB, free: 70.83 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006914/18.23, allocations: 31.39 kB / 5.143 GB, free: 70.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001661/18.24, allocations: 1.396 MB / 5.144 GB, free: 70.23 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/18.24, allocations: 0.6205 MB / 5.145 GB, free: 69.82 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/18.24, allocations: 0 / 5.145 GB, free: 69.82 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002161/18.24, allocations: 391.7 kB / 5.145 GB, free: 69.51 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/18.24, allocations: 0.7218 MB / 5.146 GB, free: 69.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/18.24, allocations: 1.385 MB / 5.147 GB, free: 68.72 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/18.25, allocations: 0.9911 MB / 5.148 GB, free: 68.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-05/18.25, allocations: 7.25 kB / 5.148 GB, free: 68.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007018/18.25, allocations: 2.221 MB / 5.151 GB, free: 68.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001245/18.26, allocations: 5.466 MB / 5.156 GB, free: 62.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.598e-05/18.26, allocations: 13.59 kB / 5.156 GB, free: 62.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-05/18.26, allocations: 34.41 kB / 5.156 GB, free: 62.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004978/18.26, allocations: 0.5161 MB / 5.156 GB, free: 62.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/18.26, allocations: 4.18 MB / 5.161 GB, free: 58.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005845/18.27, allocations: 302.5 kB / 5.161 GB, free: 58.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006752/18.27, allocations: 98.19 kB / 5.161 GB, free: 58.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/18.27, allocations: 3.906 kB / 5.161 GB, free: 58.41 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005205/18.27, allocations: 1.912 MB / 5.163 GB, free: 58.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/18.27, allocations: 14.38 kB / 5.163 GB, free: 58.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/18.27, allocations: 28 kB / 5.163 GB, free: 58.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003667/18.28, allocations: 470 kB / 5.163 GB, free: 58.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.976e-05/18.28, allocations: 39.92 kB / 5.163 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005582/18.28, allocations: 293.4 kB / 5.164 GB, free: 58.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005523/18.28, allocations: 87.84 kB / 5.164 GB, free: 58.18 MB / 0.9948 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.0007819/18.29, allocations: 157.8 kB / 5.164 GB, free: 58.04 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/18.29, allocations: 255.2 kB / 5.164 GB, free: 57.91 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/18.29, allocations: 1.891 MB / 5.166 GB, free: 57.78 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/18.29, allocations: 17.41 kB / 5.166 GB, free: 57.78 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/18.29, allocations: 7.328 kB / 5.166 GB, free: 57.78 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003686/18.3, allocations: 1.718 MB / 5.168 GB, free: 57.48 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/18.31, allocations: 4.638 MB / 5.172 GB, free: 56.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/18.31, allocations: 5.938 kB / 5.172 GB, free: 56.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004821/18.31, allocations: 0.509 MB / 5.173 GB, free: 56.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.043e-05/18.31, allocations: 12.28 kB / 5.173 GB, free: 56.93 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002754/18.31, allocations: 33.02 kB / 5.173 GB, free: 56.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/18.32, allocations: 4.13 MB / 5.177 GB, free: 52.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/18.32, allocations: 7.719 kB / 5.177 GB, free: 52.83 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007031/18.32, allocations: 3.341 MB / 5.18 GB, free: 52.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/18.33, allocations: 0.5472 MB / 5.181 GB, free: 51.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008119/18.33, allocations: 19.86 kB / 5.181 GB, free: 51.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005865/18.33, allocations: 216.9 kB / 5.181 GB, free: 51.81 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/18.33, allocations: 118.5 kB / 5.181 GB, free: 51.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002446/18.33, allocations: 71.16 kB / 5.181 GB, free: 51.81 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002241/18.34, allocations: 1.05 MB / 5.182 GB, free: 51.66 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.42e-07/18.34, allocations: 0 / 5.182 GB, free: 51.66 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007237/18.34, allocations: 1.916 MB / 5.184 GB, free: 51.39 MB / 0.9948 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.01143/18.35, allocations: 5.206 MB / 5.189 GB, free: 49.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01338/18.37, allocations: 3.055 MB / 5.192 GB, free: 48.96 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/18.37, allocations: 0 / 5.192 GB, free: 48.96 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003731/18.37, allocations: 0.948 MB / 5.193 GB, free: 48.91 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01862/18.39, allocations: 1.437 MB / 5.194 GB, free: 48.88 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/18.4, allocations: 5.402 MB / 5.2 GB, free: 47.31 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00379/18.41, allocations: 2.252 MB / 5.202 GB, free: 46.51 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.008721/18.42, allocations: 1.253 MB / 5.203 GB, free: 46.38 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/18.42, allocations: 173.8 kB / 5.203 GB, free: 46.37 MB / 0.9948 GB Notification: Performance of SimCode: time 1.432e-06/18.42, allocations: 3.562 kB / 5.203 GB, free: 46.37 MB / 0.9948 GB Notification: Performance of Templates: time 0.1862/18.6, allocations: 73.3 MB / 5.275 GB, free: 1.633 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)