Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.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.MixingVolumes.Examples.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5967/0.5967, allocations: 94.78 MB / 102.2 MB, free: 10.13 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.001287/0.001287, allocations: 180.1 kB / 125.6 MB, free: 11.87 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.658/1.658, allocations: 170.6 MB / 319.4 MB, free: 9.32 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.001686/0.001686, allocations: 106.7 kB / 381.3 MB, free: 18.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.202e-05, allocations: 0 / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 61.52 MB / 0.4987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.82/15.05, allocations: 5.268 GB / 5.767 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/15.05, allocations: 83.95 kB / 5.767 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.772/20.82, allocations: 1.187 GB / 6.954 GB, free: 40.53 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.416e-06/20.82, allocations: 4 kB / 6.954 GB, free: 40.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004015/20.82, allocations: 68.09 kB / 6.954 GB, free: 40.51 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.01429/20.84, allocations: 3.23 MB / 6.958 GB, free: 38.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.229e-05/20.84, allocations: 10.64 kB / 6.958 GB, free: 38.74 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/20.84, allocations: 266.5 kB / 6.958 GB, free: 38.62 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7761/21.61, allocations: 78.79 MB / 7.035 GB, free: 43.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/21.61, allocations: 188.5 kB / 7.035 GB, free: 43.17 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000932/21.62, allocations: 103.7 kB / 7.035 GB, free: 43.17 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004929/21.62, allocations: 1.648 MB / 7.037 GB, free: 43.16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005555/21.63, allocations: 1.676 MB / 7.038 GB, free: 42.98 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-05/21.63, allocations: 0.5625 kB / 7.038 GB, free: 42.98 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004465/21.63, allocations: 6.062 kB / 7.038 GB, free: 42.98 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.933e-05/21.63, allocations: 62.98 kB / 7.038 GB, free: 42.98 MB / 0.573 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.01454/21.64, allocations: 6.674 MB / 7.045 GB, free: 40.66 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/21.64, allocations: 1.093 MB / 7.046 GB, free: 40.62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00092/21.64, allocations: 0.5636 MB / 7.046 GB, free: 40.61 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/21.64, allocations: 0.5685 MB / 7.047 GB, free: 40.05 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/21.64, allocations: 52.69 kB / 7.047 GB, free: 40.01 MB / 0.573 GB Notification: Performance of pre-optimization done (n=121): time 3.406e-06/21.64, allocations: 3.906 kB / 7.047 GB, free: 40.01 MB / 0.573 GB Notification: Performance of matching and sorting (n=142): time 0.02256/21.67, allocations: 6.726 MB / 7.054 GB, free: 38.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/21.67, allocations: 67.62 kB / 7.054 GB, free: 38.35 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/21.67, allocations: 1.027 MB / 7.055 GB, free: 38.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000294/21.67, allocations: 28.83 kB / 7.055 GB, free: 38.16 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008306/21.67, allocations: 0.8698 MB / 7.056 GB, free: 37.88 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000606/21.67, allocations: 492.9 kB / 7.056 GB, free: 37.63 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/21.67, allocations: 0 / 7.056 GB, free: 37.63 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001726/21.67, allocations: 366.1 kB / 7.056 GB, free: 37.32 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/21.67, allocations: 0.649 MB / 7.057 GB, free: 37.32 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/21.67, allocations: 1.043 MB / 7.058 GB, free: 36.89 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/21.68, allocations: 1.208 MB / 7.059 GB, free: 36.88 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/21.68, allocations: 2.562 kB / 7.059 GB, free: 36.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007489/21.69, allocations: 2.558 MB / 7.062 GB, free: 36.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001411/21.69, allocations: 3.589 MB / 7.065 GB, free: 33.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/21.69, allocations: 9.844 kB / 7.065 GB, free: 33.04 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/21.69, allocations: 378 kB / 7.066 GB, free: 33.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/21.69, allocations: 375.6 kB / 7.066 GB, free: 33.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/21.71, allocations: 7.875 MB / 7.074 GB, free: 28.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003746/21.71, allocations: 158.5 kB / 7.074 GB, free: 28.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008864/21.71, allocations: 91.53 kB / 7.074 GB, free: 28.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/21.71, allocations: 3.438 kB / 7.074 GB, free: 28.1 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008885/21.72, allocations: 2.575 MB / 7.076 GB, free: 27.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.737e-05/21.72, allocations: 8.344 kB / 7.076 GB, free: 27.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/21.72, allocations: 379.6 kB / 7.077 GB, free: 27.94 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/21.72, allocations: 368.9 kB / 7.077 GB, free: 27.94 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006585/21.73, allocations: 5.477 MB / 7.082 GB, free: 24.22 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/21.73, allocations: 162.8 kB / 7.083 GB, free: 24.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005943/21.74, allocations: 83.92 kB / 7.083 GB, free: 24.21 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 5 (vol2.i_w,vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001114/21.74, allocations: 145.1 kB / 7.083 GB, free: 24.11 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009766/21.74, allocations: 171.3 kB / 7.083 GB, free: 24.02 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009588/21.75, allocations: 2.504 MB / 7.085 GB, free: 23.86 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/21.75, allocations: 28.33 kB / 7.085 GB, free: 23.86 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/21.75, allocations: 8.484 kB / 7.085 GB, free: 23.86 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/21.75, allocations: 9.469 kB / 7.085 GB, free: 23.86 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/21.76, allocations: 4.182 MB / 7.09 GB, free: 23.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/21.76, allocations: 0.6875 kB / 7.09 GB, free: 23.49 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/21.76, allocations: 308.2 kB / 7.09 GB, free: 23.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/21.77, allocations: 432.1 kB / 7.09 GB, free: 23.46 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/21.77, allocations: 41.45 kB / 7.09 GB, free: 23.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004893/21.77, allocations: 4.439 MB / 7.095 GB, free: 19.86 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/21.77, allocations: 1.203 kB / 7.095 GB, free: 19.86 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009642/21.78, allocations: 3.152 MB / 7.098 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/21.78, allocations: 467.8 kB / 7.098 GB, free: 19.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008635/21.78, allocations: 18.02 kB / 7.098 GB, free: 19.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/21.79, allocations: 121.3 kB / 7.098 GB, free: 19.31 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004243/21.79, allocations: 109 kB / 7.098 GB, free: 19.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004545/21.79, allocations: 88.03 kB / 7.099 GB, free: 19.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002597/21.79, allocations: 0.7654 MB / 7.099 GB, free: 19.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.303e-06/21.79, allocations: 0 / 7.099 GB, free: 19.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01123/21.8, allocations: 1.593 MB / 7.101 GB, free: 19.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T,vol.medium.p,vol.medium.Xi[1],vol.medium.T,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.medium.p,vol2.dynBal.medium.Xi[1],vol2.dynBal.medium.T,entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009588/21.81, allocations: 2.887 MB / 7.104 GB, free: 18.75 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009144/21.82, allocations: 3.646 MB / 7.107 GB, free: 17.95 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/21.82, allocations: 0 / 7.107 GB, free: 17.95 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002864/21.82, allocations: 1.27 MB / 7.108 GB, free: 17.63 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006776/21.83, allocations: 0.7795 MB / 7.109 GB, free: 17.61 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/21.84, allocations: 3.633 MB / 7.113 GB, free: 16.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/21.84, allocations: 1.596 MB / 7.114 GB, free: 16.11 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005023/21.85, allocations: 0.7599 MB / 7.115 GB, free: 16.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007455/21.85, allocations: 159.9 kB / 7.115 GB, free: 16.07 MB / 0.573 GB Notification: Performance of SimCode: time 2.134e-06/21.85, allocations: 0 / 7.115 GB, free: 16.07 MB / 0.573 GB Notification: Performance of Templates: time 0.1035/21.95, allocations: 57.84 MB / 7.172 GB, free: 12.81 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.pipe 2>&1)