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.296/2.296, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001031/0.001031, allocations: 172.2 kB / 492.3 MB, free: 0.6172 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.492/1.492, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001055/0.001055, allocations: 89.83 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.836e-05/4.873e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2884, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.549/5.838, allocations: 1.922 GB / 3.135 GB, free: 419.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/5.838, allocations: 87.94 kB / 3.135 GB, free: 419.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.388/8.226, allocations: 0.7645 GB / 3.9 GB, free: 71.65 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.534e-06/8.226, allocations: 0 / 3.9 GB, free: 71.65 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001713/8.227, allocations: 44.11 kB / 3.9 GB, free: 71.61 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.004388/8.231, allocations: 1.551 MB / 3.901 GB, free: 70 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/8.231, allocations: 8.031 kB / 3.901 GB, free: 70 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005123/8.232, allocations: 172.8 kB / 3.901 GB, free: 69.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/8.235, allocations: 477.6 kB / 3.902 GB, free: 69.35 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/8.238, allocations: 1.109 MB / 3.903 GB, free: 68.19 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/8.238, allocations: 82.14 kB / 3.903 GB, free: 68.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/8.239, allocations: 115.9 kB / 3.903 GB, free: 68 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/8.242, allocations: 1.202 MB / 3.904 GB, free: 66.75 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/8.242, allocations: 3.984 kB / 3.904 GB, free: 66.75 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/8.242, allocations: 48 kB / 3.904 GB, free: 66.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/8.242, allocations: 34.14 kB / 3.904 GB, free: 66.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/8.244, allocations: 1 MB / 3.905 GB, free: 65.66 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.007239/8.251, allocations: 4.208 MB / 3.909 GB, free: 61.18 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/8.252, allocations: 0.7629 MB / 3.91 GB, free: 60.41 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/8.253, allocations: 466.2 kB / 3.911 GB, free: 59.95 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003914/8.253, allocations: 300 kB / 3.911 GB, free: 59.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/8.254, allocations: 43.34 kB / 3.911 GB, free: 59.55 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 3.436e-06/8.254, allocations: 0 / 3.911 GB, free: 59.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=89): time 0.005054/8.259, allocations: 2.26 MB / 3.913 GB, free: 57.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/8.259, allocations: 60.19 kB / 3.913 GB, free: 57.16 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/8.26, allocations: 0.8419 MB / 3.914 GB, free: 56.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.96e-05/8.26, allocations: 45.7 kB / 3.914 GB, free: 56.25 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/8.26, allocations: 0.5435 MB / 3.915 GB, free: 55.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/8.26, allocations: 311.4 kB / 3.915 GB, free: 55.39 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/8.261, allocations: 16 kB / 3.915 GB, free: 55.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/8.261, allocations: 341.9 kB / 3.915 GB, free: 55.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/8.261, allocations: 325.8 kB / 3.915 GB, free: 54.71 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/8.262, allocations: 492.5 kB / 3.916 GB, free: 54.19 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.004625/8.266, allocations: 2.237 MB / 3.918 GB, free: 51.91 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/8.266, allocations: 0 / 3.918 GB, free: 51.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001467/8.268, allocations: 0.9829 MB / 3.919 GB, free: 50.91 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/8.268, allocations: 8 kB / 3.919 GB, free: 50.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/8.268, allocations: 4 kB / 3.919 GB, free: 50.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/8.268, allocations: 4 kB / 3.919 GB, free: 50.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/8.269, allocations: 179.7 kB / 3.919 GB, free: 50.72 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/8.269, allocations: 11.98 kB / 3.919 GB, free: 50.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/8.27, allocations: 83.95 kB / 3.919 GB, free: 50.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/8.27, allocations: 39.98 kB / 3.919 GB, free: 50.59 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.0002111/8.27, allocations: 164.7 kB / 3.92 GB, free: 50.42 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/8.271, allocations: 122.6 kB / 3.92 GB, free: 50.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/8.271, allocations: 148.3 kB / 3.92 GB, free: 50.15 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/8.271, allocations: 8 kB / 3.92 GB, free: 50.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/8.271, allocations: 0 / 3.92 GB, free: 50.14 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001312/8.272, allocations: 1.073 MB / 3.921 GB, free: 49 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005819/8.278, allocations: 3.019 MB / 3.924 GB, free: 45.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/8.278, allocations: 8 kB / 3.924 GB, free: 45.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/8.279, allocations: 167.7 kB / 3.924 GB, free: 45.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003981/8.279, allocations: 106.2 kB / 3.924 GB, free: 45.51 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/8.279, allocations: 31.98 kB / 3.924 GB, free: 45.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/8.281, allocations: 2.861 MB / 3.927 GB, free: 42.35 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/8.281, allocations: 11.94 kB / 3.927 GB, free: 42.34 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/8.284, allocations: 2.215 MB / 3.929 GB, free: 39.82 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008544/8.285, allocations: 303.5 kB / 3.929 GB, free: 39.51 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/8.285, allocations: 35.98 kB / 3.929 GB, free: 39.47 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/8.286, allocations: 71.8 kB / 3.929 GB, free: 39.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/8.286, allocations: 84.14 kB / 3.93 GB, free: 39.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/8.286, allocations: 47.92 kB / 3.93 GB, free: 39.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009731/8.287, allocations: 0.6771 MB / 3.93 GB, free: 38.59 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/8.287, allocations: 0 / 3.93 GB, free: 38.59 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001866/8.289, allocations: 0.5311 MB / 3.931 GB, free: 38.05 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.004956/8.294, allocations: 6.868 MB / 3.937 GB, free: 30.82 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001308/8.296, allocations: 0.8056 MB / 3.938 GB, free: 30.01 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/8.296, allocations: 0 / 3.938 GB, free: 30.01 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007806/8.296, allocations: 0.6531 MB / 3.939 GB, free: 29.34 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/8.301, allocations: 0.8729 MB / 3.94 GB, free: 28.48 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/8.305, allocations: 2.615 MB / 3.942 GB, free: 25.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/8.306, allocations: 1.277 MB / 3.944 GB, free: 24.38 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001641/8.308, allocations: 339 kB / 3.944 GB, free: 24.05 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/8.308, allocations: 479.3 kB / 3.944 GB, free: 23.58 MB / 1.151 GB Notification: Performance of SimCode: time 1.833e-06/8.308, allocations: 0 / 3.944 GB, free: 23.58 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9214/9.23, allocations: 66.87 MB / 4.01 GB, free: 235 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/9.23, allocations: 224.2 kB / 4.01 GB, free: 234.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.271/13.5, allocations: 0 / 4.01 GB, free: 234.8 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