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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009816, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001097/0.001098, allocations: 172.7 kB / 15.95 MB, free: 208 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.532/1.532, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.795/1.795, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005559/0.000556, allocations: 14.25 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2356, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.702/0.9377, allocations: 221.3 MB / 1.004 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.9589, allocations: 14.81 MB / 1.018 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.9619, allocations: 73.78 kB / 1.018 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.9651, allocations: 0.7873 MB / 1.019 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009189/0.9743, allocations: 2.85 MB / 1.022 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00474/0.979, allocations: 1.352 MB / 1.023 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008558/0.9876, allocations: 6.213 MB / 1.029 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002981/0.9906, allocations: 1.273 MB / 1.03 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007668/0.9983, allocations: 2.158 MB / 1.032 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004939/1.003, allocations: 1.645 MB / 1.034 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008902/1.004, allocations: 81.59 kB / 1.034 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006348/1.011, allocations: 1.512 MB / 1.036 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001682/1.012, allocations: 0.6641 MB / 1.036 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/1.014, allocations: 439.4 kB / 1.037 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005086/1.019, allocations: 2.434 MB / 1.039 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.019, allocations: 0 / 1.039 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.623e-06/1.019, allocations: 4 kB / 1.039 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001261/1.019, allocations: 3.25 kB / 1.039 GB, free: 7.172 MB / 0.7481 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.00622/1.026, allocations: 2.118 MB / 1.041 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/1.026, allocations: 11.98 kB / 1.041 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006235/1.026, allocations: 214.3 kB / 1.041 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/1.03, allocations: 0.508 MB / 1.042 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/1.033, allocations: 1.204 MB / 1.043 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/1.033, allocations: 181.2 kB / 1.043 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/1.033, allocations: 151.3 kB / 1.043 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003697/1.037, allocations: 1.736 MB / 1.045 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/1.037, allocations: 7.875 kB / 1.045 GB, free: 3.098 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/1.037, allocations: 63.94 kB / 1.045 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-05/1.037, allocations: 58.88 kB / 1.045 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/1.04, allocations: 1.38 MB / 1.046 GB, free: 2.371 MB / 0.7481 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.01171/1.052, allocations: 8.185 MB / 1.054 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/1.054, allocations: 0.9163 MB / 1.055 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009327/1.055, allocations: 0.5419 MB / 1.056 GB, free: 8.098 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/1.055, allocations: 332.2 kB / 1.056 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/1.055, allocations: 51.52 kB / 1.056 GB, free: 7.66 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=96): time 4.048e-06/1.055, allocations: 7.938 kB / 1.056 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of matching and sorting (n=102): time 0.00812/1.064, allocations: 3.14 MB / 1.059 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/1.064, allocations: 72.34 kB / 1.059 GB, free: 4.375 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/1.066, allocations: 1.242 MB / 1.061 GB, free: 3.125 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/1.066, allocations: 49.7 kB / 1.061 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/1.067, allocations: 0.8054 MB / 1.061 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/1.067, allocations: 366.6 kB / 1.062 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/1.067, allocations: 24 kB / 1.062 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.068, allocations: 353.9 kB / 1.062 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008538/1.068, allocations: 438.4 kB / 1.063 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.07, allocations: 0.8235 MB / 1.063 GB, free: 100 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.071, allocations: 0.5611 MB / 1.064 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.071, allocations: 4 kB / 1.064 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002825/1.074, allocations: 1.4 MB / 1.065 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000333/1.074, allocations: 366.3 kB / 1.066 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.074, allocations: 12 kB / 1.066 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.685e-05/1.074, allocations: 16 kB / 1.066 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.075, allocations: 275.6 kB / 1.066 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/1.075, allocations: 23.94 kB / 1.066 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/1.077, allocations: 159.6 kB / 1.066 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.077, allocations: 59.98 kB / 1.066 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/1.077, allocations: 4 kB / 1.066 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002331/1.079, allocations: 1.229 MB / 1.067 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.079, allocations: 8 kB / 1.067 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.079, allocations: 16 kB / 1.067 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.08, allocations: 284.4 kB / 1.068 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.662e-05/1.081, allocations: 19.94 kB / 1.068 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.082, allocations: 179.3 kB / 1.068 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.082, allocations: 52 kB / 1.068 GB, free: 11.34 MB / 0.7794 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.0009197/1.083, allocations: 0.5045 MB / 1.068 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/1.084, allocations: 166 kB / 1.069 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/1.086, allocations: 1.16 MB / 1.07 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/1.086, allocations: 12 kB / 1.07 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.086, allocations: 0 / 1.07 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001712/1.088, allocations: 1.087 MB / 1.071 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/1.093, allocations: 2.793 MB / 1.073 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.093, allocations: 4.219 kB / 1.073 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.094, allocations: 251.7 kB / 1.074 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/1.094, allocations: 8 kB / 1.074 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/1.094, allocations: 27.98 kB / 1.074 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/1.094, allocations: 8 kB / 1.074 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.094, allocations: 0 / 1.074 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/1.098, allocations: 1.836 MB / 1.076 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008878/1.098, allocations: 335 kB / 1.076 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/1.099, allocations: 24 kB / 1.076 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.1, allocations: 147.7 kB / 1.076 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.1, allocations: 65.73 kB / 1.076 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.005e-05/1.101, allocations: 39.98 kB / 1.076 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001444/1.102, allocations: 0.8188 MB / 1.077 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.715e-06/1.102, allocations: 96 / 1.077 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002907/1.105, allocations: 0.7695 MB / 1.078 GB, free: 1.082 MB / 0.7794 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.003948/1.109, allocations: 2.566 MB / 1.08 GB, free: 14.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003502/1.112, allocations: 1.743 MB / 1.082 GB, free: 12.73 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.112, allocations: 1 kB / 1.082 GB, free: 12.73 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009443/1.113, allocations: 0.5252 MB / 1.082 GB, free: 12.21 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005228/1.119, allocations: 0.9762 MB / 1.083 GB, free: 11.25 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/1.14, allocations: 10.3 MB / 1.093 GB, free: 396 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.141, allocations: 1.438 MB / 1.095 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00269/1.144, allocations: 0.5602 MB / 1.095 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.145, allocations: 0.675 MB / 1.096 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of SimCode: time 9.42e-07/1.145, allocations: 0 / 1.096 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07924/1.225, allocations: 44.39 MB / 1.139 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/1.225, allocations: 226.7 kB / 1.14 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/4.155, allocations: 0 / 1.14 GB, free: 1.617 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: