Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 387.1 MB / 399.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 177 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008888/0.0008886, allocations: 102.5 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.519e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3072, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.727/6.034, allocations: 1.932 GB / 3.145 GB, free: 338.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/6.035, allocations: 87.08 kB / 3.145 GB, free: 338.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.9/10.93, allocations: 1.359 GB / 4.504 GB, free: 184.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.285e-06/10.93, allocations: 0 / 4.504 GB, free: 184.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001832/10.93, allocations: 60.02 kB / 4.504 GB, free: 184.5 MB / 1.167 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.006424/10.94, allocations: 2.174 MB / 4.506 GB, free: 183.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/10.94, allocations: 11.12 kB / 4.506 GB, free: 183.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004138/10.94, allocations: 211.3 kB / 4.506 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/10.95, allocations: 0.5023 MB / 4.507 GB, free: 183.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/10.95, allocations: 1.425 MB / 4.508 GB, free: 183.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/10.95, allocations: 181.3 kB / 4.508 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/10.95, allocations: 153.9 kB / 4.508 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/10.95, allocations: 1.638 MB / 4.51 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/10.95, allocations: 6.094 kB / 4.51 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/10.95, allocations: 62.88 kB / 4.51 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/10.95, allocations: 55.11 kB / 4.51 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/10.95, allocations: 1.256 MB / 4.511 GB, free: 182.8 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.008715/10.96, allocations: 8.241 MB / 4.519 GB, free: 178 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/10.96, allocations: 0.8447 MB / 4.52 GB, free: 177.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/10.96, allocations: 0.4904 MB / 4.521 GB, free: 177.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/10.96, allocations: 316.9 kB / 4.521 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/10.96, allocations: 51.88 kB / 4.521 GB, free: 177.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=96): time 4.449e-06/10.96, allocations: 3.938 kB / 4.521 GB, free: 177.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=102): time 0.005356/10.97, allocations: 2.632 MB / 4.524 GB, free: 177 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/10.97, allocations: 63.41 kB / 4.524 GB, free: 176.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/10.97, allocations: 1.067 MB / 4.525 GB, free: 176.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.84e-05/10.97, allocations: 49.89 kB / 4.525 GB, free: 176.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/10.97, allocations: 0.8067 MB / 4.525 GB, free: 176.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/10.97, allocations: 366.6 kB / 4.526 GB, free: 176.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/10.97, allocations: 28.03 kB / 4.526 GB, free: 176.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/10.97, allocations: 355.8 kB / 4.526 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/10.97, allocations: 392.9 kB / 4.527 GB, free: 175.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007569/10.97, allocations: 0.7863 MB / 4.527 GB, free: 175.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/10.97, allocations: 0.5199 MB / 4.528 GB, free: 175.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/10.97, allocations: 3.75 kB / 4.528 GB, free: 175.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001815/10.98, allocations: 1.32 MB / 4.529 GB, free: 175.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008584/10.98, allocations: 3.664 MB / 4.533 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/10.98, allocations: 8.781 kB / 4.533 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/10.98, allocations: 18.34 kB / 4.533 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/10.98, allocations: 283 kB / 4.533 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/10.98, allocations: 29.44 kB / 4.533 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/10.98, allocations: 183.5 kB / 4.533 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/10.98, allocations: 51.78 kB / 4.533 GB, free: 171.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/10.98, allocations: 6.594 kB / 4.533 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/10.98, allocations: 1.144 MB / 4.534 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/10.98, allocations: 7.406 kB / 4.534 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/10.98, allocations: 16.78 kB / 4.534 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/10.98, allocations: 279.5 kB / 4.535 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/10.98, allocations: 22.5 kB / 4.535 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/10.98, allocations: 182 kB / 4.535 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/10.98, allocations: 56.47 kB / 4.535 GB, free: 171.3 MB / 1.167 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 () * 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.0003132/10.98, allocations: 192.5 kB / 4.535 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/10.99, allocations: 164.5 kB / 4.535 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/10.99, allocations: 1.088 MB / 4.536 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/10.99, allocations: 7.562 kB / 4.536 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/10.99, allocations: 9.344 kB / 4.536 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/10.99, allocations: 1.011 MB / 4.537 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/10.99, allocations: 2.711 MB / 4.54 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/10.99, allocations: 3.125 kB / 4.54 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/10.99, allocations: 248.5 kB / 4.54 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/10.99, allocations: 13.78 kB / 4.54 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/10.99, allocations: 25.95 kB / 4.54 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/10.99, allocations: 7.781 kB / 4.54 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/10.99, allocations: 7.516 kB / 4.54 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/11, allocations: 1.76 MB / 4.542 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/11, allocations: 339.8 kB / 4.542 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/11, allocations: 24.92 kB / 4.542 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/11, allocations: 152.3 kB / 4.542 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/11, allocations: 67.38 kB / 4.543 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/11, allocations: 36.59 kB / 4.543 GB, free: 169.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009932/11, allocations: 0.8139 MB / 4.543 GB, free: 169.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/11, allocations: 1.906 kB / 4.543 GB, free: 169.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003002/11, allocations: 1.068 MB / 4.544 GB, free: 169.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * Number of discrete variables: 0 () * Number of discrete 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.006145/11.01, allocations: 5.692 MB / 4.55 GB, free: 167 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002565/11.01, allocations: 1.672 MB / 4.552 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/11.01, allocations: 0 / 4.552 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006005/11.01, allocations: 489.4 kB / 4.552 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/11.02, allocations: 0.951 MB / 4.553 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/11.02, allocations: 3.235 MB / 4.556 GB, free: 166.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/11.02, allocations: 1.483 MB / 4.558 GB, free: 165.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002703/11.03, allocations: 0.6923 MB / 4.558 GB, free: 165.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008093/11.03, allocations: 0.6659 MB / 4.559 GB, free: 165.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.222e-06/11.03, allocations: 0 / 4.559 GB, free: 165.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/11.15, allocations: 95.38 MB / 4.652 GB, free: 116.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/11.15, allocations: 195.3 kB / 4.652 GB, free: 116.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.533/16.69, allocations: 0 / 4.652 GB, free: 116.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat does not exist to compare? outputFormat=mat