Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 288.3 MB / 303.2 MB, free: 8.164 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.001163/0.001163, allocations: 177.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001017/0.001017, allocations: 96.3 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005095, allocations: 12.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2772, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.942/6.22, allocations: 2.135 GB / 3.115 GB, free: 132.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/6.22, allocations: 99.75 kB / 3.115 GB, free: 132.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.573/14.79, allocations: 2.038 GB / 5.153 GB, free: 94.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.196e-06/14.79, allocations: 1.594 kB / 5.153 GB, free: 94.66 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0006688/14.79, allocations: 98.16 kB / 5.153 GB, free: 94.66 MB / 1.01 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.01808/14.81, allocations: 3.953 MB / 5.157 GB, free: 93.43 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/14.81, allocations: 9.844 kB / 5.157 GB, free: 93.43 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008185/14.82, allocations: 0.9229 MB / 5.158 GB, free: 93.23 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/14.83, allocations: 2.865 MB / 5.16 GB, free: 92.8 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004624/14.83, allocations: 273.5 kB / 5.161 GB, free: 92.73 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/14.83, allocations: 301.3 kB / 5.161 GB, free: 92.73 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/14.84, allocations: 3.203 MB / 5.164 GB, free: 92.47 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/14.84, allocations: 0 / 5.164 GB, free: 92.47 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/14.85, allocations: 118.6 kB / 5.164 GB, free: 92.47 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/14.85, allocations: 103.6 kB / 5.164 GB, free: 92.46 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006571/14.85, allocations: 2.634 MB / 5.167 GB, free: 92.43 MB / 1.01 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.02266/14.88, allocations: 13.18 MB / 5.18 GB, free: 85.35 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/14.88, allocations: 1.782 MB / 5.181 GB, free: 85.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/14.88, allocations: 338.1 kB / 5.182 GB, free: 85.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/14.88, allocations: 56.12 kB / 5.182 GB, free: 84.99 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 6.683e-06/14.88, allocations: 3.703 kB / 5.182 GB, free: 84.99 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.005383/14.88, allocations: 2.678 MB / 5.184 GB, free: 84.77 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/14.88, allocations: 79 kB / 5.184 GB, free: 84.71 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/14.89, allocations: 1.691 MB / 5.186 GB, free: 84.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003623/14.89, allocations: 70.42 kB / 5.186 GB, free: 84.47 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009869/14.89, allocations: 1.411 MB / 5.188 GB, free: 83.99 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/14.89, allocations: 0.638 MB / 5.188 GB, free: 83.58 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/14.89, allocations: 38.66 kB / 5.188 GB, free: 83.58 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000129/14.89, allocations: 389.7 kB / 5.189 GB, free: 83.28 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/14.89, allocations: 0.7701 MB / 5.189 GB, free: 83.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/14.89, allocations: 1.461 MB / 5.191 GB, free: 82.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/14.89, allocations: 1.048 MB / 5.192 GB, free: 82.47 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/14.89, allocations: 3.719 kB / 5.192 GB, free: 82.47 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00418/14.9, allocations: 2.454 MB / 5.194 GB, free: 82.26 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001399/14.9, allocations: 5.515 MB / 5.2 GB, free: 76.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/14.9, allocations: 17.91 kB / 5.2 GB, free: 76.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.239e-05/14.9, allocations: 25.38 kB / 5.2 GB, free: 76.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/14.9, allocations: 0.5104 MB / 5.2 GB, free: 76.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/14.9, allocations: 4.163 MB / 5.204 GB, free: 72.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004665/14.91, allocations: 373.1 kB / 5.205 GB, free: 72.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004602/14.91, allocations: 91.16 kB / 5.205 GB, free: 72.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/14.91, allocations: 5.125 kB / 5.205 GB, free: 72.21 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003891/14.91, allocations: 2.186 MB / 5.207 GB, free: 72.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/14.91, allocations: 10.59 kB / 5.207 GB, free: 72.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/14.91, allocations: 26.06 kB / 5.207 GB, free: 72.16 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/14.91, allocations: 476.4 kB / 5.207 GB, free: 72.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.073e-05/14.91, allocations: 38.5 kB / 5.207 GB, free: 72.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/14.92, allocations: 343.8 kB / 5.208 GB, free: 72.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/14.92, allocations: 88.8 kB / 5.208 GB, free: 72.07 MB / 1.01 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.003308/14.92, allocations: 0.864 MB / 5.209 GB, free: 71.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/14.92, allocations: 262.4 kB / 5.209 GB, free: 71.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003616/14.93, allocations: 2.082 MB / 5.211 GB, free: 71.62 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/14.93, allocations: 16.5 kB / 5.211 GB, free: 71.62 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/14.93, allocations: 0 / 5.211 GB, free: 71.62 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00227/14.93, allocations: 1.854 MB / 5.213 GB, free: 71.32 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/14.94, allocations: 5.122 MB / 5.218 GB, free: 70.78 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/14.94, allocations: 4.469 kB / 5.218 GB, free: 70.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/14.94, allocations: 0.5081 MB / 5.218 GB, free: 70.78 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.297e-05/14.94, allocations: 11.77 kB / 5.218 GB, free: 70.78 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/14.94, allocations: 53.52 kB / 5.218 GB, free: 70.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/14.95, allocations: 4.129 MB / 5.222 GB, free: 66.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/14.95, allocations: 3.156 kB / 5.222 GB, free: 66.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005305/14.95, allocations: 3.552 MB / 5.226 GB, free: 65.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/14.95, allocations: 0.5566 MB / 5.226 GB, free: 65.69 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/14.95, allocations: 42.64 kB / 5.226 GB, free: 65.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/14.96, allocations: 252.8 kB / 5.227 GB, free: 65.67 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/14.96, allocations: 118.4 kB / 5.227 GB, free: 65.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/14.96, allocations: 74.12 kB / 5.227 GB, free: 65.66 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002071/14.96, allocations: 1.297 MB / 5.228 GB, free: 65.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.6e-07/14.96, allocations: 0 / 5.228 GB, free: 65.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006572/14.97, allocations: 2.138 MB / 5.23 GB, free: 65.27 MB / 1.01 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.007749/14.97, allocations: 4.764 MB / 5.235 GB, free: 62.99 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006146/14.98, allocations: 3.204 MB / 5.238 GB, free: 62.95 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/14.98, allocations: 0 / 5.238 GB, free: 62.95 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/14.98, allocations: 1.001 MB / 5.239 GB, free: 62.93 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008669/14.99, allocations: 1.572 MB / 5.24 GB, free: 62.89 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/15, allocations: 7.783 MB / 5.248 GB, free: 59.86 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/15.01, allocations: 2.243 MB / 5.25 GB, free: 59.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005316/15.01, allocations: 1.091 MB / 5.251 GB, free: 59.07 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007913/15.01, allocations: 217.2 kB / 5.251 GB, free: 59.06 MB / 1.01 GB Notification: Performance of SimCode: time 1.583e-06/15.01, allocations: 3.875 kB / 5.251 GB, free: 59.06 MB / 1.01 GB Notification: Performance of Templates: time 0.1591/15.17, allocations: 97.9 MB / 5.347 GB, free: 53.79 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)