Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.485/1.485, allocations: 287.4 MB / 302.6 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 181.6 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.13/1.13, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006524/0.0006523, allocations: 99.67 kB / 0.7431 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 15.69 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1442, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4652/0.6094, allocations: 221.3 MB / 1.195 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.6257, allocations: 14.82 MB / 1.209 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.6268, allocations: 67.16 kB / 1.209 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.6286, allocations: 0.7937 MB / 1.21 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005296/0.6339, allocations: 2.839 MB / 1.213 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.6366, allocations: 1.357 MB / 1.214 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00459/0.6412, allocations: 6.243 MB / 1.22 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.6425, allocations: 1.364 MB / 1.222 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00323/0.6458, allocations: 2.166 MB / 1.224 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.6475, allocations: 1.642 MB / 1.225 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.6477, allocations: 84 kB / 1.226 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.6505, allocations: 1.508 MB / 1.227 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005539/0.651, allocations: 0.6737 MB / 1.228 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.6514, allocations: 436.6 kB / 1.228 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.6533, allocations: 2.427 MB / 1.23 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6533, allocations: 0 / 1.23 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6534, allocations: 0 / 1.23 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.6534, allocations: 0 / 1.23 GB, free: 9.922 MB / 0.7605 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.002925/0.6563, allocations: 2.113 MB / 1.232 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.6563, allocations: 8.031 kB / 1.233 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/0.6566, allocations: 219.1 kB / 1.233 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.6589, allocations: 0.5009 MB / 1.233 GB, free: 7.02 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.6605, allocations: 1.261 MB / 1.234 GB, free: 5.703 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.6607, allocations: 182.2 kB / 1.235 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.6608, allocations: 155.9 kB / 1.235 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.6632, allocations: 1.736 MB / 1.236 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.6633, allocations: 4 kB / 1.236 GB, free: 3.547 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.6634, allocations: 63.94 kB / 1.237 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.6634, allocations: 62.69 kB / 1.237 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.6656, allocations: 1.381 MB / 1.238 GB, free: 2.035 MB / 0.7605 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.007177/0.6728, allocations: 8.179 MB / 1.246 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.6741, allocations: 0.9135 MB / 1.247 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.6749, allocations: 0.5419 MB / 1.247 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005123/0.6754, allocations: 336.5 kB / 1.248 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.6754, allocations: 51.5 kB / 1.248 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=96): time 2.004e-06/0.6754, allocations: 0 / 1.248 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=102): time 0.005497/0.6809, allocations: 3.147 MB / 1.251 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.681, allocations: 64.41 kB / 1.251 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.6822, allocations: 1.242 MB / 1.252 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.6823, allocations: 53.69 kB / 1.252 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.6828, allocations: 0.8093 MB / 1.253 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.683, allocations: 366.6 kB / 1.253 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.683, allocations: 28 kB / 1.253 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6832, allocations: 357.9 kB / 1.254 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.6839, allocations: 430.4 kB / 1.254 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.6848, allocations: 0.8313 MB / 1.255 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.6865, allocations: 1.248 MB / 1.256 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.6865, allocations: 4 kB / 1.256 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001995/0.6885, allocations: 1.402 MB / 1.257 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.6886, allocations: 365.8 kB / 1.258 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6887, allocations: 12 kB / 1.258 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6887, allocations: 20 kB / 1.258 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.6897, allocations: 279.5 kB / 1.258 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.6897, allocations: 23.92 kB / 1.258 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.6909, allocations: 169.1 kB / 1.258 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.691, allocations: 52 kB / 1.258 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/0.691, allocations: 4 kB / 1.258 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0018/0.6928, allocations: 1.222 MB / 1.26 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6928, allocations: 12.7 kB / 1.26 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.6928, allocations: 12 kB / 1.26 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/0.6938, allocations: 279.5 kB / 1.26 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.6938, allocations: 20.31 kB / 1.26 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.695, allocations: 167.5 kB / 1.26 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.695, allocations: 55.98 kB / 1.26 GB, free: 10.11 MB / 0.7917 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.0005135/0.6956, allocations: 0.5122 MB / 1.261 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.6957, allocations: 162 kB / 1.261 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.6976, allocations: 1.166 MB / 1.262 GB, free: 8.242 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.6976, allocations: 8 kB / 1.262 GB, free: 8.234 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6976, allocations: 0 / 1.262 GB, free: 8.234 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001453/0.6991, allocations: 1.095 MB / 1.263 GB, free: 7.09 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.7028, allocations: 2.785 MB / 1.266 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7028, allocations: 0 / 1.266 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.7039, allocations: 263.9 kB / 1.266 GB, free: 3.961 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.7039, allocations: 4 kB / 1.266 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.704, allocations: 31.94 kB / 1.266 GB, free: 3.926 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.704, allocations: 7.984 kB / 1.266 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.704, allocations: 0 / 1.266 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.7065, allocations: 1.828 MB / 1.268 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.7069, allocations: 339 kB / 1.268 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.7071, allocations: 31.92 kB / 1.268 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.7081, allocations: 143.6 kB / 1.268 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.7082, allocations: 76.92 kB / 1.268 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.7083, allocations: 35.98 kB / 1.268 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0008704/0.7092, allocations: 0.8227 MB / 1.269 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7092, allocations: 0 / 1.269 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001423/0.7106, allocations: 0.7618 MB / 1.27 GB, free: 15.83 MB / 0.8073 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.003046/0.7137, allocations: 2.553 MB / 1.272 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.7162, allocations: 1.736 MB / 1.274 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7162, allocations: 0 / 1.274 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007549/0.717, allocations: 0.5292 MB / 1.275 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/0.721, allocations: 0.9546 MB / 1.275 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.7338, allocations: 10.29 MB / 1.286 GB, free: 15.17 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008533/0.7347, allocations: 1.441 MB / 1.287 GB, free: 13.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001681/0.7364, allocations: 0.5602 MB / 1.287 GB, free: 13.13 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/0.7371, allocations: 0.675 MB / 1.288 GB, free: 12.45 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.7372, allocations: 0 / 1.288 GB, free: 12.45 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4169/1.154, allocations: 44.44 MB / 1.332 GB, free: 464 kB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/1.154, allocations: 235.1 kB / 1.332 GB, free: 220 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/4.021, allocations: 0 / 1.332 GB, free: 220 kB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)