Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 393.5 MB / 408.4 MB, free: 11 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.002048/0.002048, allocations: 178.9 kB / 0.4901 GB, free: 2.262 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.646/1.646, allocations: 223.1 MB / 0.7992 GB, free: 15.74 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.001073/0.001073, allocations: 100.7 kB / 0.9396 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 9.25 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3301, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/5.842, allocations: 1.933 GB / 3.162 GB, free: 332.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/5.843, allocations: 93.33 kB / 3.162 GB, free: 332.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.875/11.72, allocations: 1.36 GB / 4.523 GB, free: 189.9 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.875e-06/11.72, allocations: 0 / 4.523 GB, free: 189.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001847/11.72, allocations: 54.36 kB / 4.523 GB, free: 189.9 MB / 1.182 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.009622/11.73, allocations: 2.48 MB / 4.525 GB, free: 189.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/11.73, allocations: 10.66 kB / 4.525 GB, free: 189.3 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000832/11.73, allocations: 217.9 kB / 4.525 GB, free: 189.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/11.73, allocations: 0.5015 MB / 4.526 GB, free: 189.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/11.74, allocations: 1.435 MB / 4.527 GB, free: 188.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/11.74, allocations: 180.8 kB / 4.527 GB, free: 188.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/11.74, allocations: 154.3 kB / 4.527 GB, free: 188.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/11.74, allocations: 1.689 MB / 4.529 GB, free: 188.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/11.74, allocations: 8.625 kB / 4.529 GB, free: 188.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/11.74, allocations: 64.48 kB / 4.529 GB, free: 188.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.687e-05/11.74, allocations: 59.03 kB / 4.529 GB, free: 188.6 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/11.74, allocations: 1.345 MB / 4.531 GB, free: 188.5 MB / 1.182 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.01538/11.76, allocations: 8.241 MB / 4.539 GB, free: 183.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/11.76, allocations: 0.9032 MB / 4.539 GB, free: 183.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007412/11.76, allocations: 320.8 kB / 4.54 GB, free: 183.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/11.76, allocations: 47.22 kB / 4.54 GB, free: 183.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=96): time 5.109e-06/11.76, allocations: 2.875 kB / 4.54 GB, free: 183.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=102): time 0.01123/11.77, allocations: 3.142 MB / 4.543 GB, free: 182.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/11.77, allocations: 63.94 kB / 4.543 GB, free: 182.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/11.78, allocations: 1.083 MB / 4.544 GB, free: 182.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/11.78, allocations: 49.61 kB / 4.544 GB, free: 182.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/11.78, allocations: 0.8061 MB / 4.545 GB, free: 182.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005409/11.78, allocations: 365.4 kB / 4.545 GB, free: 182.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/11.78, allocations: 24.47 kB / 4.545 GB, free: 182.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002076/11.78, allocations: 353.8 kB / 4.546 GB, free: 181.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/11.78, allocations: 435.9 kB / 4.546 GB, free: 181.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/11.78, allocations: 0.824 MB / 4.547 GB, free: 181.3 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/11.78, allocations: 0.5545 MB / 4.547 GB, free: 181.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/11.78, allocations: 2.562 kB / 4.547 GB, free: 181.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003501/11.79, allocations: 1.403 MB / 4.549 GB, free: 181.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001065/11.79, allocations: 3.665 MB / 4.552 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/11.79, allocations: 9.219 kB / 4.552 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.907e-05/11.79, allocations: 17.12 kB / 4.552 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/11.79, allocations: 282.4 kB / 4.553 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.363e-05/11.79, allocations: 20.59 kB / 4.553 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/11.79, allocations: 191.4 kB / 4.553 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/11.79, allocations: 53.34 kB / 4.553 GB, free: 177.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/11.79, allocations: 5.406 kB / 4.553 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003032/11.8, allocations: 1.22 MB / 4.554 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/11.8, allocations: 9.531 kB / 4.554 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.333e-05/11.8, allocations: 16.06 kB / 4.554 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/11.8, allocations: 281.6 kB / 4.554 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-05/11.8, allocations: 28.31 kB / 4.554 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/11.8, allocations: 183.7 kB / 4.554 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/11.8, allocations: 49.66 kB / 4.555 GB, free: 177.3 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.001338/11.8, allocations: 0.5088 MB / 4.555 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005578/11.8, allocations: 162 kB / 4.555 GB, free: 177 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/11.8, allocations: 1.175 MB / 4.556 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/11.8, allocations: 14.92 kB / 4.556 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/11.8, allocations: 3.953 kB / 4.556 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/11.81, allocations: 1.082 MB / 4.557 GB, free: 176.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/11.81, allocations: 2.784 MB / 4.56 GB, free: 176.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/11.81, allocations: 6.969 kB / 4.56 GB, free: 176.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/11.81, allocations: 250.7 kB / 4.56 GB, free: 176.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.279e-05/11.81, allocations: 7.031 kB / 4.56 GB, free: 176.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/11.81, allocations: 29.42 kB / 4.56 GB, free: 176.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/11.81, allocations: 7.656 kB / 4.56 GB, free: 176.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/11.81, allocations: 3.75 kB / 4.56 GB, free: 176.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/11.82, allocations: 1.875 MB / 4.562 GB, free: 175.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/11.82, allocations: 333.6 kB / 4.563 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004948/11.82, allocations: 32.42 kB / 4.563 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/11.82, allocations: 144.9 kB / 4.563 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/11.82, allocations: 72.23 kB / 4.563 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/11.82, allocations: 38.11 kB / 4.563 GB, free: 175.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.00173/11.82, allocations: 0.8295 MB / 4.564 GB, free: 175.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.5e-07/11.82, allocations: 0 / 4.564 GB, free: 175.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005054/11.83, allocations: 1.073 MB / 4.565 GB, free: 175.5 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.01009/11.84, allocations: 5.798 MB / 4.57 GB, free: 172.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004205/11.84, allocations: 1.731 MB / 4.572 GB, free: 172.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/11.84, allocations: 0 / 4.572 GB, free: 172.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0009858/11.84, allocations: 0.5216 MB / 4.573 GB, free: 172.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005965/11.85, allocations: 0.9467 MB / 4.573 GB, free: 172.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/11.87, allocations: 16.33 MB / 4.589 GB, free: 163 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/11.87, allocations: 1.475 MB / 4.591 GB, free: 162.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002742/11.88, allocations: 0.5575 MB / 4.591 GB, free: 162.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/11.88, allocations: 0.6868 MB / 4.592 GB, free: 162.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.222e-06/11.88, allocations: 0 / 4.592 GB, free: 162.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/12.03, allocations: 86.03 MB / 4.676 GB, free: 159.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/12.03, allocations: 231.9 kB / 4.676 GB, free: 159.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.53/17.56, allocations: 0 / 4.676 GB, free: 159.5 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat does not exist to compare? outputFormat=mat