Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.23/2.23, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001157/0.001157, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.642/1.642, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009412, allocations: 102.1 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.184e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3019, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.835/6.137, allocations: 1.922 GB / 3.128 GB, free: 429.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/6.137, allocations: 94.44 kB / 3.128 GB, free: 429.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.398/8.536, allocations: 0.7554 GB / 3.883 GB, free: 94.74 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.855e-06/8.536, allocations: 0 / 3.883 GB, free: 94.74 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001211/8.536, allocations: 48.11 kB / 3.883 GB, free: 94.7 MB / 1.151 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.003248/8.539, allocations: 1.535 MB / 3.885 GB, free: 93.11 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/8.539, allocations: 12.03 kB / 3.885 GB, free: 93.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/8.542, allocations: 485.6 kB / 3.885 GB, free: 92.62 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/8.545, allocations: 1.097 MB / 3.886 GB, free: 91.48 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/8.545, allocations: 32 kB / 3.886 GB, free: 91.45 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/8.545, allocations: 72 kB / 3.887 GB, free: 91.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002312/8.548, allocations: 0.9451 MB / 3.887 GB, free: 90.43 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/8.55, allocations: 1.046 MB / 3.888 GB, free: 89.34 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/8.55, allocations: 8 kB / 3.888 GB, free: 89.34 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/8.55, allocations: 3.938 kB / 3.888 GB, free: 89.33 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-05/8.55, allocations: 42.12 kB / 3.889 GB, free: 89.29 MB / 1.151 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.009072/8.559, allocations: 3.948 MB / 3.892 GB, free: 85.08 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/8.561, allocations: 0.7299 MB / 3.893 GB, free: 84.34 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009464/8.562, allocations: 437.7 kB / 3.893 GB, free: 83.91 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/8.563, allocations: 296 kB / 3.894 GB, free: 83.57 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/8.563, allocations: 47.34 kB / 3.894 GB, free: 83.52 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 6.662e-06/8.563, allocations: 0 / 3.894 GB, free: 83.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=89): time 0.007603/8.57, allocations: 2.099 MB / 3.896 GB, free: 81.36 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/8.571, allocations: 60.19 kB / 3.896 GB, free: 81.29 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/8.572, allocations: 0.583 MB / 3.896 GB, free: 80.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/8.572, allocations: 25.7 kB / 3.897 GB, free: 80.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005057/8.572, allocations: 0.5621 MB / 3.897 GB, free: 80.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/8.573, allocations: 299.5 kB / 3.897 GB, free: 79.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/8.573, allocations: 0 / 3.897 GB, free: 79.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001345/8.573, allocations: 337.9 kB / 3.898 GB, free: 79.46 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/8.574, allocations: 310.5 kB / 3.898 GB, free: 79.16 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009046/8.575, allocations: 469.3 kB / 3.898 GB, free: 78.65 MB / 1.151 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.008171/8.583, allocations: 2.167 MB / 3.901 GB, free: 76.44 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/8.583, allocations: 3.938 kB / 3.901 GB, free: 76.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002414/8.585, allocations: 0.8935 MB / 3.901 GB, free: 75.54 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/8.585, allocations: 12.06 kB / 3.901 GB, free: 75.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/8.585, allocations: 7.938 kB / 3.901 GB, free: 75.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/8.586, allocations: 8 kB / 3.901 GB, free: 75.51 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/8.587, allocations: 183.7 kB / 3.902 GB, free: 75.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/8.587, allocations: 8 kB / 3.902 GB, free: 75.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/8.589, allocations: 67.69 kB / 3.902 GB, free: 75.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/8.59, allocations: 36 kB / 3.902 GB, free: 75.22 MB / 1.151 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.0003643/8.59, allocations: 128.8 kB / 3.902 GB, free: 75.09 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002547/8.593, allocations: 0.8559 MB / 3.903 GB, free: 74.22 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/8.593, allocations: 110.7 kB / 3.903 GB, free: 74.11 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/8.593, allocations: 118.4 kB / 3.903 GB, free: 73.99 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/8.593, allocations: 12 kB / 3.903 GB, free: 73.98 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/8.594, allocations: 3.953 kB / 3.903 GB, free: 73.97 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002049/8.596, allocations: 1.011 MB / 3.904 GB, free: 72.89 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007697/8.603, allocations: 2.798 MB / 3.907 GB, free: 69.92 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/8.603, allocations: 11.98 kB / 3.907 GB, free: 69.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/8.605, allocations: 159.8 kB / 3.907 GB, free: 69.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005878/8.605, allocations: 98.47 kB / 3.907 GB, free: 69.65 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/8.605, allocations: 23.98 kB / 3.907 GB, free: 69.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003594/8.609, allocations: 2.801 MB / 3.91 GB, free: 66.59 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-05/8.609, allocations: 20 kB / 3.91 GB, free: 66.57 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/8.613, allocations: 2.05 MB / 3.912 GB, free: 64.15 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/8.615, allocations: 283.8 kB / 3.912 GB, free: 63.85 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003888/8.615, allocations: 16 kB / 3.912 GB, free: 63.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/8.617, allocations: 55.8 kB / 3.912 GB, free: 63.78 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/8.617, allocations: 92.12 kB / 3.912 GB, free: 63.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/8.618, allocations: 43.98 kB / 3.912 GB, free: 63.65 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001376/8.619, allocations: 467.1 kB / 3.913 GB, free: 63.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.81e-07/8.619, allocations: 0 / 3.913 GB, free: 63.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003511/8.623, allocations: 464 kB / 3.913 GB, free: 62.74 MB / 1.151 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.01045/8.633, allocations: 6.976 MB / 3.92 GB, free: 55.39 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002507/8.636, allocations: 0.7448 MB / 3.921 GB, free: 54.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.005e-05/8.636, allocations: 4 kB / 3.921 GB, free: 54.64 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/8.637, allocations: 0.6232 MB / 3.921 GB, free: 54 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006483/8.644, allocations: 0.6748 MB / 3.922 GB, free: 53.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006668/8.651, allocations: 2.48 MB / 3.924 GB, free: 50.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009119/8.651, allocations: 1.276 MB / 3.926 GB, free: 49.38 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001568/8.653, allocations: 309 kB / 3.926 GB, free: 49.08 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/8.654, allocations: 471.2 kB / 3.926 GB, free: 48.62 MB / 1.151 GB Notification: Performance of SimCode: time 1.442e-06/8.654, allocations: 4 kB / 3.926 GB, free: 48.62 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07975/8.734, allocations: 42.91 MB / 3.968 GB, free: 5.902 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/8.734, allocations: 181.7 kB / 3.968 GB, free: 5.707 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.26/11.99, allocations: 4 kB / 3.968 GB, free: 5.703 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat does not exist to compare? outputFormat=mat