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.541/0.541, allocations: 94.69 MB / 107.3 MB, free: 5.176 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.001095/0.001095, allocations: 167.1 kB / 130.7 MB, free: 7.543 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.625/1.625, allocations: 170.5 MB / 324.5 MB, free: 4.004 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.001679/0.00168, allocations: 114.3 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.626e-05/5.638e-05, allocations: 7.938 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5833, allocations: 61.51 MB / 0.5054 GB, free: 49.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.75/15.34, allocations: 5.269 GB / 5.774 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/15.34, allocations: 84.58 kB / 5.774 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.559/20.9, allocations: 1.201 GB / 6.975 GB, free: 46.42 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.496e-06/20.9, allocations: 0 / 6.975 GB, free: 46.42 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002782/20.9, allocations: 67.45 kB / 6.975 GB, free: 46.42 MB / 0.573 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.01756/20.91, allocations: 3.235 MB / 6.978 GB, free: 45.03 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 9.107e-05/20.91, allocations: 13.16 kB / 6.978 GB, free: 45.03 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/20.92, allocations: 266.8 kB / 6.978 GB, free: 44.91 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1669/21.08, allocations: 79.74 MB / 7.056 GB, free: 38.17 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/21.08, allocations: 250.6 kB / 7.056 GB, free: 38.04 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000612/21.08, allocations: 171.4 kB / 7.057 GB, free: 38.04 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004556/21.09, allocations: 1.938 MB / 7.059 GB, free: 37.85 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/21.09, allocations: 3.781 kB / 7.059 GB, free: 37.85 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/21.09, allocations: 69.25 kB / 7.059 GB, free: 37.85 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/21.09, allocations: 63.41 kB / 7.059 GB, free: 37.84 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/21.09, allocations: 1.777 MB / 7.06 GB, free: 37.81 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.01284/21.11, allocations: 7.006 MB / 7.067 GB, free: 35.28 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/21.11, allocations: 1.16 MB / 7.068 GB, free: 35.24 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008764/21.11, allocations: 0.5908 MB / 7.069 GB, free: 35.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006882/21.11, allocations: 0.5733 MB / 7.07 GB, free: 34.67 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/21.11, allocations: 59 kB / 7.07 GB, free: 34.62 MB / 0.573 GB Notification: Performance of pre-optimization done (n=121): time 3.737e-06/21.11, allocations: 0 / 7.07 GB, free: 34.62 MB / 0.573 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: vol1.dynBal.medium.T 2: vol1.dynBal.medium.Xi[1] 3: vol1.dynBal.medium.p 4: vol.medium.Xi[1] 5: vol.medium.T 6: vol.medium.p 7: vol2.dynBal.medium.Xi[1] 8: vol2.dynBal.medium.T 9: vol2.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=121): time 0.01082/21.12, allocations: 2.991 MB / 7.072 GB, free: 34.43 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/21.12, allocations: 61.91 kB / 7.073 GB, free: 34.36 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/21.12, allocations: 1.286 MB / 7.074 GB, free: 34.19 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003175/21.12, allocations: 59.33 kB / 7.074 GB, free: 34.16 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006318/21.12, allocations: 0.855 MB / 7.075 GB, free: 33.83 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/21.12, allocations: 434.6 kB / 7.075 GB, free: 33.55 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/21.12, allocations: 30 kB / 7.075 GB, free: 33.55 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000125/21.12, allocations: 366.2 kB / 7.075 GB, free: 33.25 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008397/21.12, allocations: 0.5127 MB / 7.076 GB, free: 33.24 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/21.13, allocations: 0.9129 MB / 7.077 GB, free: 32.79 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/21.13, allocations: 0.6962 MB / 7.078 GB, free: 32.71 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/21.13, allocations: 0 / 7.078 GB, free: 32.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003091/21.13, allocations: 1.691 MB / 7.079 GB, free: 32.47 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009725/21.13, allocations: 3.624 MB / 7.083 GB, free: 28.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/21.13, allocations: 12.95 kB / 7.083 GB, free: 28.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.164e-05/21.13, allocations: 23.64 kB / 7.083 GB, free: 28.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/21.13, allocations: 328.1 kB / 7.083 GB, free: 28.58 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.359e-05/21.13, allocations: 24.56 kB / 7.083 GB, free: 28.58 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/21.14, allocations: 247.5 kB / 7.083 GB, free: 28.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/21.14, allocations: 69.53 kB / 7.083 GB, free: 28.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/21.14, allocations: 3.844 kB / 7.083 GB, free: 28.48 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002506/21.14, allocations: 1.51 MB / 7.085 GB, free: 28.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/21.14, allocations: 12.67 kB / 7.085 GB, free: 28.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/21.14, allocations: 21.42 kB / 7.085 GB, free: 28.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/21.14, allocations: 328.1 kB / 7.085 GB, free: 28.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/21.14, allocations: 22.06 kB / 7.085 GB, free: 28.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/21.14, allocations: 225.4 kB / 7.085 GB, free: 28.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/21.14, allocations: 64.73 kB / 7.086 GB, free: 28.25 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 (186): * Single equations (assignments): 185 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005481/21.14, allocations: 195.2 kB / 7.086 GB, free: 28.11 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/21.14, allocations: 194 kB / 7.086 GB, free: 28.02 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/21.15, allocations: 1.623 MB / 7.087 GB, free: 27.86 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/21.15, allocations: 17 kB / 7.088 GB, free: 27.86 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/21.15, allocations: 0 / 7.088 GB, free: 27.86 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/21.15, allocations: 9.375 kB / 7.088 GB, free: 27.86 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/21.15, allocations: 3.005 MB / 7.09 GB, free: 26.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/21.15, allocations: 3.562 kB / 7.09 GB, free: 26.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/21.15, allocations: 249.7 kB / 7.091 GB, free: 26.67 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/21.15, allocations: 271.5 kB / 7.091 GB, free: 26.62 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/21.15, allocations: 41.34 kB / 7.091 GB, free: 26.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009691/21.15, allocations: 1.723 MB / 7.093 GB, free: 24.95 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/21.15, allocations: 0 / 7.093 GB, free: 24.95 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/21.16, allocations: 2.275 MB / 7.095 GB, free: 23.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/21.16, allocations: 447.3 kB / 7.095 GB, free: 23.63 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/21.16, allocations: 27.78 kB / 7.095 GB, free: 23.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/21.16, allocations: 149.8 kB / 7.095 GB, free: 23.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/21.16, allocations: 79.34 kB / 7.096 GB, free: 23.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/21.16, allocations: 68.38 kB / 7.096 GB, free: 23.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001514/21.16, allocations: 0.9776 MB / 7.097 GB, free: 23.17 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.042e-06/21.16, allocations: 0 / 7.097 GB, free: 23.17 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00645/21.17, allocations: 1.556 MB / 7.098 GB, free: 21.88 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.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.U,vol.m,vol.mXi[1],entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 122 * 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: 0 * Non-linear torn systems: 3 {2 1,2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00562/21.18, allocations: 2.388 MB / 7.1 GB, free: 20.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004204/21.18, allocations: 2.308 MB / 7.103 GB, free: 17.91 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/21.18, allocations: 3 kB / 7.103 GB, free: 17.91 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/21.18, allocations: 0.7047 MB / 7.103 GB, free: 17.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005778/21.19, allocations: 0.934 MB / 7.104 GB, free: 16.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008568/21.2, allocations: 3.307 MB / 7.108 GB, free: 13.63 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/21.2, allocations: 1.545 MB / 7.109 GB, free: 12.36 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005386/21.2, allocations: 0.7562 MB / 7.11 GB, free: 11.84 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007599/21.2, allocations: 145.4 kB / 7.11 GB, free: 11.71 MB / 0.573 GB Notification: Performance of SimCode: time 2.275e-06/21.2, allocations: 0 / 7.11 GB, free: 11.71 MB / 0.573 GB Notification: Performance of Templates: time 0.6717/21.88, allocations: 73.48 MB / 7.182 GB, free: 51.45 MB / 0.5886 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)