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.275/2.275, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001132/0.001132, allocations: 177.1 kB / 498.1 MB, free: 5.691 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.631/1.631, allocations: 223.2 MB / 0.7948 GB, free: 17.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.000893/0.000893, allocations: 102.5 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003883, allocations: 13.5 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.361/4.655, allocations: 1.932 GB / 3.155 GB, free: 54.48 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/4.655, allocations: 90.31 kB / 3.155 GB, free: 54.43 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.969/9.624, allocations: 1.36 GB / 4.515 GB, free: 19.24 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.334e-06/9.624, allocations: 0 / 4.515 GB, free: 19.24 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003196/9.624, allocations: 51.98 kB / 4.515 GB, free: 19.19 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.008647/9.633, allocations: 2.492 MB / 4.518 GB, free: 16.64 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/9.633, allocations: 12.03 kB / 4.518 GB, free: 16.63 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009513/9.634, allocations: 211.1 kB / 4.518 GB, free: 16.41 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/9.638, allocations: 0.5012 MB / 4.519 GB, free: 15.91 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004792/9.642, allocations: 1.438 MB / 4.52 GB, free: 14.42 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/9.643, allocations: 182.5 kB / 4.52 GB, free: 14.23 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005669/9.643, allocations: 151.9 kB / 4.52 GB, free: 14.08 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004027/9.647, allocations: 1.687 MB / 4.522 GB, free: 12.31 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.784e-05/9.647, allocations: 4 kB / 4.522 GB, free: 12.31 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002677/9.648, allocations: 67.98 kB / 4.522 GB, free: 12.24 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-05/9.648, allocations: 54.69 kB / 4.522 GB, free: 12.19 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/9.65, allocations: 1.345 MB / 4.523 GB, free: 10.84 MB / 1.167 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.008961/9.659, allocations: 8.238 MB / 4.531 GB, free: 1.895 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/9.66, allocations: 0.8965 MB / 4.532 GB, free: 0.9883 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/9.661, allocations: 320.5 kB / 4.533 GB, free: 0.6211 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/9.661, allocations: 55.55 kB / 4.533 GB, free: 0.5586 MB / 1.167 GB Notification: Performance of pre-optimization done (n=96): time 2.865e-06/9.661, allocations: 3.938 kB / 4.533 GB, free: 0.5547 MB / 1.167 GB Notification: Performance of matching and sorting (n=102): time 0.007667/9.669, allocations: 3.146 MB / 4.536 GB, free: 13.36 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/9.669, allocations: 64.41 kB / 4.536 GB, free: 13.29 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/9.67, allocations: 1.079 MB / 4.537 GB, free: 12.2 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/9.671, allocations: 57.69 kB / 4.537 GB, free: 12.14 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006702/9.671, allocations: 0.8055 MB / 4.538 GB, free: 11.32 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/9.672, allocations: 366.7 kB / 4.538 GB, free: 10.96 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/9.672, allocations: 20 kB / 4.538 GB, free: 10.94 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001625/9.672, allocations: 353.9 kB / 4.538 GB, free: 10.59 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007959/9.673, allocations: 438.4 kB / 4.539 GB, free: 10.16 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/9.674, allocations: 0.8242 MB / 4.54 GB, free: 9.168 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009599/9.675, allocations: 0.5537 MB / 4.54 GB, free: 8.613 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/9.675, allocations: 8 kB / 4.54 GB, free: 8.605 MB / 1.182 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002669/9.677, allocations: 1.397 MB / 4.542 GB, free: 7.199 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001617/9.679, allocations: 3.664 MB / 4.545 GB, free: 3.184 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/9.679, allocations: 15.95 kB / 4.545 GB, free: 3.168 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-05/9.679, allocations: 16 kB / 4.545 GB, free: 3.152 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/9.68, allocations: 279.6 kB / 4.545 GB, free: 2.879 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/9.68, allocations: 23.92 kB / 4.545 GB, free: 2.855 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/9.682, allocations: 179.5 kB / 4.546 GB, free: 2.68 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/9.683, allocations: 63.98 kB / 4.546 GB, free: 2.617 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/9.683, allocations: 4 kB / 4.546 GB, free: 2.613 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00217/9.685, allocations: 1.218 MB / 4.547 GB, free: 1.391 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/9.685, allocations: 12 kB / 4.547 GB, free: 1.379 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/9.685, allocations: 16 kB / 4.547 GB, free: 1.363 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/9.686, allocations: 284.4 kB / 4.547 GB, free: 1.086 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/9.686, allocations: 19.94 kB / 4.547 GB, free: 1.066 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/9.688, allocations: 175.6 kB / 4.547 GB, free: 0.8945 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/9.688, allocations: 55.98 kB / 4.547 GB, free: 0.8398 MB / 1.182 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.001245/9.689, allocations: 0.5123 MB / 4.548 GB, free: 324 kB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/9.69, allocations: 166 kB / 4.548 GB, free: 156 kB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8243/10.51, allocations: 1.162 MB / 4.549 GB, free: 182.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/10.51, allocations: 10.16 kB / 4.549 GB, free: 182.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/10.51, allocations: 0 / 4.549 GB, free: 182.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001876/10.52, allocations: 1.083 MB / 4.55 GB, free: 182.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006888/10.52, allocations: 2.787 MB / 4.553 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/10.52, allocations: 4.203 kB / 4.553 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/10.52, allocations: 249.2 kB / 4.553 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/10.52, allocations: 10.39 kB / 4.553 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/10.52, allocations: 33.98 kB / 4.553 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/10.52, allocations: 11.44 kB / 4.553 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-06/10.52, allocations: 2.953 kB / 4.553 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/10.53, allocations: 1.868 MB / 4.555 GB, free: 181.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/10.53, allocations: 337.2 kB / 4.555 GB, free: 181.8 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/10.53, allocations: 27.67 kB / 4.555 GB, free: 181.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/10.53, allocations: 149.6 kB / 4.556 GB, free: 181.8 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/10.53, allocations: 69.55 kB / 4.556 GB, free: 181.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/10.53, allocations: 39.53 kB / 4.556 GB, free: 181.8 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001541/10.53, allocations: 0.8297 MB / 4.557 GB, free: 181.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.81e-07/10.53, allocations: 0 / 4.557 GB, free: 181.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003801/10.54, allocations: 1.069 MB / 4.558 GB, free: 181.7 MB / 1.182 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 () * 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.008879/10.55, allocations: 5.804 MB / 4.563 GB, free: 179.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003963/10.55, allocations: 1.729 MB / 4.565 GB, free: 179.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/10.55, allocations: 0.9375 kB / 4.565 GB, free: 179.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/10.55, allocations: 0.5189 MB / 4.565 GB, free: 179.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/10.56, allocations: 0.9483 MB / 4.566 GB, free: 179.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/10.57, allocations: 16.33 MB / 4.582 GB, free: 169.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/10.58, allocations: 1.473 MB / 4.584 GB, free: 168.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002548/10.58, allocations: 0.5647 MB / 4.584 GB, free: 168.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009621/10.58, allocations: 0.6846 MB / 4.585 GB, free: 168.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.773e-06/10.58, allocations: 0 / 4.585 GB, free: 168.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/10.72, allocations: 86.02 MB / 4.669 GB, free: 167.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/10.72, allocations: 218.1 kB / 4.669 GB, free: 167 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.137/15.86, allocations: 0 / 4.669 GB, free: 167 MB / 1.182 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