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.416/2.416, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001387/0.001387, allocations: 190.2 kB / 0.4901 GB, free: 2.242 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.655/1.655, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001092/0.001091, allocations: 100.3 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003678, allocations: 10.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3483, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.024/5.372, allocations: 1.923 GB / 3.153 GB, free: 57.94 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/5.372, allocations: 100.5 kB / 3.153 GB, free: 57.84 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.143/8.515, allocations: 0.7652 GB / 3.918 GB, free: 190.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.984e-06/8.515, allocations: 2.625 kB / 3.918 GB, free: 190.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002278/8.515, allocations: 48.11 kB / 3.918 GB, free: 190.8 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.005852/8.521, allocations: 1.741 MB / 3.92 GB, free: 189 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/8.521, allocations: 15.97 kB / 3.92 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006736/8.522, allocations: 168.8 kB / 3.92 GB, free: 188.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/8.526, allocations: 485.6 kB / 3.92 GB, free: 188.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/8.529, allocations: 1.113 MB / 3.921 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/8.529, allocations: 90.08 kB / 3.921 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/8.529, allocations: 108 kB / 3.921 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/8.532, allocations: 1.214 MB / 3.923 GB, free: 185.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/8.532, allocations: 3.906 kB / 3.923 GB, free: 185.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/8.532, allocations: 55.94 kB / 3.923 GB, free: 185.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.497e-05/8.532, allocations: 42.08 kB / 3.923 GB, free: 185.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/8.534, allocations: 1.019 MB / 3.924 GB, free: 184.6 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.006572/8.54, allocations: 4.204 MB / 3.928 GB, free: 180.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/8.541, allocations: 0.7741 MB / 3.929 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/8.542, allocations: 296.2 kB / 3.929 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/8.542, allocations: 47.55 kB / 3.929 GB, free: 178.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 3.467e-06/8.542, allocations: 0 / 3.929 GB, free: 178.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=89): time 0.005882/8.548, allocations: 2.815 MB / 3.932 GB, free: 176 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/8.548, allocations: 64.41 kB / 3.932 GB, free: 175.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/8.549, allocations: 0.8487 MB / 3.933 GB, free: 175 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.974e-05/8.549, allocations: 41.7 kB / 3.933 GB, free: 175 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/8.549, allocations: 0.5435 MB / 3.933 GB, free: 174.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/8.55, allocations: 311.5 kB / 3.933 GB, free: 174.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/8.55, allocations: 20 kB / 3.933 GB, free: 174.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/8.55, allocations: 338 kB / 3.934 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/8.55, allocations: 329.8 kB / 3.934 GB, free: 173.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/8.551, allocations: 496.5 kB / 3.935 GB, free: 172.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.004361/8.555, allocations: 2.231 MB / 3.937 GB, free: 170.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/8.555, allocations: 0 / 3.937 GB, free: 170.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001378/8.556, allocations: 0.9996 MB / 3.938 GB, free: 169.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/8.556, allocations: 4 kB / 3.938 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/8.556, allocations: 4 kB / 3.938 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/8.556, allocations: 12.33 kB / 3.938 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007333/8.557, allocations: 187.7 kB / 3.938 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/8.557, allocations: 8 kB / 3.938 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/8.559, allocations: 83.72 kB / 3.938 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/8.559, allocations: 32 kB / 3.938 GB, free: 169.3 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 () * Number of clocked 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.0008254/8.56, allocations: 381.5 kB / 3.938 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/8.56, allocations: 126.5 kB / 3.939 GB, free: 168.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/8.56, allocations: 148.3 kB / 3.939 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/8.56, allocations: 8 kB / 3.939 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/8.56, allocations: 7.953 kB / 3.939 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/8.561, allocations: 1.082 MB / 3.94 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/8.566, allocations: 3.04 MB / 3.943 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/8.566, allocations: 12.25 kB / 3.943 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/8.566, allocations: 167.7 kB / 3.943 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003295/8.567, allocations: 105.6 kB / 3.943 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/8.567, allocations: 28 kB / 3.943 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/8.569, allocations: 2.9 MB / 3.946 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/8.569, allocations: 19.89 kB / 3.946 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/8.571, allocations: 2.231 MB / 3.948 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/8.571, allocations: 303.5 kB / 3.948 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/8.572, allocations: 31.98 kB / 3.948 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000986/8.573, allocations: 79.75 kB / 3.948 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/8.573, allocations: 84.19 kB / 3.949 GB, free: 157.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/8.573, allocations: 47.98 kB / 3.949 GB, free: 157.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008832/8.574, allocations: 0.6839 MB / 3.949 GB, free: 157 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.574, allocations: 0 / 3.949 GB, free: 157 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001835/8.575, allocations: 0.5195 MB / 3.95 GB, free: 156.5 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 () * Number of clocked 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.005113/8.581, allocations: 6.9 MB / 3.956 GB, free: 149.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001214/8.582, allocations: 0.809 MB / 3.957 GB, free: 148.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/8.582, allocations: 12 kB / 3.957 GB, free: 148.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/8.583, allocations: 0.6539 MB / 3.958 GB, free: 147.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/8.586, allocations: 0.8726 MB / 3.959 GB, free: 146.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009847/8.596, allocations: 9.625 MB / 3.968 GB, free: 136.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/8.597, allocations: 1.273 MB / 3.969 GB, free: 135.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001376/8.598, allocations: 351 kB / 3.97 GB, free: 135.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000556/8.599, allocations: 475.3 kB / 3.97 GB, free: 134.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/8.599, allocations: 0 / 3.97 GB, free: 134.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09075/8.689, allocations: 62.77 MB / 4.031 GB, free: 72.23 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/8.69, allocations: 260.2 kB / 4.032 GB, free: 71.88 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.557/13.25, allocations: 4 kB / 4.032 GB, free: 71.88 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