Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.795/4.795, allocations: 0.5623 GB / 0.5775 GB, free: 3.301 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002525/0.002525, allocations: 355.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.255/4.255, allocations: 410.7 MB / 1.113 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001859/0.001859, allocations: 173.5 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005123/0.0005125, allocations: 15.98 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7818, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.836/7.618, allocations: 2.135 GB / 3.596 GB, free: 258.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/7.618, allocations: 99.78 kB / 3.596 GB, free: 258.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.9/18.52, allocations: 2.032 GB / 5.628 GB, free: 59.36 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.665e-06/18.52, allocations: 0 / 5.628 GB, free: 59.36 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004442/18.52, allocations: 95.86 kB / 5.628 GB, free: 59.26 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.01621/18.53, allocations: 3.957 MB / 5.632 GB, free: 55.24 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/18.53, allocations: 12.03 kB / 5.632 GB, free: 55.23 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009535/18.54, allocations: 0.9283 MB / 5.633 GB, free: 54.29 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/18.55, allocations: 2.62 MB / 5.636 GB, free: 51.6 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/18.55, allocations: 281.3 kB / 5.636 GB, free: 51.31 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/18.56, allocations: 299.9 kB / 5.636 GB, free: 51.02 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/18.57, allocations: 3.218 MB / 5.639 GB, free: 47.71 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/18.57, allocations: 0 / 5.639 GB, free: 47.71 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004761/18.57, allocations: 116 kB / 5.639 GB, free: 47.6 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/18.57, allocations: 105.3 kB / 5.639 GB, free: 47.5 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008674/18.58, allocations: 2.64 MB / 5.642 GB, free: 44.84 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.02653/18.6, allocations: 13.17 MB / 5.655 GB, free: 30.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00425/18.61, allocations: 1.795 MB / 5.657 GB, free: 28.75 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002617/18.61, allocations: 1.078 MB / 5.658 GB, free: 27.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/18.61, allocations: 337.2 kB / 5.658 GB, free: 27.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/18.61, allocations: 52.56 kB / 5.658 GB, free: 27.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 4.478e-06/18.61, allocations: 0 / 5.658 GB, free: 27.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.00848/18.62, allocations: 2.682 MB / 5.661 GB, free: 24.55 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/18.62, allocations: 77.34 kB / 5.661 GB, free: 24.46 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/18.62, allocations: 1.949 MB / 5.663 GB, free: 22.49 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006668/18.62, allocations: 73.7 kB / 5.663 GB, free: 22.41 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/18.62, allocations: 1.412 MB / 5.664 GB, free: 20.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/18.63, allocations: 0.6392 MB / 5.665 GB, free: 20.33 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/18.63, allocations: 40 kB / 5.665 GB, free: 20.29 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001571/18.63, allocations: 385.9 kB / 5.665 GB, free: 19.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/18.63, allocations: 0.7731 MB / 5.666 GB, free: 19.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002648/18.63, allocations: 1.471 MB / 5.667 GB, free: 17.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/18.63, allocations: 1.051 MB / 5.668 GB, free: 16.31 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/18.63, allocations: 0 / 5.668 GB, free: 16.31 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.006936/18.64, allocations: 2.444 MB / 5.671 GB, free: 13.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/18.64, allocations: 0.489 MB / 5.671 GB, free: 13.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/18.64, allocations: 12 kB / 5.671 GB, free: 13.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.321e-05/18.64, allocations: 24 kB / 5.671 GB, free: 13.15 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/18.65, allocations: 0.5573 MB / 5.672 GB, free: 12.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/18.65, allocations: 4.165 MB / 5.676 GB, free: 8.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006062/18.65, allocations: 369.9 kB / 5.676 GB, free: 7.906 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005535/18.66, allocations: 95.98 kB / 5.676 GB, free: 7.812 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/18.66, allocations: 4 kB / 5.676 GB, free: 7.809 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005694/18.66, allocations: 2.183 MB / 5.678 GB, free: 5.625 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/18.66, allocations: 12 kB / 5.678 GB, free: 5.613 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/18.66, allocations: 27.94 kB / 5.678 GB, free: 5.586 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/18.66, allocations: 475.3 kB / 5.679 GB, free: 5.121 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.56e-05/18.66, allocations: 28.34 kB / 5.679 GB, free: 5.094 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/18.67, allocations: 342.1 kB / 5.679 GB, free: 4.758 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004589/18.67, allocations: 91.98 kB / 5.679 GB, free: 4.668 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.002927/18.67, allocations: 0.8673 MB / 5.68 GB, free: 3.789 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/18.68, allocations: 272.8 kB / 5.68 GB, free: 3.52 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/18.68, allocations: 2.067 MB / 5.682 GB, free: 1.445 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/18.68, allocations: 20 kB / 5.682 GB, free: 1.426 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/18.68, allocations: 8 kB / 5.683 GB, free: 1.418 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004404/18.69, allocations: 1.855 MB / 5.684 GB, free: 15.51 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/18.7, allocations: 5.114 MB / 5.689 GB, free: 10.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/18.7, allocations: 8.062 kB / 5.689 GB, free: 10.29 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004976/18.71, allocations: 0.5031 MB / 5.69 GB, free: 9.789 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.803e-05/18.71, allocations: 11.95 kB / 5.69 GB, free: 9.777 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003983/18.71, allocations: 51.97 kB / 5.69 GB, free: 9.727 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/18.71, allocations: 4.126 MB / 5.694 GB, free: 5.438 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/18.71, allocations: 4.031 kB / 5.694 GB, free: 5.434 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009088/18.72, allocations: 3.32 MB / 5.697 GB, free: 2.059 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002572/18.72, allocations: 0.5676 MB / 5.698 GB, free: 1.469 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008511/18.72, allocations: 36 kB / 5.698 GB, free: 1.434 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004918/18.73, allocations: 255.3 kB / 5.698 GB, free: 1.184 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005633/18.73, allocations: 125.8 kB / 5.698 GB, free: 1.062 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/18.73, allocations: 67.97 kB / 5.698 GB, free: 0.9961 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.834/19.56, allocations: 1.298 MB / 5.699 GB, free: 113.9 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.52e-07/19.56, allocations: 0 / 5.699 GB, free: 113.9 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.00986/19.57, allocations: 2.135 MB / 5.702 GB, free: 113.9 MB / 1.026 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.009218/19.58, allocations: 4.754 MB / 5.706 GB, free: 111.7 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01104/19.59, allocations: 3.265 MB / 5.709 GB, free: 111.7 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/19.59, allocations: 3.25 kB / 5.709 GB, free: 111.7 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00342/19.6, allocations: 1.014 MB / 5.71 GB, free: 111.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01566/19.61, allocations: 1.596 MB / 5.712 GB, free: 111.6 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/19.63, allocations: 7.803 MB / 5.72 GB, free: 108.6 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004114/19.63, allocations: 2.246 MB / 5.722 GB, free: 107.9 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.007595/19.64, allocations: 1.087 MB / 5.723 GB, free: 107.8 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/19.64, allocations: 219.2 kB / 5.723 GB, free: 107.8 MB / 1.026 GB Notification: Performance of SimCode: time 1.693e-06/19.64, allocations: 0 / 5.723 GB, free: 107.8 MB / 1.026 GB Notification: Performance of Templates: time 0.2287/19.87, allocations: 97.95 MB / 5.819 GB, free: 103.9 MB / 1.026 GB