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.5831/0.5831, allocations: 95.62 MB / 110.6 MB, free: 9.367 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.001416/0.001416, allocations: 172.2 kB / 134.2 MB, free: 2.262 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.706/1.706, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.002305/0.002305, allocations: 117.8 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 15.98 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1704, allocations: 61.52 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.53/13.7, allocations: 5.269 GB / 5.781 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/13.7, allocations: 95.94 kB / 5.781 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.802/18.51, allocations: 1.202 GB / 6.983 GB, free: 50.28 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.876e-06/18.51, allocations: 3.125 kB / 6.983 GB, free: 50.28 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001999/18.51, allocations: 62.61 kB / 6.983 GB, free: 50.26 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.01325/18.52, allocations: 3.523 MB / 6.987 GB, free: 48.41 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/18.52, allocations: 12.61 kB / 6.987 GB, free: 48.41 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/18.52, allocations: 271.4 kB / 6.987 GB, free: 48.29 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1558/18.68, allocations: 79.9 MB / 7.065 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/18.68, allocations: 250 kB / 7.065 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005029/18.68, allocations: 171.9 kB / 7.065 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004706/18.68, allocations: 2.004 MB / 7.067 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/18.68, allocations: 3.938 kB / 7.067 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/18.68, allocations: 68 kB / 7.067 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/18.68, allocations: 63.06 kB / 7.067 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/18.69, allocations: 1.854 MB / 7.069 GB, free: 8.137 MB / 0.5886 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.01309/18.7, allocations: 7.01 MB / 7.076 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4735/19.17, allocations: 1.201 MB / 7.077 GB, free: 54.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009973/19.17, allocations: 0.571 MB / 7.078 GB, free: 54.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.112e-05/19.17, allocations: 53.23 kB / 7.078 GB, free: 54.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=121): time 4.708e-06/19.17, allocations: 0.7812 kB / 7.078 GB, free: 54.05 MB / 0.5886 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.01502/19.19, allocations: 3.527 MB / 7.081 GB, free: 53.96 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/19.19, allocations: 64.77 kB / 7.081 GB, free: 53.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/19.19, allocations: 1.301 MB / 7.083 GB, free: 53.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003182/19.19, allocations: 59.52 kB / 7.083 GB, free: 53.72 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/19.19, allocations: 0.8588 MB / 7.084 GB, free: 53.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/19.19, allocations: 431.9 kB / 7.084 GB, free: 53.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/19.19, allocations: 33.25 kB / 7.084 GB, free: 53.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001334/19.19, allocations: 362 kB / 7.084 GB, free: 53.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/19.2, allocations: 0.5496 MB / 7.085 GB, free: 53.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/19.2, allocations: 0.9417 MB / 7.086 GB, free: 52.57 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/19.2, allocations: 0.7073 MB / 7.086 GB, free: 52.53 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/19.2, allocations: 6.453 kB / 7.086 GB, free: 52.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00384/19.2, allocations: 1.763 MB / 7.088 GB, free: 52.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001123/19.2, allocations: 3.625 MB / 7.092 GB, free: 48.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/19.2, allocations: 14.98 kB / 7.092 GB, free: 48.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.117e-05/19.2, allocations: 16 kB / 7.092 GB, free: 48.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/19.2, allocations: 327 kB / 7.092 GB, free: 48.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.274e-05/19.2, allocations: 25.22 kB / 7.092 GB, free: 48.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/19.21, allocations: 244.5 kB / 7.092 GB, free: 48.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/19.21, allocations: 68.11 kB / 7.092 GB, free: 48.49 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/19.21, allocations: 5.844 kB / 7.092 GB, free: 48.49 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002697/19.21, allocations: 1.578 MB / 7.094 GB, free: 48.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/19.21, allocations: 10.88 kB / 7.094 GB, free: 48.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/19.21, allocations: 20.19 kB / 7.094 GB, free: 48.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/19.21, allocations: 319 kB / 7.094 GB, free: 48.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-05/19.21, allocations: 27.39 kB / 7.094 GB, free: 48.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/19.21, allocations: 227.7 kB / 7.095 GB, free: 48.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/19.21, allocations: 67.41 kB / 7.095 GB, free: 48.39 MB / 0.5886 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 () * Number of clocked 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.0015/19.21, allocations: 0.5245 MB / 7.095 GB, free: 48.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005569/19.22, allocations: 180.9 kB / 7.095 GB, free: 48.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/19.22, allocations: 1.692 MB / 7.097 GB, free: 47.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/19.22, allocations: 12.59 kB / 7.097 GB, free: 47.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/19.22, allocations: 6.281 kB / 7.097 GB, free: 47.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/19.22, allocations: 7.453 kB / 7.097 GB, free: 47.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00636/19.23, allocations: 3.068 MB / 7.1 GB, free: 47.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/19.23, allocations: 1.281 kB / 7.1 GB, free: 47.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/19.23, allocations: 238.7 kB / 7.1 GB, free: 47.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/19.23, allocations: 277.5 kB / 7.1 GB, free: 47.56 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/19.23, allocations: 33.3 kB / 7.1 GB, free: 47.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/19.23, allocations: 1.726 MB / 7.102 GB, free: 46 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/19.23, allocations: 0 / 7.102 GB, free: 46 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004809/19.23, allocations: 2.364 MB / 7.104 GB, free: 45.68 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/19.24, allocations: 447 kB / 7.105 GB, free: 45.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/19.24, allocations: 28.14 kB / 7.105 GB, free: 45.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/19.24, allocations: 143.6 kB / 7.105 GB, free: 45.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/19.24, allocations: 81.16 kB / 7.105 GB, free: 45.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/19.24, allocations: 67.08 kB / 7.105 GB, free: 45.48 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001779/19.24, allocations: 0.9966 MB / 7.106 GB, free: 45.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.71e-07/19.24, allocations: 3.906 kB / 7.106 GB, free: 45.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005979/19.25, allocations: 1.555 MB / 7.108 GB, free: 45.33 MB / 0.5886 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 () * Number of clocked 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.006011/19.25, allocations: 2.38 MB / 7.11 GB, free: 44.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004824/19.26, allocations: 2.353 MB / 7.112 GB, free: 44.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/19.26, allocations: 2.406 kB / 7.112 GB, free: 44.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/19.26, allocations: 0.7403 MB / 7.113 GB, free: 44.72 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004893/19.26, allocations: 0.931 MB / 7.114 GB, free: 44.69 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00746/19.27, allocations: 4.743 MB / 7.119 GB, free: 42.89 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/19.27, allocations: 1.543 MB / 7.12 GB, free: 42.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002995/19.28, allocations: 0.6222 MB / 7.121 GB, free: 42.13 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/19.28, allocations: 168.3 kB / 7.121 GB, free: 42.12 MB / 0.5886 GB Notification: Performance of SimCode: time 1.153e-06/19.28, allocations: 0.5625 kB / 7.121 GB, free: 42.12 MB / 0.5886 GB Notification: Performance of Templates: time 0.09792/19.37, allocations: 64.63 MB / 7.184 GB, free: 39.24 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)