Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7778/0.7778, allocations: 128.8 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 186.5 kB / 173.8 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008506/0.0008506, allocations: 88.17 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.0003091, allocations: 9.25 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 76.76 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.058/5.204, allocations: 2.167 GB / 2.802 GB, free: 209.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/5.204, allocations: 99.31 kB / 2.802 GB, free: 209.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.899/12.1, allocations: 2.035 GB / 4.838 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.685e-06/12.1, allocations: 4 kB / 4.838 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003256/12.1, allocations: 99.31 kB / 4.838 GB, free: 24.82 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 757 * Number of variables: 757 Notification: Performance of Generate backend data structure: time 0.0132/12.12, allocations: 4.201 MB / 4.842 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/12.12, allocations: 8.031 kB / 4.842 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006962/12.12, allocations: 0.9709 MB / 4.843 GB, free: 19.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006661/12.13, allocations: 2.609 MB / 4.845 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/12.13, allocations: 297.9 kB / 4.846 GB, free: 16.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006445/12.13, allocations: 319.9 kB / 4.846 GB, free: 16.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007824/12.14, allocations: 3.742 MB / 4.85 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/12.14, allocations: 3.938 kB / 4.85 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003721/12.14, allocations: 124 kB / 4.85 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.801e-05/12.14, allocations: 113.8 kB / 4.85 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006035/12.15, allocations: 3.141 MB / 4.853 GB, free: 9.047 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.02316/12.17, allocations: 15.05 MB / 4.868 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/12.17, allocations: 1.956 MB / 4.87 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005825/12.17, allocations: 333.2 kB / 4.87 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.177e-05/12.17, allocations: 60.8 kB / 4.87 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=192): time 4.308e-06/12.17, allocations: 0 / 4.87 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=192): time 0.009317/12.18, allocations: 3.236 MB / 4.873 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/12.18, allocations: 73.41 kB / 4.873 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/12.19, allocations: 1.789 MB / 4.875 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005478/12.19, allocations: 69.7 kB / 4.875 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.5612/12.75, allocations: 1.503 MB / 4.876 GB, free: 63.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001433/12.75, allocations: 0.6762 MB / 4.877 GB, free: 63.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/12.75, allocations: 49.62 kB / 4.877 GB, free: 63.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001719/12.75, allocations: 395.7 kB / 4.877 GB, free: 63.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/12.75, allocations: 0.9217 MB / 4.878 GB, free: 63.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/12.76, allocations: 1.642 MB / 4.88 GB, free: 62.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/12.76, allocations: 1.276 MB / 4.881 GB, free: 62.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/12.76, allocations: 5.625 kB / 4.881 GB, free: 62.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.005912/12.76, allocations: 2.922 MB / 4.884 GB, free: 61.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001684/12.77, allocations: 6.731 MB / 4.891 GB, free: 54.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.808e-05/12.77, allocations: 16.09 kB / 4.891 GB, free: 54.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/12.77, allocations: 30.03 kB / 4.891 GB, free: 54.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007965/12.77, allocations: 1.116 MB / 4.892 GB, free: 54.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004525/12.78, allocations: 4.619 MB / 4.896 GB, free: 50.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005037/12.78, allocations: 443 kB / 4.897 GB, free: 50.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004356/12.78, allocations: 108.8 kB / 4.897 GB, free: 50.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/12.78, allocations: 5.656 kB / 4.897 GB, free: 50.58 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004196/12.79, allocations: 2.506 MB / 4.899 GB, free: 50.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/12.79, allocations: 18.94 kB / 4.899 GB, free: 50.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/12.79, allocations: 28.75 kB / 4.899 GB, free: 50.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/12.79, allocations: 0.5129 MB / 4.9 GB, free: 50.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.775e-05/12.79, allocations: 33.86 kB / 4.9 GB, free: 50.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/12.79, allocations: 382.7 kB / 4.9 GB, free: 50.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/12.8, allocations: 102.1 kB / 4.9 GB, free: 50.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 3 * 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.002736/12.8, allocations: 0.916 MB / 4.901 GB, free: 50.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009534/12.8, allocations: 284.2 kB / 4.902 GB, free: 50.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/12.8, allocations: 318.2 kB / 4.902 GB, free: 50.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/12.8, allocations: 15.78 kB / 4.902 GB, free: 50.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/12.8, allocations: 0.8125 kB / 4.902 GB, free: 50.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003273/12.8, allocations: 2.06 MB / 4.904 GB, free: 49.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/12.81, allocations: 5.515 MB / 4.909 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/12.81, allocations: 2.844 kB / 4.909 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007218/12.82, allocations: 1.182 MB / 4.91 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.55e-05/12.82, allocations: 11.91 kB / 4.91 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/12.82, allocations: 54.67 kB / 4.91 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/12.84, allocations: 10.59 MB / 4.921 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/12.84, allocations: 4.125 kB / 4.921 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007657/12.84, allocations: 3.897 MB / 4.925 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/12.85, allocations: 0.6075 MB / 4.925 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005269/12.85, allocations: 46.28 kB / 4.925 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/12.85, allocations: 301.9 kB / 4.926 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/12.85, allocations: 130.8 kB / 4.926 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/12.85, allocations: 81.44 kB / 4.926 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00258/12.85, allocations: 1.367 MB / 4.927 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/12.85, allocations: 0 / 4.927 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01099/12.86, allocations: 2.287 MB / 4.929 GB, free: 38.7 MB / 0.7448 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 (192): * Single equations (assignments): 185 * 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.009394/12.87, allocations: 4.879 MB / 4.934 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01312/12.89, allocations: 4.43 MB / 4.938 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.955e-05/12.89, allocations: 3.984 kB / 4.938 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.006402/12.89, allocations: 1.709 MB / 4.94 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008736/12.9, allocations: 1.604 MB / 4.942 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/12.92, allocations: 8.21 MB / 4.95 GB, free: 32.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/12.92, allocations: 2.327 MB / 4.952 GB, free: 31.99 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004823/12.92, allocations: 1.114 MB / 4.953 GB, free: 31.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/12.92, allocations: 222.6 kB / 4.953 GB, free: 31.95 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/12.92, allocations: 2.906 kB / 4.953 GB, free: 31.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.1619/13.08, allocations: 102.5 MB / 5.053 GB, free: 25.73 MB / 0.7448 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)