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.282/2.282, allocations: 253.2 MB / 260.6 MB, free: 7.391 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.001463/0.001463, allocations: 169.6 kB / 319.9 MB, free: 3.051 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.071/2.071, allocations: 205.5 MB / 0.5708 GB, free: 15.28 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.001137/0.001137, allocations: 86.77 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.153e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1988, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.084/7.283, allocations: 2.253 GB / 3.142 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/7.283, allocations: 88.7 kB / 3.142 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.37/18.66, allocations: 1.96 GB / 5.102 GB, free: 89.22 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.074e-06/18.66, allocations: 0 / 5.102 GB, free: 89.22 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000477/18.66, allocations: 99.28 kB / 5.102 GB, free: 89.21 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.01401/18.67, allocations: 3.479 MB / 5.105 GB, free: 87.81 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/18.67, allocations: 11.5 kB / 5.105 GB, free: 87.81 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009582/18.68, allocations: 0.9182 MB / 5.106 GB, free: 87.61 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/18.69, allocations: 2.873 MB / 5.109 GB, free: 87.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/18.69, allocations: 175.8 kB / 5.109 GB, free: 86.95 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/18.69, allocations: 176.8 kB / 5.109 GB, free: 86.95 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008033/18.7, allocations: 2.448 MB / 5.112 GB, free: 86.94 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009497/18.71, allocations: 2.769 MB / 5.114 GB, free: 86.69 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.991e-05/18.71, allocations: 3.906 kB / 5.114 GB, free: 86.69 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/18.71, allocations: 4.688 kB / 5.114 GB, free: 86.69 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/18.71, allocations: 106.8 kB / 5.114 GB, free: 86.68 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.02564/18.74, allocations: 12.71 MB / 5.127 GB, free: 79.56 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003648/18.74, allocations: 1.662 MB / 5.128 GB, free: 79.52 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/18.74, allocations: 0.9916 MB / 5.129 GB, free: 79.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006819/18.74, allocations: 330.8 kB / 5.13 GB, free: 79.21 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.798e-05/18.74, allocations: 65.44 kB / 5.13 GB, free: 79.18 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=182): time 4.869e-06/18.74, allocations: 0 / 5.13 GB, free: 79.18 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.00592/18.75, allocations: 1.832 MB / 5.132 GB, free: 78.97 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/18.75, allocations: 70 kB / 5.132 GB, free: 78.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/18.75, allocations: 1.423 MB / 5.133 GB, free: 78.69 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006428/18.75, allocations: 34.73 kB / 5.133 GB, free: 78.66 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/18.76, allocations: 1.407 MB / 5.134 GB, free: 78.09 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001087/18.76, allocations: 0.6185 MB / 5.135 GB, free: 77.67 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/18.76, allocations: 3.875 kB / 5.135 GB, free: 77.67 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001591/18.76, allocations: 384.1 kB / 5.135 GB, free: 77.37 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/18.76, allocations: 0.7092 MB / 5.136 GB, free: 77.36 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/18.76, allocations: 1.352 MB / 5.137 GB, free: 76.63 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/18.76, allocations: 0.9749 MB / 5.138 GB, free: 76.61 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/18.76, allocations: 4.688 kB / 5.138 GB, free: 76.61 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00581/18.77, allocations: 2.204 MB / 5.14 GB, free: 76.41 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001326/18.77, allocations: 5.466 MB / 5.146 GB, free: 70.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.572e-05/18.77, allocations: 13.44 kB / 5.146 GB, free: 70.55 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.352e-05/18.77, allocations: 28.52 kB / 5.146 GB, free: 70.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/18.78, allocations: 0.524 MB / 5.146 GB, free: 70.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/18.78, allocations: 4.167 MB / 5.15 GB, free: 66.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005835/18.78, allocations: 324 kB / 5.151 GB, free: 66.37 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/18.78, allocations: 89.94 kB / 5.151 GB, free: 66.37 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/18.78, allocations: 3.938 kB / 5.151 GB, free: 66.37 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004653/18.79, allocations: 1.897 MB / 5.153 GB, free: 66.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/18.79, allocations: 14.34 kB / 5.153 GB, free: 66.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.056e-05/18.79, allocations: 31.42 kB / 5.153 GB, free: 66.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/18.79, allocations: 472.8 kB / 5.153 GB, free: 66.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.565e-05/18.79, allocations: 32.23 kB / 5.153 GB, free: 66.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005783/18.8, allocations: 295.8 kB / 5.153 GB, free: 66.25 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005018/18.8, allocations: 85.78 kB / 5.154 GB, free: 66.25 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.0007521/18.8, allocations: 161.3 kB / 5.154 GB, free: 66.13 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009593/18.8, allocations: 257.2 kB / 5.154 GB, free: 66 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/18.81, allocations: 1.866 MB / 5.156 GB, free: 65.89 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/18.81, allocations: 18.22 kB / 5.156 GB, free: 65.89 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/18.81, allocations: 0 / 5.156 GB, free: 65.89 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0038/18.81, allocations: 1.699 MB / 5.157 GB, free: 65.58 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/18.83, allocations: 4.642 MB / 5.162 GB, free: 65.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/18.83, allocations: 3.25 kB / 5.162 GB, free: 65.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004791/18.83, allocations: 0.5107 MB / 5.162 GB, free: 65.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.603e-05/18.83, allocations: 9.297 kB / 5.163 GB, free: 65.07 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003461/18.83, allocations: 31.39 kB / 5.163 GB, free: 65.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/18.83, allocations: 4.129 MB / 5.167 GB, free: 60.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/18.83, allocations: 3.062 kB / 5.167 GB, free: 60.98 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007038/18.84, allocations: 3.319 MB / 5.17 GB, free: 60.24 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/18.84, allocations: 0.5699 MB / 5.17 GB, free: 59.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008774/18.84, allocations: 17.5 kB / 5.17 GB, free: 59.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005259/18.85, allocations: 229.3 kB / 5.171 GB, free: 59.97 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005247/18.85, allocations: 116 kB / 5.171 GB, free: 59.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/18.85, allocations: 77.05 kB / 5.171 GB, free: 59.96 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002461/18.85, allocations: 1.059 MB / 5.172 GB, free: 59.82 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.242e-06/18.85, allocations: 0 / 5.172 GB, free: 59.82 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008567/18.86, allocations: 1.937 MB / 5.174 GB, free: 59.55 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.009438/18.87, allocations: 5.198 MB / 5.179 GB, free: 57.27 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008872/18.88, allocations: 3.027 MB / 5.182 GB, free: 57.22 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/18.88, allocations: 3.562 kB / 5.182 GB, free: 57.22 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002598/18.88, allocations: 0.9288 MB / 5.183 GB, free: 57.21 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01364/18.9, allocations: 1.451 MB / 5.184 GB, free: 57.18 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/18.91, allocations: 5.424 MB / 5.189 GB, free: 55.79 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/18.91, allocations: 2.259 MB / 5.192 GB, free: 55 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0079/18.92, allocations: 1.262 MB / 5.193 GB, free: 54.86 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009138/18.92, allocations: 173.2 kB / 5.193 GB, free: 54.86 MB / 0.9323 GB Notification: Performance of SimCode: time 1.283e-06/18.92, allocations: 0 / 5.193 GB, free: 54.86 MB / 0.9323 GB Notification: Performance of Templates: time 0.1752/19.1, allocations: 73.55 MB / 5.265 GB, free: 15.84 MB / 0.9323 GB