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.001129/0.001129, allocations: 105 kB / 16.36 MB, free: 6.305 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.001103/0.001103, allocations: 189.3 kB / 17.29 MB, free: 5.875 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.372/1.372, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.67 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.001431/0.001432, allocations: 71.55 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2267, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6661/0.8928, allocations: 242.4 MB / 1.021 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.9155, allocations: 15.8 MB / 1.037 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003384/0.9189, allocations: 75.5 kB / 1.037 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003689/0.9227, allocations: 1.177 MB / 1.038 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.934, allocations: 3.808 MB / 1.042 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006477/0.9405, allocations: 1.8 MB / 1.044 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0121/0.9526, allocations: 5.221 MB / 1.049 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004457/0.9571, allocations: 1.664 MB / 1.05 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00909/0.9663, allocations: 2.608 MB / 1.053 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006769/0.9731, allocations: 1.708 MB / 1.055 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009244/0.974, allocations: 176 kB / 1.055 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/0.9863, allocations: 2.705 MB / 1.057 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002358/0.9887, allocations: 0.7635 MB / 1.058 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003463/0.9922, allocations: 1.143 MB / 1.059 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01196/1.004, allocations: 3.56 MB / 1.063 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/1.004, allocations: 4 kB / 1.063 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.465e-06/1.004, allocations: 3.938 kB / 1.063 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.816e-05/1.004, allocations: 0 / 1.063 GB, free: 13.07 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.009217/1.014, allocations: 2.49 MB / 1.065 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/1.014, allocations: 8.031 kB / 1.065 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005921/1.02, allocations: 0.5087 MB / 1.066 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005252/1.025, allocations: 1.339 MB / 1.067 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/1.025, allocations: 178.2 kB / 1.067 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005795/1.026, allocations: 156 kB / 1.067 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005707/1.032, allocations: 1.741 MB / 1.069 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/1.032, allocations: 3.906 kB / 1.069 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/1.032, allocations: 60 kB / 1.069 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/1.032, allocations: 58.69 kB / 1.069 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005014/1.037, allocations: 1.373 MB / 1.07 GB, free: 4.961 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.01843/1.056, allocations: 8.182 MB / 1.078 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/1.058, allocations: 0.8938 MB / 1.079 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/1.06, allocations: 0.538 MB / 1.08 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.061, allocations: 320.2 kB / 1.08 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/1.061, allocations: 51.5 kB / 1.08 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=96): time 4.538e-06/1.061, allocations: 4 kB / 1.08 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102): time 0.01233/1.074, allocations: 3.106 MB / 1.083 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.074, allocations: 60.41 kB / 1.083 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/1.077, allocations: 1.254 MB / 1.084 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/1.077, allocations: 53.7 kB / 1.085 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/1.078, allocations: 0.8131 MB / 1.085 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/1.078, allocations: 358.8 kB / 1.086 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000558/1.079, allocations: 226.8 kB / 1.086 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002524/1.079, allocations: 353.9 kB / 1.086 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/1.081, allocations: 441.8 kB / 1.087 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/1.083, allocations: 0.8312 MB / 1.087 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/1.086, allocations: 1.252 MB / 1.089 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.086, allocations: 1.875 kB / 1.089 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004769/1.091, allocations: 1.406 MB / 1.09 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.091, allocations: 13.72 kB / 1.09 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/1.091, allocations: 8 kB / 1.09 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.148e-05/1.091, allocations: 16 kB / 1.09 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/1.093, allocations: 271.6 kB / 1.09 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.274e-05/1.093, allocations: 23.92 kB / 1.09 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/1.096, allocations: 72.23 kB / 1.09 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/1.096, allocations: 55.98 kB / 1.091 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002355/1.099, allocations: 0.7679 MB / 1.091 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001267/1.1, allocations: 0.8196 MB / 1.092 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001893/1.102, allocations: 1.229 MB / 1.093 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.804e-06/1.102, allocations: 11.88 kB / 1.093 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00261/1.104, allocations: 1.386 MB / 1.095 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.104, allocations: 12.22 kB / 1.095 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.104, allocations: 12 kB / 1.095 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.104, allocations: 16 kB / 1.095 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.106, allocations: 271.6 kB / 1.095 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/1.106, allocations: 20.64 kB / 1.095 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.107, allocations: 78.17 kB / 1.095 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/1.107, allocations: 58.06 kB / 1.095 GB, free: 10.25 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.0003695/1.107, allocations: 263.8 kB / 1.095 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/1.108, allocations: 166 kB / 1.095 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/1.11, allocations: 1.145 MB / 1.097 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.11, allocations: 12 kB / 1.097 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.11, allocations: 4 kB / 1.097 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/1.112, allocations: 1.068 MB / 1.098 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/1.116, allocations: 2.78 MB / 1.1 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.116, allocations: 0 / 1.1 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.118, allocations: 255.9 kB / 1.101 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/1.118, allocations: 4 kB / 1.101 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/1.118, allocations: 29.73 kB / 1.101 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/1.118, allocations: 11.94 kB / 1.101 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.118, allocations: 0 / 1.101 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/1.121, allocations: 1.814 MB / 1.102 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/1.121, allocations: 335 kB / 1.103 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/1.122, allocations: 24 kB / 1.103 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.123, allocations: 55.94 kB / 1.103 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/1.123, allocations: 64.92 kB / 1.103 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-05/1.123, allocations: 39.97 kB / 1.103 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001143/1.124, allocations: 0.8384 MB / 1.104 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.124, allocations: 0 / 1.104 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001904/1.126, allocations: 0.7578 MB / 1.104 GB, free: 420 kB / 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.0005773/1.126, allocations: 300.3 kB / 1.105 GB, free: 132 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003116/1.13, allocations: 1.732 MB / 1.106 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.13, allocations: 0 / 1.106 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/1.131, allocations: 0.517 MB / 1.107 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/1.135, allocations: 0.9088 MB / 1.108 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00541/1.14, allocations: 3.506 MB / 1.111 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009648/1.141, allocations: 1.432 MB / 1.113 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/1.142, allocations: 139.4 kB / 1.113 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of SimCode: time 8.91e-07/1.142, allocations: 0 / 1.113 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of Templates: time 0.408/1.55, allocations: 26.48 MB / 1.139 GB, free: 301.9 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)