Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.6 MB / 307.5 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001206, allocations: 169.1 kB / 377.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.409/2.409, allocations: 205.4 MB / 0.6367 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 89.36 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 11.98 kB / 0.8748 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3257, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.24/6.566, allocations: 2.136 GB / 3.124 GB, free: 45.55 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/6.567, allocations: 91.95 kB / 3.125 GB, free: 45.46 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.691/15.26, allocations: 2.038 GB / 5.163 GB, free: 86.84 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.394e-06/15.26, allocations: 0 / 5.163 GB, free: 86.84 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000609/15.26, allocations: 89.34 kB / 5.163 GB, free: 86.83 MB / 1.01 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.01876/15.28, allocations: 3.963 MB / 5.167 GB, free: 85.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/15.28, allocations: 12.91 kB / 5.167 GB, free: 85.3 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008501/15.29, allocations: 0.9205 MB / 5.167 GB, free: 85.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/15.3, allocations: 2.86 MB / 5.17 GB, free: 84.52 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/15.3, allocations: 278.2 kB / 5.17 GB, free: 84.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/15.3, allocations: 303.6 kB / 5.171 GB, free: 84.45 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009329/15.31, allocations: 3.198 MB / 5.174 GB, free: 84.18 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.136e-05/15.31, allocations: 3.188 kB / 5.174 GB, free: 84.18 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/15.31, allocations: 118.8 kB / 5.174 GB, free: 84.18 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/15.31, allocations: 105.3 kB / 5.174 GB, free: 84.18 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/15.31, allocations: 2.628 MB / 5.177 GB, free: 84.14 MB / 1.01 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.01882/15.33, allocations: 13.19 MB / 5.19 GB, free: 76.95 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/15.34, allocations: 1.791 MB / 5.191 GB, free: 76.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/15.34, allocations: 328.3 kB / 5.192 GB, free: 76.62 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/15.34, allocations: 58.78 kB / 5.192 GB, free: 76.58 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 5.089e-06/15.34, allocations: 0 / 5.192 GB, free: 76.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.005094/15.34, allocations: 2.684 MB / 5.194 GB, free: 76.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/15.34, allocations: 72.28 kB / 5.194 GB, free: 76.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/15.34, allocations: 1.692 MB / 5.196 GB, free: 76.09 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003267/15.34, allocations: 69.8 kB / 5.196 GB, free: 76.06 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009444/15.35, allocations: 1.414 MB / 5.197 GB, free: 75.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000636/15.35, allocations: 0.6364 MB / 5.198 GB, free: 75.11 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/15.35, allocations: 44.5 kB / 5.198 GB, free: 75.11 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001318/15.35, allocations: 388.6 kB / 5.199 GB, free: 74.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/15.35, allocations: 0.7793 MB / 5.199 GB, free: 74.79 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/15.35, allocations: 1.462 MB / 5.201 GB, free: 74.02 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/15.35, allocations: 1.039 MB / 5.202 GB, free: 73.99 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/15.35, allocations: 4.531 kB / 5.202 GB, free: 73.99 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004034/15.35, allocations: 2.453 MB / 5.204 GB, free: 73.78 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001224/15.36, allocations: 5.52 MB / 5.21 GB, free: 67.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/15.36, allocations: 14.12 kB / 5.21 GB, free: 67.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-05/15.36, allocations: 26.69 kB / 5.21 GB, free: 67.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/15.36, allocations: 0.5082 MB / 5.21 GB, free: 67.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/15.36, allocations: 4.161 MB / 5.214 GB, free: 63.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/15.36, allocations: 369 kB / 5.214 GB, free: 63.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/15.36, allocations: 91.19 kB / 5.215 GB, free: 63.74 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/15.36, allocations: 5.031 kB / 5.215 GB, free: 63.74 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003251/15.37, allocations: 2.186 MB / 5.217 GB, free: 63.69 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/15.37, allocations: 11.03 kB / 5.217 GB, free: 63.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/15.37, allocations: 25.81 kB / 5.217 GB, free: 63.69 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/15.37, allocations: 477 kB / 5.217 GB, free: 63.69 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-05/15.37, allocations: 29.41 kB / 5.217 GB, free: 63.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/15.37, allocations: 354 kB / 5.218 GB, free: 63.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/15.37, allocations: 86.47 kB / 5.218 GB, free: 63.6 MB / 1.01 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.002426/15.38, allocations: 0.8678 MB / 5.218 GB, free: 63.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000875/15.38, allocations: 266.8 kB / 5.219 GB, free: 63.27 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/15.38, allocations: 2.073 MB / 5.221 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/15.38, allocations: 17.75 kB / 5.221 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/15.38, allocations: 0 / 5.221 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002277/15.38, allocations: 1.86 MB / 5.223 GB, free: 62.85 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009693/15.39, allocations: 5.118 MB / 5.228 GB, free: 62.31 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/15.39, allocations: 3.562 kB / 5.228 GB, free: 62.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/15.39, allocations: 0.5065 MB / 5.228 GB, free: 62.31 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/15.39, allocations: 7.188 kB / 5.228 GB, free: 62.31 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/15.39, allocations: 52.03 kB / 5.228 GB, free: 62.31 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/15.4, allocations: 4.124 MB / 5.232 GB, free: 58.22 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/15.4, allocations: 12.12 kB / 5.232 GB, free: 58.22 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004911/15.4, allocations: 3.549 MB / 5.236 GB, free: 57.47 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/15.4, allocations: 0.5605 MB / 5.236 GB, free: 57.22 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008146/15.4, allocations: 50.64 kB / 5.236 GB, free: 57.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/15.41, allocations: 254.7 kB / 5.236 GB, free: 57.19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/15.41, allocations: 113.8 kB / 5.237 GB, free: 57.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/15.41, allocations: 77.61 kB / 5.237 GB, free: 57.19 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003108/15.41, allocations: 1.297 MB / 5.238 GB, free: 57.05 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.51e-07/15.41, allocations: 0 / 5.238 GB, free: 57.05 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009413/15.42, allocations: 2.131 MB / 5.24 GB, free: 56.8 MB / 1.01 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.008671/15.43, allocations: 4.766 MB / 5.245 GB, free: 54.51 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007623/15.44, allocations: 3.194 MB / 5.248 GB, free: 54.46 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/15.44, allocations: 3.906 kB / 5.248 GB, free: 54.46 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/15.44, allocations: 1.003 MB / 5.249 GB, free: 54.46 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009415/15.45, allocations: 1.57 MB / 5.25 GB, free: 54.42 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/15.46, allocations: 7.792 MB / 5.258 GB, free: 51.34 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002661/15.47, allocations: 2.247 MB / 5.26 GB, free: 50.55 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004595/15.47, allocations: 1.089 MB / 5.261 GB, free: 50.44 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/15.47, allocations: 216.5 kB / 5.261 GB, free: 50.43 MB / 1.01 GB Notification: Performance of SimCode: time 1.423e-06/15.47, allocations: 0 / 5.261 GB, free: 50.43 MB / 1.01 GB Notification: Performance of Templates: time 0.1525/15.62, allocations: 97.9 MB / 5.357 GB, free: 12.46 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)