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.001568/0.001568, allocations: 106.3 kB / 16.29 MB, free: 6.43 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.001978/0.001978, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.842/1.842, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001869/0.001869, allocations: 68.28 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2982, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7655/1.064, allocations: 242.4 MB / 1.021 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02455/1.088, allocations: 15.8 MB / 1.036 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/1.092, allocations: 71.56 kB / 1.036 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003506/1.095, allocations: 1.181 MB / 1.037 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/1.107, allocations: 3.804 MB / 1.041 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006563/1.113, allocations: 1.807 MB / 1.043 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009647/1.123, allocations: 5.221 MB / 1.048 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003136/1.126, allocations: 1.661 MB / 1.05 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008443/1.135, allocations: 2.604 MB / 1.052 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006001/1.141, allocations: 1.703 MB / 1.054 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001342/1.142, allocations: 176 kB / 1.054 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007557/1.15, allocations: 2.72 MB / 1.057 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/1.151, allocations: 0.7596 MB / 1.057 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002532/1.154, allocations: 1.151 MB / 1.059 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007949/1.162, allocations: 3.548 MB / 1.062 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/1.162, allocations: 0 / 1.062 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.717e-06/1.162, allocations: 7.844 kB / 1.062 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.599e-05/1.162, allocations: 0 / 1.062 GB, free: 13.55 MB / 0.8575 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.00475/1.166, allocations: 2.494 MB / 1.064 GB, free: 11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.167, allocations: 8.031 kB / 1.064 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/1.17, allocations: 0.5047 MB / 1.065 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/1.172, allocations: 1.253 MB / 1.066 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/1.172, allocations: 178.2 kB / 1.066 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/1.173, allocations: 152 kB / 1.066 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/1.175, allocations: 1.737 MB / 1.068 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/1.176, allocations: 7.906 kB / 1.068 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/1.176, allocations: 71.98 kB / 1.068 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.346e-05/1.176, allocations: 62.62 kB / 1.068 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/1.178, allocations: 1.369 MB / 1.07 GB, free: 5.512 MB / 0.8575 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.01186/1.19, allocations: 8.182 MB / 1.078 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/1.192, allocations: 0.901 MB / 1.079 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008862/1.193, allocations: 0.5341 MB / 1.079 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/1.193, allocations: 324.5 kB / 1.079 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/1.193, allocations: 47.5 kB / 1.079 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=96): time 3.807e-06/1.193, allocations: 0 / 1.079 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102): time 0.008035/1.202, allocations: 3.117 MB / 1.082 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/1.202, allocations: 64.41 kB / 1.082 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/1.204, allocations: 1.258 MB / 1.084 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/1.204, allocations: 49.7 kB / 1.084 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007673/1.205, allocations: 0.8092 MB / 1.085 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/1.205, allocations: 362.8 kB / 1.085 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004669/1.206, allocations: 222.8 kB / 1.085 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002162/1.206, allocations: 349.9 kB / 1.085 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009256/1.207, allocations: 449.8 kB / 1.086 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/1.208, allocations: 0.8312 MB / 1.087 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/1.211, allocations: 1.252 MB / 1.088 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/1.211, allocations: 4 kB / 1.088 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003133/1.214, allocations: 1.397 MB / 1.089 GB, free: 232 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/1.214, allocations: 10.03 kB / 1.089 GB, free: 224 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/1.214, allocations: 15.94 kB / 1.089 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.772e-05/1.214, allocations: 12.72 kB / 1.089 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.215, allocations: 283.6 kB / 1.09 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.644e-05/1.215, allocations: 23.92 kB / 1.09 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/1.217, allocations: 75.86 kB / 1.09 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/1.217, allocations: 48 kB / 1.09 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001557/1.219, allocations: 0.764 MB / 1.09 GB, free: 15 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001139/1.22, allocations: 0.8235 MB / 1.091 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002127/1.222, allocations: 1.233 MB / 1.092 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.054e-05/1.222, allocations: 4 kB / 1.092 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002608/1.225, allocations: 1.39 MB / 1.094 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/1.225, allocations: 8 kB / 1.094 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.225, allocations: 12 kB / 1.094 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.225, allocations: 12 kB / 1.094 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/1.226, allocations: 275.5 kB / 1.094 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-05/1.226, allocations: 19.94 kB / 1.094 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.227, allocations: 80.19 kB / 1.094 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.228, allocations: 48 kB / 1.094 GB, free: 10.8 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004309/1.228, allocations: 267.8 kB / 1.095 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/1.228, allocations: 166 kB / 1.095 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/1.231, allocations: 1.154 MB / 1.096 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.231, allocations: 8 kB / 1.096 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.231, allocations: 6.172 kB / 1.096 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/1.233, allocations: 1.068 MB / 1.097 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005724/1.239, allocations: 2.782 MB / 1.1 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.239, allocations: 0 / 1.1 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.24, allocations: 251.6 kB / 1.1 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-05/1.24, allocations: 11.94 kB / 1.1 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/1.24, allocations: 27.98 kB / 1.1 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/1.24, allocations: 4 kB / 1.1 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.24, allocations: 4 kB / 1.1 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/1.244, allocations: 1.809 MB / 1.102 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.245, allocations: 335 kB / 1.102 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005434/1.245, allocations: 24 kB / 1.102 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.247, allocations: 63.94 kB / 1.102 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.247, allocations: 56.92 kB / 1.102 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.247, allocations: 45.69 kB / 1.102 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001624/1.249, allocations: 0.8344 MB / 1.103 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/1.249, allocations: 0 / 1.103 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002983/1.252, allocations: 0.7656 MB / 1.104 GB, free: 0.9453 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000792/1.253, allocations: 274.5 kB / 1.104 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00407/1.257, allocations: 1.728 MB / 1.106 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.257, allocations: 4 kB / 1.106 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/1.258, allocations: 0.5143 MB / 1.106 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004944/1.263, allocations: 0.9173 MB / 1.107 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007314/1.27, allocations: 3.433 MB / 1.11 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.272, allocations: 1.437 MB / 1.112 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002451/1.275, allocations: 0.5568 MB / 1.112 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/1.275, allocations: 123.4 kB / 1.112 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of SimCode: time 1.232e-06/1.275, allocations: 4 kB / 1.112 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of Templates: time 0.4484/1.724, allocations: 31.25 MB / 1.143 GB, free: 296.2 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)