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.205/2.205, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001605, allocations: 177.3 kB / 325.6 MB, free: 2.828 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.573/2.573, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.0015/0.0015, allocations: 92.81 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 11.72 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.135/1.344, allocations: 247.8 MB / 1.141 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04828/1.393, allocations: 23.94 MB / 1.164 GB, free: 1.133 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005509/1.398, allocations: 95.78 kB / 1.164 GB, free: 1.133 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008563/1.407, allocations: 1.73 MB / 1.166 GB, free: 372 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02748/1.434, allocations: 5.83 MB / 1.172 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01297/1.447, allocations: 2.831 MB / 1.174 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01305/1.46, allocations: 5.231 MB / 1.18 GB, free: 10 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006542/1.467, allocations: 2.616 MB / 1.182 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009245/1.476, allocations: 2.696 MB / 1.185 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005519/1.482, allocations: 1.926 MB / 1.187 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001476/1.483, allocations: 153.2 kB / 1.187 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/1.494, allocations: 2.092 MB / 1.189 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003389/1.497, allocations: 1.337 MB / 1.19 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002738/1.5, allocations: 0.7693 MB / 1.191 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/1.511, allocations: 4.589 MB / 1.195 GB, free: 348 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.511, allocations: 0 / 1.195 GB, free: 348 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.776e-06/1.511, allocations: 0 / 1.195 GB, free: 348 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002046/1.512, allocations: 4 kB / 1.195 GB, free: 344 kB / 0.7136 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.01087/1.522, allocations: 3.416 MB / 1.199 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.523, allocations: 8.031 kB / 1.199 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008905/1.531, allocations: 0.9438 MB / 1.2 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008286/1.54, allocations: 2.216 MB / 1.202 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004806/1.54, allocations: 273.5 kB / 1.202 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/1.541, allocations: 295.9 kB / 1.202 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/1.553, allocations: 3.37 MB / 1.206 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/1.553, allocations: 8 kB / 1.206 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005472/1.553, allocations: 120 kB / 1.206 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/1.554, allocations: 113.3 kB / 1.206 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009762/1.563, allocations: 2.808 MB / 1.209 GB, free: 2.621 MB / 0.7292 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.02846/1.592, allocations: 13.29 MB / 1.222 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004825/1.597, allocations: 1.834 MB / 1.223 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/1.597, allocations: 65.92 kB / 1.223 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.931e-05/1.597, allocations: 56.56 kB / 1.224 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=186): time 5.009e-06/1.597, allocations: 0 / 1.224 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=186): time 0.008888/1.606, allocations: 2.746 MB / 1.226 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/1.606, allocations: 73.41 kB / 1.226 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004303/1.611, allocations: 1.973 MB / 1.228 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005394/1.611, allocations: 65.7 kB / 1.228 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/1.613, allocations: 1.406 MB / 1.23 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/1.614, allocations: 0.6546 MB / 1.23 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/1.614, allocations: 44 kB / 1.23 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.614, allocations: 389.9 kB / 1.231 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/1.617, allocations: 0.7887 MB / 1.231 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/1.62, allocations: 1.42 MB / 1.233 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/1.623, allocations: 1.048 MB / 1.234 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.623, allocations: 4 kB / 1.234 GB, free: 7.258 MB / 0.7605 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007233/1.63, allocations: 2.47 MB / 1.236 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.00224/1.632, allocations: 5.217 MB / 1.241 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.219e-05/1.632, allocations: 16 kB / 1.241 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-05/1.632, allocations: 28 kB / 1.241 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005254/1.638, allocations: 0.5616 MB / 1.242 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/1.641, allocations: 4.157 MB / 1.246 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008468/1.649, allocations: 376.9 kB / 1.246 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007625/1.65, allocations: 95.98 kB / 1.246 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.65, allocations: 4 kB / 1.246 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009651/1.66, allocations: 2.206 MB / 1.249 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.117e-05/1.66, allocations: 12 kB / 1.249 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.305e-05/1.66, allocations: 27.98 kB / 1.249 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005815/1.666, allocations: 488 kB / 1.249 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.462e-05/1.666, allocations: 27.92 kB / 1.249 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008145/1.674, allocations: 364.8 kB / 1.25 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005367/1.675, allocations: 87.98 kB / 1.25 GB, free: 6.48 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * 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.00366/1.678, allocations: 0.8676 MB / 1.25 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.68, allocations: 276.7 kB / 1.251 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009839/1.689, allocations: 2.123 MB / 1.253 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/1.69, allocations: 16 kB / 1.253 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/1.69, allocations: 4 kB / 1.253 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005205/1.695, allocations: 1.886 MB / 1.255 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.71, allocations: 5.212 MB / 1.26 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.71, allocations: 4 kB / 1.26 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004816/1.715, allocations: 0.5193 MB / 1.26 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-05/1.715, allocations: 8 kB / 1.26 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/1.715, allocations: 55.97 kB / 1.26 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/1.717, allocations: 4.126 MB / 1.264 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.718, allocations: 3.938 kB / 1.264 GB, free: 7.039 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008828/1.726, allocations: 3.622 MB / 1.268 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/1.729, allocations: 0.5911 MB / 1.268 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000773/1.73, allocations: 47.98 kB / 1.268 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004709/1.734, allocations: 256.1 kB / 1.269 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005222/1.735, allocations: 122 kB / 1.269 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002826/1.735, allocations: 75.95 kB / 1.269 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003177/1.738, allocations: 1.31 MB / 1.27 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.81e-07/1.738, allocations: 0 / 1.27 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006499/1.745, allocations: 1.749 MB / 1.272 GB, free: 15.11 MB / 0.8073 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 (186): * Single equations (assignments): 179 * 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.00116/1.746, allocations: 379.9 kB / 1.272 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01003/1.756, allocations: 3.306 MB / 1.276 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/1.756, allocations: 4 kB / 1.276 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003114/1.759, allocations: 1.039 MB / 1.277 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0192/1.779, allocations: 1.585 MB / 1.278 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/1.805, allocations: 7.883 MB / 1.286 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003189/1.808, allocations: 2.26 MB / 1.288 GB, free: 14.59 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006668/1.815, allocations: 1.107 MB / 1.289 GB, free: 13.48 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.816, allocations: 227.4 kB / 1.289 GB, free: 13.25 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/1.816, allocations: 0 / 1.289 GB, free: 13.25 MB / 0.823 GB Notification: Performance of Templates: time 0.1902/2.007, allocations: 52.51 MB / 1.341 GB, free: 9.207 MB / 0.8698 GB