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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 99.23 kB / 16.27 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 188 kB / 17.2 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 223.1 MB, free: 12.35 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 0.5495 GB, free: 17.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.91 kB / 0.6721 GB, free: 6.598 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2559, allocations: 114.6 MB / 0.784 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6939/0.9498, allocations: 305.1 MB / 1.082 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03567/0.9855, allocations: 25.63 MB / 1.107 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005146/0.9907, allocations: 123.2 kB / 1.107 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005822/0.9966, allocations: 1.798 MB / 1.109 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01693/1.014, allocations: 5.938 MB / 1.115 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00781/1.021, allocations: 2.575 MB / 1.117 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01291/1.034, allocations: 8.839 MB / 1.126 GB, free: 12.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005863/1.04, allocations: 3.604 MB / 1.129 GB, free: 8.363 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01229/1.053, allocations: 4.134 MB / 1.133 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007391/1.06, allocations: 2.954 MB / 1.136 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001628/1.062, allocations: 356 kB / 1.137 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6794/1.741, allocations: 4.593 MB / 1.141 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003082/1.744, allocations: 1.636 MB / 1.143 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005843/1.75, allocations: 2.122 MB / 1.145 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02014/1.77, allocations: 6.666 MB / 1.151 GB, free: 15.15 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.77, allocations: 2.703 kB / 1.151 GB, free: 15.15 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.324e-06/1.77, allocations: 1.125 kB / 1.151 GB, free: 15.15 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003335/1.771, allocations: 0 / 1.151 GB, free: 15.15 MB / 0.92 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.01782/1.788, allocations: 4.145 MB / 1.155 GB, free: 13.44 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.789, allocations: 11.2 kB / 1.155 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007813/1.796, allocations: 0.9374 MB / 1.156 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007491/1.804, allocations: 2.235 MB / 1.158 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/1.804, allocations: 276.3 kB / 1.159 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/1.806, allocations: 295.5 kB / 1.159 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009751/1.816, allocations: 3.359 MB / 1.162 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8e-05/1.816, allocations: 1.719 kB / 1.162 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/1.816, allocations: 115.4 kB / 1.162 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/1.816, allocations: 113.2 kB / 1.162 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007241/1.824, allocations: 2.786 MB / 1.165 GB, free: 12.23 MB / 0.92 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.02506/1.849, allocations: 13.32 MB / 1.178 GB, free: 21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/1.852, allocations: 1.827 MB / 1.18 GB, free: 20.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/1.854, allocations: 1.101 MB / 1.181 GB, free: 20.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005946/1.855, allocations: 326.8 kB / 1.181 GB, free: 20.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.963e-05/1.855, allocations: 58.09 kB / 1.181 GB, free: 20.6 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=182): time 4.198e-06/1.855, allocations: 0.9062 kB / 1.181 GB, free: 20.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=182): time 0.005869/1.861, allocations: 2.726 MB / 1.184 GB, free: 20.38 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/1.861, allocations: 72.94 kB / 1.184 GB, free: 20.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/1.864, allocations: 1.971 MB / 1.186 GB, free: 20.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003918/1.865, allocations: 70.11 kB / 1.186 GB, free: 20.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.866, allocations: 1.396 MB / 1.188 GB, free: 19.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008901/1.867, allocations: 0.6418 MB / 1.188 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006183/1.867, allocations: 389.7 kB / 1.189 GB, free: 19.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.867, allocations: 302.1 kB / 1.189 GB, free: 18.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.869, allocations: 0.8095 MB / 1.19 GB, free: 18.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.87, allocations: 1.435 MB / 1.191 GB, free: 18.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/1.873, allocations: 2.25 MB / 1.193 GB, free: 17.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.873, allocations: 3.844 kB / 1.193 GB, free: 17.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004578/1.878, allocations: 2.491 MB / 1.196 GB, free: 17.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/1.878, allocations: 9.875 kB / 1.196 GB, free: 17.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/1.878, allocations: 24.31 kB / 1.196 GB, free: 17.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.139e-05/1.878, allocations: 25.44 kB / 1.196 GB, free: 17.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/1.881, allocations: 0.5543 MB / 1.196 GB, free: 17.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/1.883, allocations: 4.148 MB / 1.2 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/1.887, allocations: 231.3 kB / 1.2 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003843/1.887, allocations: 89.17 kB / 1.201 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003657/1.891, allocations: 1.462 MB / 1.202 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001983/1.893, allocations: 1.42 MB / 1.203 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003321/1.896, allocations: 2.232 MB / 1.206 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.108e-05/1.896, allocations: 3 kB / 1.206 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004806/1.901, allocations: 2.467 MB / 1.208 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.901, allocations: 12.06 kB / 1.208 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.901, allocations: 14.73 kB / 1.208 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/1.901, allocations: 23.22 kB / 1.208 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.903, allocations: 473.5 kB / 1.208 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-05/1.903, allocations: 33.58 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/1.907, allocations: 204.2 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/1.907, allocations: 86.73 kB / 1.209 GB, free: 11.61 MB / 0.9356 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001019/1.908, allocations: 320 kB / 1.209 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.91, allocations: 266.1 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/1.914, allocations: 2.091 MB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/1.914, allocations: 16.22 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.914, allocations: 2.203 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002882/1.917, allocations: 1.883 MB / 1.213 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/1.933, allocations: 5.148 MB / 1.218 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/1.933, allocations: 6.75 kB / 1.218 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/1.935, allocations: 0.5021 MB / 1.219 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-05/1.935, allocations: 11.25 kB / 1.219 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/1.935, allocations: 55.86 kB / 1.219 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/1.938, allocations: 4.121 MB / 1.223 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.938, allocations: 7.891 kB / 1.223 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/1.944, allocations: 3.355 MB / 1.226 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/1.946, allocations: 0.5678 MB / 1.227 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.947, allocations: 43.2 kB / 1.227 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/1.95, allocations: 82.28 kB / 1.227 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.951, allocations: 118.6 kB / 1.227 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/1.951, allocations: 72.77 kB / 1.227 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003303/1.954, allocations: 1.317 MB / 1.228 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/1.954, allocations: 0.5625 kB / 1.228 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.008616/1.963, allocations: 1.717 MB / 1.23 GB, free: 5.125 MB / 0.9356 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/1.964, allocations: 351 kB / 1.23 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.976, allocations: 4.638 MB / 1.235 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.95e-05/1.976, allocations: 2.625 kB / 1.235 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002275/1.978, allocations: 1.027 MB / 1.236 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/1.989, allocations: 1.536 MB / 1.237 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/2.005, allocations: 6.739 MB / 1.244 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002533/2.007, allocations: 2.182 MB / 1.246 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/2.008, allocations: 231 kB / 1.246 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of SimCode: time 1.613e-06/2.008, allocations: 0 / 1.246 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of Templates: time 0.1652/2.174, allocations: 139.9 MB / 1.383 GB, free: 13.09 MB / 1.076 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)