Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5521/0.5521, allocations: 94.69 MB / 107.3 MB, free: 5.211 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001161/0.001161, allocations: 182.4 kB / 130.7 MB, free: 7.578 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.51/1.51, allocations: 170.5 MB / 324.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001646/0.001647, allocations: 102.1 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.891e-05/4.894e-05, allocations: 7.984 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4612, allocations: 61.51 MB / 0.5054 GB, free: 49.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.371/1.833, allocations: 448.8 MB / 0.9437 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/1.833, allocations: 86.7 kB / 0.9438 GB, free: 166.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.969/4.802, allocations: 0.7169 GB / 1.661 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.729e-06/4.802, allocations: 0 / 1.661 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003432/4.803, allocations: 82.8 kB / 1.661 GB, free: 38.89 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01064/4.813, allocations: 2.654 MB / 1.663 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.843e-05/4.813, allocations: 13.28 kB / 1.663 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/4.817, allocations: 371.9 kB / 1.664 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/4.827, allocations: 2.671 MB / 1.666 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004629/4.828, allocations: 236.6 kB / 1.667 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/4.829, allocations: 239.8 kB / 1.667 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009796/4.839, allocations: 2.586 MB / 1.669 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/4.839, allocations: 3.938 kB / 1.669 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007815/4.84, allocations: 98.02 kB / 1.669 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/4.84, allocations: 53.75 kB / 1.669 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005294/4.845, allocations: 1.971 MB / 1.671 GB, free: 31.67 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01899/4.864, allocations: 11.63 MB / 1.683 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/4.867, allocations: 1.238 MB / 1.684 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009853/4.868, allocations: 0.689 MB / 1.685 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006939/4.875, allocations: 3.233 MB / 1.688 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/4.875, allocations: 55.56 kB / 1.688 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=126): time 5.56e-06/4.875, allocations: 0 / 1.688 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=151): time 0.01562/4.89, allocations: 4.954 MB / 1.693 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/4.89, allocations: 141.8 kB / 1.693 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/4.894, allocations: 1.663 MB / 1.694 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003202/4.894, allocations: 65.7 kB / 1.694 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/4.895, allocations: 1.259 MB / 1.696 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005271/4.896, allocations: 0.5353 MB / 1.696 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/4.896, allocations: 48 kB / 1.696 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000162/4.896, allocations: 390.1 kB / 1.697 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/4.897, allocations: 0.6602 MB / 1.697 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/4.899, allocations: 1.407 MB / 1.699 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/4.901, allocations: 1.109 MB / 1.7 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/4.901, allocations: 15.94 kB / 1.7 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.004719/4.905, allocations: 2.545 MB / 1.702 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.004342/4.91, allocations: 8.497 MB / 1.711 GB, free: 5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.366e-05/4.91, allocations: 20 kB / 1.711 GB, free: 4.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-05/4.91, allocations: 35.5 kB / 1.711 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/4.914, allocations: 0.6904 MB / 1.711 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5958/5.509, allocations: 4.14 MB / 1.715 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/5.513, allocations: 243.8 kB / 1.716 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004247/5.514, allocations: 105.7 kB / 1.716 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/5.514, allocations: 7.156 kB / 1.716 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004026/5.518, allocations: 2.326 MB / 1.718 GB, free: 59.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/5.518, allocations: 21.31 kB / 1.718 GB, free: 59.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.356e-05/5.518, allocations: 34.25 kB / 1.718 GB, free: 59.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/5.52, allocations: 0.5085 MB / 1.718 GB, free: 59.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-05/5.52, allocations: 42.67 kB / 1.719 GB, free: 59.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/5.523, allocations: 239.6 kB / 1.719 GB, free: 59.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/5.523, allocations: 111.9 kB / 1.719 GB, free: 59.53 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 7 * 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.0007953/5.524, allocations: 245.9 kB / 1.719 GB, free: 59.42 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007113/5.525, allocations: 238.1 kB / 1.719 GB, free: 59.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/5.528, allocations: 1.552 MB / 1.721 GB, free: 59.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/5.528, allocations: 22.06 kB / 1.721 GB, free: 59.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/5.528, allocations: 0 / 1.721 GB, free: 59.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/5.528, allocations: 10.31 kB / 1.721 GB, free: 59.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006858/5.535, allocations: 3.596 MB / 1.724 GB, free: 58.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/5.535, allocations: 2.875 kB / 1.724 GB, free: 58.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002518/5.537, allocations: 0.5031 MB / 1.725 GB, free: 58.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/5.537, allocations: 5.188 kB / 1.725 GB, free: 58.97 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/5.537, allocations: 40.69 kB / 1.725 GB, free: 58.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/5.539, allocations: 4.099 MB / 1.729 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/5.539, allocations: 1.281 kB / 1.729 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/5.543, allocations: 2.297 MB / 1.731 GB, free: 54.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/5.544, allocations: 317.5 kB / 1.731 GB, free: 54.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/5.545, allocations: 34.88 kB / 1.731 GB, free: 54.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/5.546, allocations: 151.9 kB / 1.732 GB, free: 54.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/5.546, allocations: 91.73 kB / 1.732 GB, free: 54.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/5.547, allocations: 60.81 kB / 1.732 GB, free: 54.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001975/5.549, allocations: 1.237 MB / 1.733 GB, free: 54.44 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/5.549, allocations: 3.125 kB / 1.733 GB, free: 54.44 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005045/5.554, allocations: 1.357 MB / 1.734 GB, free: 54.44 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (vol.dynBal.medium.p,vol.dynBal.medium.T,vol.dynBal.mC[1],vol1.dynBal.medium.p,vol1.dynBal.medium.T,vol1.dynBal.mC[1],vol2.dynBal.medium.p,vol2.dynBal.medium.T,vol2.dynBal.mC[1],vol3.dynBal.medium.p,vol3.dynBal.medium.T,vol3.dynBal.mC[1],vol4.dynBal.medium.p,vol4.dynBal.medium.T,vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 144 * 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.001686/5.555, allocations: 0.6567 MB / 1.735 GB, free: 54.35 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006823/5.562, allocations: 3.799 MB / 1.739 GB, free: 53.42 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/5.562, allocations: 3.531 kB / 1.739 GB, free: 53.42 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/5.565, allocations: 0.8595 MB / 1.74 GB, free: 53.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006361/5.571, allocations: 1.105 MB / 1.741 GB, free: 53.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/5.58, allocations: 4.322 MB / 1.745 GB, free: 52.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/5.581, allocations: 1.878 MB / 1.747 GB, free: 51.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004357/5.586, allocations: 0.9599 MB / 1.748 GB, free: 51.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/5.586, allocations: 158.5 kB / 1.748 GB, free: 51.66 MB / 0.5417 GB Notification: Performance of SimCode: time 1.503e-06/5.586, allocations: 0 / 1.748 GB, free: 51.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.107/5.693, allocations: 49.01 MB / 1.796 GB, free: 48.77 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)