Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.286/2.286, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001109/0.001109, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001244/0.001244, allocations: 87.95 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.805e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.341, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.615/6.956, allocations: 1.923 GB / 3.142 GB, free: 335.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/6.957, allocations: 87.33 kB / 3.142 GB, free: 335.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.058/9.014, allocations: 0.7646 GB / 3.907 GB, free: 15.21 MB / 1.167 GB Notification: Performance of FrontEnd: time 9.82e-07/9.014, allocations: 4 kB / 3.907 GB, free: 15.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.359e-05/9.014, allocations: 48.11 kB / 3.907 GB, free: 15.16 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002656/9.017, allocations: 1.54 MB / 3.908 GB, free: 13.57 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/9.017, allocations: 8.031 kB / 3.908 GB, free: 13.56 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/9.017, allocations: 168.8 kB / 3.908 GB, free: 13.38 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/9.02, allocations: 481.7 kB / 3.909 GB, free: 12.91 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/9.022, allocations: 1.109 MB / 3.91 GB, free: 11.76 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/9.022, allocations: 82.14 kB / 3.91 GB, free: 11.68 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/9.022, allocations: 112 kB / 3.91 GB, free: 11.57 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/9.024, allocations: 1.206 MB / 3.911 GB, free: 10.32 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/9.024, allocations: 0 / 3.911 GB, free: 10.32 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/9.024, allocations: 47.98 kB / 3.911 GB, free: 10.27 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/9.024, allocations: 38.14 kB / 3.911 GB, free: 10.23 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/9.026, allocations: 0.9963 MB / 3.912 GB, free: 9.23 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.00512/9.031, allocations: 4.215 MB / 3.917 GB, free: 4.734 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/9.032, allocations: 0.7576 MB / 3.917 GB, free: 3.973 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/9.032, allocations: 465.7 kB / 3.918 GB, free: 3.512 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003758/9.033, allocations: 296 kB / 3.918 GB, free: 3.164 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/9.033, allocations: 51.3 kB / 3.918 GB, free: 3.105 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 3.607e-06/9.033, allocations: 0 / 3.918 GB, free: 3.105 MB / 1.167 GB Notification: Performance of matching and sorting (n=89): time 0.004015/9.037, allocations: 2.24 MB / 3.92 GB, free: 0.8125 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/9.037, allocations: 68.12 kB / 3.92 GB, free: 0.7305 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6866/9.724, allocations: 0.8362 MB / 3.921 GB, free: 238.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002741/9.724, allocations: 46.73 kB / 3.921 GB, free: 238.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/9.724, allocations: 0.539 MB / 3.922 GB, free: 238.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003947/9.725, allocations: 315.8 kB / 3.922 GB, free: 238.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/9.725, allocations: 18.62 kB / 3.922 GB, free: 238.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/9.725, allocations: 341.5 kB / 3.922 GB, free: 238.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/9.726, allocations: 323.4 kB / 3.923 GB, free: 238.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/9.726, allocations: 480.1 kB / 3.923 GB, free: 237.9 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005175/9.731, allocations: 2.235 MB / 3.925 GB, free: 237.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/9.731, allocations: 0 / 3.925 GB, free: 237.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001738/9.733, allocations: 0.9766 MB / 3.926 GB, free: 237.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/9.733, allocations: 6.875 kB / 3.926 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/9.733, allocations: 7.672 kB / 3.926 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/9.733, allocations: 7.25 kB / 3.926 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/9.734, allocations: 183.2 kB / 3.926 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/9.734, allocations: 8.594 kB / 3.926 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/9.735, allocations: 90.84 kB / 3.927 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/9.735, allocations: 38.19 kB / 3.927 GB, free: 237.5 MB / 1.167 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002892/9.736, allocations: 170.5 kB / 3.927 GB, free: 237.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/9.736, allocations: 123.2 kB / 3.927 GB, free: 237.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/9.736, allocations: 147.7 kB / 3.927 GB, free: 237.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/9.737, allocations: 8.969 kB / 3.927 GB, free: 237.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.872e-05/9.737, allocations: 7.219 kB / 3.927 GB, free: 237.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001937/9.739, allocations: 1.064 MB / 3.928 GB, free: 236.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006447/9.745, allocations: 3.028 MB / 3.931 GB, free: 236.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/9.745, allocations: 8.719 kB / 3.931 GB, free: 236.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007282/9.746, allocations: 162 kB / 3.931 GB, free: 236.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003496/9.746, allocations: 103.7 kB / 3.931 GB, free: 236.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/9.746, allocations: 31.19 kB / 3.931 GB, free: 236.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/9.748, allocations: 2.865 MB / 3.934 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/9.748, allocations: 16.73 kB / 3.934 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/9.751, allocations: 2.215 MB / 3.936 GB, free: 232.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006508/9.751, allocations: 303.7 kB / 3.937 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/9.751, allocations: 29.62 kB / 3.937 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/9.752, allocations: 76.67 kB / 3.937 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/9.753, allocations: 86.03 kB / 3.937 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/9.753, allocations: 45.73 kB / 3.937 GB, free: 232.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009463/9.754, allocations: 0.6759 MB / 3.937 GB, free: 232.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/9.754, allocations: 4 kB / 3.937 GB, free: 232.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001787/9.755, allocations: 0.5128 MB / 3.938 GB, free: 232.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004993/9.76, allocations: 6.874 MB / 3.945 GB, free: 227.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001693/9.762, allocations: 0.8057 MB / 3.945 GB, free: 227.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/9.762, allocations: 6.406 kB / 3.945 GB, free: 227.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/9.763, allocations: 0.6433 MB / 3.946 GB, free: 227.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005006/9.768, allocations: 0.8705 MB / 3.947 GB, free: 227.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/9.774, allocations: 2.609 MB / 3.949 GB, free: 226.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/9.775, allocations: 1.276 MB / 3.951 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001794/9.777, allocations: 335.4 kB / 3.951 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006775/9.777, allocations: 482.6 kB / 3.951 GB, free: 225.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.543e-06/9.777, allocations: 3.609 kB / 3.951 GB, free: 225.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/9.899, allocations: 66.89 MB / 4.017 GB, free: 225 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/9.9, allocations: 227.3 kB / 4.017 GB, free: 224.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.209/14.11, allocations: 0 / 4.017 GB, free: 224.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat does not exist to compare? outputFormat=mat