Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002533/0.002537, allocations: 357.8 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.513/1.513, allocations: 165.8 MB / 183.1 MB, free: 5.383 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.73/3.73, allocations: 410.7 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001835/0.001835, allocations: 195.1 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004794, allocations: 12 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4204, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.442/6.862, allocations: 2.096 GB / 2.905 GB, free: 151.9 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/6.863, allocations: 94.92 kB / 2.905 GB, free: 151.9 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 10.51/17.38, allocations: 2.031 GB / 4.937 GB, free: 33.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.025e-06/17.38, allocations: 0 / 4.937 GB, free: 33.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004502/17.38, allocations: 97.67 kB / 4.937 GB, free: 33 MB / 0.6511 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.01626/17.39, allocations: 3.954 MB / 4.941 GB, free: 30.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/17.39, allocations: 10.47 kB / 4.941 GB, free: 30.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009464/17.4, allocations: 0.9316 MB / 4.942 GB, free: 30.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/17.41, allocations: 2.612 MB / 4.944 GB, free: 30.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/17.41, allocations: 281.7 kB / 4.944 GB, free: 29.97 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/17.42, allocations: 294.1 kB / 4.945 GB, free: 29.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/17.43, allocations: 3.212 MB / 4.948 GB, free: 29.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/17.43, allocations: 14.56 kB / 4.948 GB, free: 29.69 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006034/17.43, allocations: 113.9 kB / 4.948 GB, free: 29.69 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/17.43, allocations: 108 kB / 4.948 GB, free: 29.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00874/17.44, allocations: 2.622 MB / 4.951 GB, free: 29.52 MB / 0.6511 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.02625/17.46, allocations: 13.18 MB / 4.963 GB, free: 18.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004023/17.47, allocations: 1.794 MB / 4.965 GB, free: 16.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/17.47, allocations: 1.086 MB / 4.966 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006514/17.47, allocations: 325.2 kB / 4.967 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/17.47, allocations: 64.56 kB / 4.967 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=182): time 4.509e-06/17.47, allocations: 0 / 4.967 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=182): time 0.007699/17.48, allocations: 2.676 MB / 4.969 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/17.48, allocations: 73.34 kB / 4.969 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/17.48, allocations: 1.961 MB / 4.971 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005936/17.48, allocations: 69.7 kB / 4.971 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/17.48, allocations: 1.404 MB / 4.973 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009487/17.48, allocations: 0.6469 MB / 4.973 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/17.48, allocations: 40 kB / 4.973 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001385/17.48, allocations: 393.9 kB / 4.974 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/17.49, allocations: 0.7731 MB / 4.974 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/17.49, allocations: 1.467 MB / 4.976 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/17.49, allocations: 1.043 MB / 4.977 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/17.49, allocations: 8 kB / 4.977 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.006762/17.5, allocations: 2.455 MB / 4.979 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/17.5, allocations: 485.5 kB / 4.98 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/17.5, allocations: 16 kB / 4.98 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.651e-05/17.5, allocations: 24 kB / 4.98 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004869/17.5, allocations: 0.5614 MB / 4.98 GB, free: 164 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/17.51, allocations: 4.153 MB / 4.984 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005825/17.51, allocations: 373.8 kB / 4.985 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004223/17.51, allocations: 91.92 kB / 4.985 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/17.51, allocations: 4 kB / 4.985 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006102/17.52, allocations: 2.183 MB / 4.987 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/17.52, allocations: 20.03 kB / 4.987 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.85e-05/17.52, allocations: 24 kB / 4.987 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003601/17.52, allocations: 475.3 kB / 4.987 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.792e-05/17.52, allocations: 27.92 kB / 4.988 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005549/17.53, allocations: 357.3 kB / 4.988 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/17.53, allocations: 87.98 kB / 4.988 GB, free: 8.23 MB / 0.6667 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.002882/17.53, allocations: 0.8634 MB / 4.989 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/17.53, allocations: 268.8 kB / 4.989 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005915/17.54, allocations: 2.076 MB / 4.991 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/17.54, allocations: 20 kB / 4.991 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/17.54, allocations: 0 / 4.991 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004484/17.54, allocations: 1.859 MB / 4.993 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5811/18.12, allocations: 5.108 MB / 4.998 GB, free: 60.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/18.12, allocations: 4.219 kB / 4.998 GB, free: 60.78 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004888/18.13, allocations: 0.5009 MB / 4.998 GB, free: 60.78 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.092e-05/18.13, allocations: 16.59 kB / 4.998 GB, free: 60.78 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/18.13, allocations: 50.14 kB / 4.998 GB, free: 60.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/18.13, allocations: 4.125 MB / 5.002 GB, free: 56.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/18.13, allocations: 5.781 kB / 5.002 GB, free: 56.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007926/18.14, allocations: 3.327 MB / 5.006 GB, free: 56.38 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/18.14, allocations: 0.5665 MB / 5.006 GB, free: 56.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005739/18.14, allocations: 42.77 kB / 5.006 GB, free: 56.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004097/18.15, allocations: 252.1 kB / 5.007 GB, free: 56.25 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/18.15, allocations: 118.9 kB / 5.007 GB, free: 56.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/18.15, allocations: 72.98 kB / 5.007 GB, free: 56.25 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0028/18.15, allocations: 1.295 MB / 5.008 GB, free: 56.11 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.51e-07/18.15, allocations: 1.312 kB / 5.008 GB, free: 56.11 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.008902/18.16, allocations: 2.136 MB / 5.01 GB, free: 55.98 MB / 0.6667 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.009101/18.17, allocations: 4.755 MB / 5.015 GB, free: 53.73 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00949/18.18, allocations: 3.264 MB / 5.018 GB, free: 53.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/18.18, allocations: 0 / 5.018 GB, free: 53.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002865/18.18, allocations: 1.014 MB / 5.019 GB, free: 53.68 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01406/18.19, allocations: 1.61 MB / 5.02 GB, free: 53.64 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/18.21, allocations: 7.812 MB / 5.028 GB, free: 50.59 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003262/18.21, allocations: 2.243 MB / 5.03 GB, free: 49.83 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00667/18.22, allocations: 1.089 MB / 5.031 GB, free: 49.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/18.22, allocations: 217 kB / 5.032 GB, free: 49.8 MB / 0.6667 GB Notification: Performance of SimCode: time 1.152e-06/18.22, allocations: 0 / 5.032 GB, free: 49.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.2203/18.44, allocations: 97.94 MB / 5.127 GB, free: 43.95 MB / 0.6667 GB