Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009536/0.0009536, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009947/0.0009948, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004954, allocations: 19.31 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2366, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7437/0.9804, allocations: 198.8 MB / 0.9812 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02104/1.001, allocations: 14.66 MB / 0.9956 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/1.005, allocations: 66.25 kB / 0.9956 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004328/1.009, allocations: 1.069 MB / 0.9967 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01375/1.023, allocations: 3.451 MB / 1 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007902/1.031, allocations: 1.725 MB / 1.002 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008644/1.04, allocations: 3.057 MB / 1.005 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/1.043, allocations: 1.292 MB / 1.006 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005751/1.049, allocations: 1.8 MB / 1.008 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/1.052, allocations: 1.107 MB / 1.009 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008253/1.053, allocations: 84.91 kB / 1.009 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005794/1.059, allocations: 1.248 MB / 1.01 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001427/1.06, allocations: 0.6112 MB / 1.011 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/1.062, allocations: 441.7 kB / 1.011 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005541/1.068, allocations: 2.279 MB / 1.013 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.068, allocations: 3 kB / 1.013 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.425e-06/1.068, allocations: 3.938 kB / 1.013 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001514/1.068, allocations: 4 kB / 1.013 GB, free: 9.426 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006471/1.075, allocations: 2.072 MB / 1.015 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.075, allocations: 8.156 kB / 1.015 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/1.078, allocations: 0.5016 MB / 1.016 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/1.082, allocations: 1.207 MB / 1.017 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/1.082, allocations: 182.7 kB / 1.017 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004064/1.083, allocations: 146.6 kB / 1.017 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004194/1.087, allocations: 1.724 MB / 1.019 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/1.087, allocations: 5.469 kB / 1.019 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/1.087, allocations: 65.89 kB / 1.019 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/1.087, allocations: 61.12 kB / 1.019 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/1.09, allocations: 1.379 MB / 1.021 GB, free: 4.906 MB / 0.7325 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.0101/1.1, allocations: 8.182 MB / 1.029 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/1.101, allocations: 0.9337 MB / 1.029 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004176/1.102, allocations: 157.1 kB / 1.03 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.102, allocations: 44.88 kB / 1.03 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=96): time 3.046e-06/1.102, allocations: 0 / 1.03 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=102): time 0.006921/1.109, allocations: 3.146 MB / 1.033 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/1.109, allocations: 66.97 kB / 1.033 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.11, allocations: 1.235 MB / 1.034 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.144e-05/1.111, allocations: 52.23 kB / 1.034 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/1.111, allocations: 0.8093 MB / 1.035 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/1.111, allocations: 366.6 kB / 1.035 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/1.112, allocations: 24 kB / 1.035 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.112, allocations: 349.9 kB / 1.036 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/1.112, allocations: 438.4 kB / 1.036 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.114, allocations: 0.8275 MB / 1.037 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/1.114, allocations: 0.5557 MB / 1.037 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.114, allocations: 4 kB / 1.037 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002346/1.117, allocations: 1.4 MB / 1.039 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001952/1.119, allocations: 3.663 MB / 1.042 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/1.119, allocations: 12 kB / 1.042 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-05/1.119, allocations: 16 kB / 1.042 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.12, allocations: 275.6 kB / 1.043 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.779e-05/1.12, allocations: 23.92 kB / 1.043 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/1.122, allocations: 166.1 kB / 1.043 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/1.122, allocations: 52 kB / 1.043 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.122, allocations: 4 kB / 1.043 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/1.124, allocations: 1.234 MB / 1.044 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.124, allocations: 11.94 kB / 1.044 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.124, allocations: 19.95 kB / 1.044 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.125, allocations: 271.6 kB / 1.044 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.454e-05/1.125, allocations: 24.33 kB / 1.044 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.127, allocations: 170.8 kB / 1.044 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.127, allocations: 52 kB / 1.044 GB, free: 15.44 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.001111/1.128, allocations: 0.5045 MB / 1.045 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/1.129, allocations: 162 kB / 1.045 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/1.131, allocations: 1.167 MB / 1.046 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.131, allocations: 15.95 kB / 1.046 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.131, allocations: 0 / 1.046 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001693/1.133, allocations: 1.091 MB / 1.047 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005716/1.138, allocations: 2.798 MB / 1.05 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.139, allocations: 0 / 1.05 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.14, allocations: 252 kB / 1.05 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.542e-05/1.14, allocations: 12 kB / 1.05 GB, free: 9.289 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.221e-05/1.14, allocations: 27.98 kB / 1.05 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/1.14, allocations: 11.94 kB / 1.05 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.14, allocations: 3.938 kB / 1.05 GB, free: 9.246 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/1.143, allocations: 1.935 MB / 1.052 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009615/1.144, allocations: 335 kB / 1.053 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/1.144, allocations: 20 kB / 1.053 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/1.146, allocations: 147.7 kB / 1.053 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.146, allocations: 60.88 kB / 1.053 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-05/1.146, allocations: 43.97 kB / 1.053 GB, free: 6.605 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001404/1.148, allocations: 0.8266 MB / 1.054 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.11e-07/1.148, allocations: 0 / 1.054 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002649/1.15, allocations: 0.7617 MB / 1.054 GB, free: 5.02 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006917/1.151, allocations: 277.9 kB / 1.055 GB, free: 4.746 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003439/1.155, allocations: 1.735 MB / 1.056 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/1.155, allocations: 5 kB / 1.056 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009237/1.155, allocations: 0.5213 MB / 1.057 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004769/1.16, allocations: 0.9489 MB / 1.058 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007043/1.167, allocations: 4.185 MB / 1.062 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.169, allocations: 1.473 MB / 1.063 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002703/1.172, allocations: 0.5563 MB / 1.064 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004962/1.172, allocations: 135.4 kB / 1.064 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of SimCode: time 1.243e-06/1.172, allocations: 3.938 kB / 1.064 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of Templates: time 0.05365/1.226, allocations: 29.32 MB / 1.093 GB, free: 14.2 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: