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.6512/0.6512, allocations: 94.78 MB / 102.3 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00128/0.00128, allocations: 167.3 kB / 125.6 MB, free: 11.9 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.711/1.711, allocations: 170.6 MB / 319.4 MB, free: 9.359 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.0016/0.0016, allocations: 107.3 kB / 381.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.585e-05, allocations: 4 kB / 449.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1675, allocations: 61.52 MB / 0.4987 GB, free: 4.145 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.717/1.885, allocations: 448.1 MB / 0.9363 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.885, allocations: 85.38 kB / 0.9364 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.932/4.817, allocations: 0.7135 GB / 1.65 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.755e-06/4.817, allocations: 0 / 1.65 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000623/4.818, allocations: 88.34 kB / 1.65 GB, free: 48.39 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.0113/4.829, allocations: 2.66 MB / 1.653 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.974e-05/4.829, allocations: 18.77 kB / 1.653 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/4.833, allocations: 376.9 kB / 1.653 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/4.844, allocations: 2.671 MB / 1.656 GB, free: 44.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/4.844, allocations: 147.4 kB / 1.656 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/4.846, allocations: 147.3 kB / 1.656 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006408/4.852, allocations: 1.794 MB / 1.658 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009405/4.862, allocations: 2.235 MB / 1.66 GB, free: 42.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/4.862, allocations: 11.88 kB / 1.66 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009481/4.863, allocations: 11.8 kB / 1.66 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/4.863, allocations: 51.34 kB / 1.66 GB, free: 42.29 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.02253/4.886, allocations: 11.19 MB / 1.671 GB, free: 32.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/4.888, allocations: 1.158 MB / 1.672 GB, free: 32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/4.889, allocations: 0.6428 MB / 1.673 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008697/4.898, allocations: 3.146 MB / 1.676 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.202e-05/4.898, allocations: 55.25 kB / 1.676 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=126): time 6.272e-06/4.898, allocations: 0 / 1.676 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=151): time 0.01312/4.911, allocations: 3.865 MB / 1.679 GB, free: 26.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/4.911, allocations: 145.8 kB / 1.68 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/4.915, allocations: 1.347 MB / 1.681 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000335/4.915, allocations: 29.7 kB / 1.681 GB, free: 25.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001455/4.917, allocations: 1.277 MB / 1.682 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006368/4.917, allocations: 0.5119 MB / 1.683 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/4.918, allocations: 8 kB / 1.683 GB, free: 23.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002208/4.918, allocations: 386.1 kB / 1.683 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/4.919, allocations: 0.6133 MB / 1.684 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/4.921, allocations: 1.333 MB / 1.685 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/4.924, allocations: 1.003 MB / 1.686 GB, free: 19.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/4.924, allocations: 4 kB / 1.686 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.005577/4.929, allocations: 2.23 MB / 1.688 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003951/4.933, allocations: 8.407 MB / 1.696 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.171e-05/4.933, allocations: 20 kB / 1.696 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/4.933, allocations: 36 kB / 1.696 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/4.937, allocations: 0.6773 MB / 1.697 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/4.94, allocations: 4.255 MB / 1.701 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/4.944, allocations: 194.9 kB / 1.701 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004574/4.944, allocations: 112 kB / 1.701 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/4.944, allocations: 4 kB / 1.701 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004163/4.948, allocations: 1.855 MB / 1.703 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.174e-05/4.948, allocations: 23.98 kB / 1.703 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.81e-05/4.948, allocations: 32 kB / 1.703 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/4.95, allocations: 0.5077 MB / 1.704 GB, free: 500 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.205e-05/4.95, allocations: 43.86 kB / 1.704 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/4.953, allocations: 195.5 kB / 1.704 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/4.954, allocations: 107.4 kB / 1.704 GB, free: 156 kB / 0.5261 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 (268): * Single equations (assignments): 254 * 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.0007853/4.955, allocations: 178.2 kB / 1.704 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/4.956, allocations: 225.1 kB / 1.705 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/4.96, allocations: 1.527 MB / 1.706 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/4.96, allocations: 16 kB / 1.706 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/4.96, allocations: 0 / 1.706 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/4.96, allocations: 7.969 kB / 1.706 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/4.971, allocations: 3.373 MB / 1.709 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/4.972, allocations: 0 / 1.709 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/4.974, allocations: 0.5033 MB / 1.71 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-05/4.974, allocations: 7.234 kB / 1.71 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/4.975, allocations: 23.94 kB / 1.71 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/4.978, allocations: 4.2 MB / 1.714 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/4.978, allocations: 0 / 1.714 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006266/4.985, allocations: 2.288 MB / 1.716 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/4.987, allocations: 286.6 kB / 1.717 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/4.988, allocations: 11.98 kB / 1.717 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/4.991, allocations: 139.1 kB / 1.717 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/4.991, allocations: 81.2 kB / 1.717 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/4.991, allocations: 59.95 kB / 1.717 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003059/4.994, allocations: 0.9804 MB / 1.718 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/4.994, allocations: 0 / 1.718 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008835/5.003, allocations: 1.238 MB / 1.719 GB, free: 0.793 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.003046/5.006, allocations: 0.6319 MB / 1.72 GB, free: 224 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.492/5.498, allocations: 3.567 MB / 1.723 GB, free: 62.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/5.498, allocations: 4.375 kB / 1.723 GB, free: 62.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002521/5.501, allocations: 0.8252 MB / 1.724 GB, free: 62.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006418/5.507, allocations: 0.9711 MB / 1.725 GB, free: 62.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/5.518, allocations: 4.214 MB / 1.729 GB, free: 61.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/5.52, allocations: 1.877 MB / 1.731 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005168/5.525, allocations: 0.8883 MB / 1.732 GB, free: 61.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/5.525, allocations: 151.9 kB / 1.732 GB, free: 61.04 MB / 0.5417 GB Notification: Performance of SimCode: time 1.673e-06/5.525, allocations: 0 / 1.732 GB, free: 61.04 MB / 0.5417 GB Notification: Performance of Templates: time 0.118/5.643, allocations: 43.42 MB / 1.774 GB, free: 58.46 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)