Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.635/2.635, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 174.3 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.371/2.371, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 99.77 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 15.38 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2129, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.026/1.239, allocations: 247.2 MB / 1.22 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.05181/1.291, allocations: 23.72 MB / 1.243 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004697/1.296, allocations: 91.38 kB / 1.243 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.008576/1.304, allocations: 1.715 MB / 1.245 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02495/1.329, allocations: 5.752 MB / 1.25 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01215/1.342, allocations: 2.695 MB / 1.253 GB, free: 256 kB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01337/1.355, allocations: 5.089 MB / 1.258 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006054/1.361, allocations: 2.565 MB / 1.26 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009068/1.37, allocations: 2.613 MB / 1.263 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005335/1.376, allocations: 1.903 MB / 1.265 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001282/1.377, allocations: 152 kB / 1.265 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009555/1.387, allocations: 2.09 MB / 1.267 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003081/1.39, allocations: 1.309 MB / 1.268 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002293/1.392, allocations: 0.7577 MB / 1.269 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/1.403, allocations: 4.493 MB / 1.273 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.403, allocations: 0 / 1.273 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.434e-06/1.403, allocations: 0 / 1.273 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001736/1.403, allocations: 3.938 kB / 1.273 GB, free: 11.19 MB / 0.8073 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.01011/1.413, allocations: 3.405 MB / 1.277 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.413, allocations: 8.031 kB / 1.277 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008627/1.422, allocations: 0.9399 MB / 1.278 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007657/1.429, allocations: 2.203 MB / 1.28 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/1.43, allocations: 273.4 kB / 1.28 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008682/1.431, allocations: 307.9 kB / 1.28 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009738/1.44, allocations: 3.32 MB / 1.283 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.553e-05/1.441, allocations: 0 / 1.283 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004797/1.441, allocations: 119.9 kB / 1.284 GB, free: 388 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/1.441, allocations: 105.3 kB / 1.284 GB, free: 280 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009266/1.451, allocations: 2.789 MB / 1.286 GB, free: 13.47 MB / 0.823 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.02684/1.478, allocations: 13.23 MB / 1.299 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004663/1.482, allocations: 1.875 MB / 1.301 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/1.483, allocations: 61.92 kB / 1.301 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.576e-05/1.483, allocations: 64.5 kB / 1.301 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=186): time 4.658e-06/1.483, allocations: 0 / 1.301 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=186): time 0.008487/1.491, allocations: 2.774 MB / 1.304 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/1.491, allocations: 69.41 kB / 1.304 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/1.495, allocations: 1.953 MB / 1.306 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005239/1.496, allocations: 73.7 kB / 1.306 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/1.498, allocations: 1.395 MB / 1.307 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.499, allocations: 0.6468 MB / 1.308 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/1.499, allocations: 40 kB / 1.308 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002487/1.499, allocations: 390 kB / 1.308 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/1.502, allocations: 0.8043 MB / 1.309 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/1.505, allocations: 1.451 MB / 1.311 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/1.508, allocations: 1.064 MB / 1.312 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/1.508, allocations: 4 kB / 1.312 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007268/1.515, allocations: 2.494 MB / 1.314 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002246/1.518, allocations: 5.228 MB / 1.319 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.587e-05/1.518, allocations: 12 kB / 1.319 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.153e-05/1.518, allocations: 24 kB / 1.319 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00543/1.523, allocations: 0.5733 MB / 1.32 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/1.526, allocations: 4.153 MB / 1.324 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005549/1.532, allocations: 379.3 kB / 1.324 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004044/1.532, allocations: 87.97 kB / 1.324 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.532, allocations: 6.344 kB / 1.324 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006412/1.539, allocations: 2.226 MB / 1.326 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.605e-05/1.539, allocations: 12 kB / 1.326 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-05/1.539, allocations: 24 kB / 1.327 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/1.543, allocations: 483.7 kB / 1.327 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.195e-05/1.543, allocations: 31.89 kB / 1.327 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005384/1.548, allocations: 361.7 kB / 1.327 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/1.549, allocations: 87.98 kB / 1.327 GB, free: 1.207 MB / 0.8542 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.002503/1.551, allocations: 0.8673 MB / 1.328 GB, free: 336 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009712/1.552, allocations: 268.8 kB / 1.329 GB, free: 64 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006148/1.558, allocations: 2.13 MB / 1.331 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/1.558, allocations: 23.94 kB / 1.331 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/1.558, allocations: 3.953 kB / 1.331 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00496/1.563, allocations: 1.909 MB / 1.333 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.578, allocations: 5.208 MB / 1.338 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.578, allocations: 8.094 kB / 1.338 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004799/1.583, allocations: 0.5111 MB / 1.338 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.523e-05/1.583, allocations: 8 kB / 1.338 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/1.583, allocations: 55.97 kB / 1.338 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/1.586, allocations: 4.13 MB / 1.342 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/1.586, allocations: 4 kB / 1.342 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008779/1.595, allocations: 3.645 MB / 1.346 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002173/1.597, allocations: 0.5754 MB / 1.346 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007065/1.598, allocations: 43.98 kB / 1.346 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004214/1.602, allocations: 248.3 kB / 1.347 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004305/1.603, allocations: 117.8 kB / 1.347 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/1.603, allocations: 75.92 kB / 1.347 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003019/1.606, allocations: 1.298 MB / 1.348 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.71e-07/1.606, allocations: 0 / 1.348 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006622/1.612, allocations: 1.73 MB / 1.35 GB, free: 9.855 MB / 0.8855 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.001207/1.614, allocations: 369 kB / 1.35 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.624, allocations: 3.346 MB / 1.353 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.624, allocations: 0 / 1.353 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003215/1.628, allocations: 1.046 MB / 1.354 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01357/1.641, allocations: 1.579 MB / 1.356 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.659, allocations: 7.831 MB / 1.364 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/1.662, allocations: 2.248 MB / 1.366 GB, free: 9.375 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00662/1.669, allocations: 1.107 MB / 1.367 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/1.67, allocations: 227.4 kB / 1.367 GB, free: 8.039 MB / 0.9011 GB Notification: Performance of SimCode: time 1.202e-06/1.67, allocations: 0 / 1.367 GB, free: 8.039 MB / 0.9011 GB Notification: Performance of Templates: time 0.1454/1.815, allocations: 52.21 MB / 1.418 GB, free: 4.312 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)