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.7867/0.7867, allocations: 128.7 MB / 143.7 MB, free: 2.316 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.001282/0.001282, allocations: 182.1 kB / 173.8 MB, free: 6.113 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.893/1.893, allocations: 205.4 MB / 409 MB, free: 10.5 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.001289/0.001289, allocations: 86.81 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 14.22 kB / 0.5603 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1833, allocations: 76.76 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.921/5.104, allocations: 2.167 GB / 2.802 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/5.104, allocations: 95.2 kB / 2.802 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.662/12.77, allocations: 2.035 GB / 4.838 GB, free: 56.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.417e-06/12.77, allocations: 0 / 4.838 GB, free: 56.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004771/12.77, allocations: 108.3 kB / 4.838 GB, free: 56.39 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.01721/12.78, allocations: 4.204 MB / 4.842 GB, free: 54.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/12.78, allocations: 8.594 kB / 4.842 GB, free: 54.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008285/12.79, allocations: 0.9656 MB / 4.843 GB, free: 54.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/12.8, allocations: 2.61 MB / 4.845 GB, free: 53.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004748/12.8, allocations: 297.1 kB / 4.846 GB, free: 53.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/12.81, allocations: 317.7 kB / 4.846 GB, free: 53.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/12.82, allocations: 3.738 MB / 4.85 GB, free: 53.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.351e-05/12.82, allocations: 3.625 kB / 4.85 GB, free: 53.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005597/12.82, allocations: 131.3 kB / 4.85 GB, free: 53.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/12.82, allocations: 111.2 kB / 4.85 GB, free: 53.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009189/12.83, allocations: 3.137 MB / 4.853 GB, free: 53.57 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.03152/12.86, allocations: 15.05 MB / 4.868 GB, free: 45.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006061/12.87, allocations: 1.964 MB / 4.87 GB, free: 45.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008078/12.87, allocations: 328.9 kB / 4.87 GB, free: 45.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.689e-05/12.87, allocations: 61.92 kB / 4.87 GB, free: 45.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=192): time 8.967e-06/12.87, allocations: 0 / 4.87 GB, free: 45.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=192): time 0.01171/12.88, allocations: 3.234 MB / 4.873 GB, free: 45.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/12.88, allocations: 77.34 kB / 4.873 GB, free: 45.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/12.88, allocations: 1.795 MB / 4.875 GB, free: 44.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009023/12.88, allocations: 69.45 kB / 4.875 GB, free: 44.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/12.89, allocations: 1.508 MB / 4.876 GB, free: 44.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/12.89, allocations: 0.6768 MB / 4.877 GB, free: 43.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004781/12.89, allocations: 47.09 kB / 4.877 GB, free: 43.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003333/12.89, allocations: 397.6 kB / 4.877 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002352/12.89, allocations: 0.9211 MB / 4.878 GB, free: 43.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/12.89, allocations: 1.642 MB / 4.88 GB, free: 42.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/12.9, allocations: 1.272 MB / 4.881 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.698e-05/12.9, allocations: 7.156 kB / 4.881 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.007348/12.9, allocations: 2.918 MB / 4.884 GB, free: 42.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001909/12.91, allocations: 6.738 MB / 4.891 GB, free: 35.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.124e-05/12.91, allocations: 15 kB / 4.891 GB, free: 35.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.803e-05/12.91, allocations: 28.78 kB / 4.891 GB, free: 35.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007559/12.91, allocations: 1.115 MB / 4.892 GB, free: 35.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/12.92, allocations: 4.611 MB / 4.896 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005542/12.92, allocations: 447.4 kB / 4.897 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008427/12.92, allocations: 107.2 kB / 4.897 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/12.92, allocations: 3.75 kB / 4.897 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006772/12.93, allocations: 2.505 MB / 4.899 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-05/12.93, allocations: 19.94 kB / 4.899 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.077e-05/12.93, allocations: 30.5 kB / 4.899 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/12.93, allocations: 0.5133 MB / 4.9 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.215e-05/12.93, allocations: 39.88 kB / 4.9 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005327/12.94, allocations: 381 kB / 4.9 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005137/12.94, allocations: 102 kB / 4.9 GB, free: 30.69 MB / 0.7292 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.003181/12.94, allocations: 0.9083 MB / 4.901 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/12.94, allocations: 283 kB / 4.901 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/12.95, allocations: 314.3 kB / 4.902 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/12.95, allocations: 21.47 kB / 4.902 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/12.95, allocations: 0 / 4.902 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004083/12.95, allocations: 2.058 MB / 4.904 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/12.96, allocations: 5.523 MB / 4.909 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/12.96, allocations: 7.594 kB / 4.909 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00763/12.97, allocations: 1.178 MB / 4.91 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.663e-05/12.97, allocations: 10.31 kB / 4.91 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005001/12.97, allocations: 50.77 kB / 4.91 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/12.99, allocations: 10.59 MB / 4.921 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/12.99, allocations: 3.562 kB / 4.921 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009104/13, allocations: 3.906 MB / 4.925 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00474/13, allocations: 0.6055 MB / 4.925 GB, free: 35.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/13, allocations: 49.12 kB / 4.925 GB, free: 35.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00471/13.01, allocations: 296.6 kB / 4.926 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006865/13.01, allocations: 131.7 kB / 4.926 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005063/13.01, allocations: 87.42 kB / 4.926 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003648/13.01, allocations: 1.365 MB / 4.927 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.514e-06/13.01, allocations: 0 / 4.927 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01164/13.03, allocations: 2.288 MB / 4.929 GB, free: 34.79 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.009477/13.04, allocations: 4.872 MB / 4.934 GB, free: 32.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01427/13.05, allocations: 4.425 MB / 4.938 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/13.05, allocations: 0 / 4.938 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.007284/13.06, allocations: 1.716 MB / 4.94 GB, free: 32.03 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009569/13.07, allocations: 1.605 MB / 4.942 GB, free: 32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/13.08, allocations: 8.206 MB / 4.95 GB, free: 28.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00393/13.09, allocations: 2.329 MB / 4.952 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006619/13.09, allocations: 1.116 MB / 4.953 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/13.1, allocations: 222.4 kB / 4.953 GB, free: 27.76 MB / 0.7448 GB Notification: Performance of SimCode: time 1.272e-06/13.1, allocations: 4 kB / 4.953 GB, free: 27.76 MB / 0.7448 GB Notification: Performance of Templates: time 0.1614/13.26, allocations: 102.5 MB / 5.053 GB, free: 2.355 MB / 0.7605 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)