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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.671/0.671, allocations: 117.9 MB / 133.9 MB, free: 4.523 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.001056/0.001056, allocations: 182.9 kB / 161.7 MB, free: 2.742 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 394.8 MB, free: 20.91 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.000796/0.000796, allocations: 98.02 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004577, allocations: 19.98 kB / 0.5423 GB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4107, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.135/5.546, allocations: 2.166 GB / 2.781 GB, free: 232.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/5.546, allocations: 102.9 kB / 2.781 GB, free: 232.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.015/13.56, allocations: 2.03 GB / 4.812 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.893e-06/13.56, allocations: 2.875 kB / 4.812 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006021/13.56, allocations: 108.5 kB / 4.812 GB, free: 53.77 MB / 0.7136 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.01669/13.58, allocations: 4.163 MB / 4.816 GB, free: 52.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/13.58, allocations: 11.12 kB / 4.816 GB, free: 52.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008129/13.59, allocations: 0.9512 MB / 4.817 GB, free: 52.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009631/13.6, allocations: 2.717 MB / 4.82 GB, free: 51.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003977/13.6, allocations: 300.9 kB / 4.82 GB, free: 51.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/13.6, allocations: 319.1 kB / 4.82 GB, free: 51.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009887/13.61, allocations: 3.766 MB / 4.824 GB, free: 51.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.711e-05/13.61, allocations: 9.609 kB / 4.824 GB, free: 51.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004889/13.61, allocations: 124.4 kB / 4.824 GB, free: 51.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/13.61, allocations: 112.2 kB / 4.824 GB, free: 51.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008156/13.62, allocations: 3.139 MB / 4.827 GB, free: 51.1 MB / 0.7136 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.02203/13.64, allocations: 15.07 MB / 4.842 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004059/13.64, allocations: 1.964 MB / 4.844 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/13.64, allocations: 1.094 MB / 4.845 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004822/13.65, allocations: 330 kB / 4.845 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/13.65, allocations: 61.05 kB / 4.845 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=192): time 5.059e-06/13.65, allocations: 3.469 kB / 4.845 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.008099/13.65, allocations: 3.24 MB / 4.848 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/13.65, allocations: 73.81 kB / 4.848 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/13.66, allocations: 2.059 MB / 4.85 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004913/13.66, allocations: 71.27 kB / 4.85 GB, free: 42.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/13.66, allocations: 1.504 MB / 4.852 GB, free: 41.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007369/13.66, allocations: 0.676 MB / 4.853 GB, free: 41.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/13.66, allocations: 49.84 kB / 4.853 GB, free: 41.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001501/13.66, allocations: 395.1 kB / 4.853 GB, free: 40.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/13.66, allocations: 0.9201 MB / 4.854 GB, free: 40.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/13.66, allocations: 1.654 MB / 4.856 GB, free: 40.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003812/13.67, allocations: 2.635 MB / 4.858 GB, free: 39.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/13.67, allocations: 3.875 kB / 4.858 GB, free: 39.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.005267/13.67, allocations: 2.918 MB / 4.861 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003667/13.67, allocations: 0.6453 MB / 4.862 GB, free: 38.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/13.67, allocations: 17.06 kB / 4.862 GB, free: 38.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.196e-05/13.67, allocations: 29.78 kB / 4.862 GB, free: 38.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006059/13.68, allocations: 1.114 MB / 4.863 GB, free: 38.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/13.69, allocations: 10.72 MB / 4.873 GB, free: 29.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005002/13.7, allocations: 455.1 kB / 4.874 GB, free: 29.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005747/13.7, allocations: 107.7 kB / 4.874 GB, free: 29.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/13.7, allocations: 6.969 kB / 4.874 GB, free: 29.07 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004135/13.7, allocations: 2.502 MB / 4.876 GB, free: 28.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/13.7, allocations: 13.44 kB / 4.876 GB, free: 28.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/13.7, allocations: 26.5 kB / 4.876 GB, free: 28.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/13.71, allocations: 0.5115 MB / 4.877 GB, free: 28.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.659e-05/13.71, allocations: 39.25 kB / 4.877 GB, free: 28.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/13.71, allocations: 386.3 kB / 4.877 GB, free: 28.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/13.71, allocations: 97.91 kB / 4.877 GB, free: 28.84 MB / 0.7136 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.002392/13.71, allocations: 0.9109 MB / 4.878 GB, free: 28.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009865/13.71, allocations: 282.4 kB / 4.878 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008124/13.71, allocations: 316.6 kB / 4.879 GB, free: 28.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/13.71, allocations: 20.06 kB / 4.879 GB, free: 28.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/13.71, allocations: 3.812 kB / 4.879 GB, free: 28.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003487/13.72, allocations: 2.057 MB / 4.881 GB, free: 28.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/13.73, allocations: 5.526 MB / 4.886 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/13.73, allocations: 5.031 kB / 4.886 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006595/13.74, allocations: 1.181 MB / 4.887 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-05/13.74, allocations: 15.3 kB / 4.887 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/13.74, allocations: 54.06 kB / 4.887 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/13.75, allocations: 10.47 MB / 4.898 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/13.75, allocations: 8.344 kB / 4.898 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006974/13.76, allocations: 3.661 MB / 4.901 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/13.76, allocations: 0.6079 MB / 4.902 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007132/13.76, allocations: 49.05 kB / 4.902 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/13.77, allocations: 301.2 kB / 4.902 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/13.77, allocations: 132.5 kB / 4.902 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/13.77, allocations: 82.94 kB / 4.902 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002212/13.77, allocations: 1.373 MB / 4.904 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/13.77, allocations: 0 / 4.904 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008547/13.78, allocations: 2.303 MB / 4.906 GB, free: 33.24 MB / 0.7292 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.008975/13.79, allocations: 4.878 MB / 4.911 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01332/13.8, allocations: 4.538 MB / 4.915 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/13.8, allocations: 7.375 kB / 4.915 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006879/13.81, allocations: 1.826 MB / 4.917 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01151/13.82, allocations: 1.607 MB / 4.918 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/13.83, allocations: 8.202 MB / 4.926 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003341/13.84, allocations: 2.268 MB / 4.929 GB, free: 26.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005947/13.84, allocations: 1.118 MB / 4.93 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/13.84, allocations: 227.8 kB / 4.93 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/13.84, allocations: 0 / 4.93 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.16/14, allocations: 103.9 MB / 5.031 GB, free: 5.766 MB / 0.7292 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)