Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.263/2.263, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001326/0.001326, allocations: 187.5 kB / 498.1 MB, free: 5.746 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.683/1.683, allocations: 223.2 MB / 0.7948 GB, free: 18.94 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.0008723/0.0008723, allocations: 96.25 kB / 0.9346 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004022, allocations: 13.33 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3002, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.192/4.493, allocations: 1.918 GB / 3.141 GB, free: 32.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/4.493, allocations: 92.36 kB / 3.141 GB, free: 32.14 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.192/5.685, allocations: 264.5 MB / 3.399 GB, free: 248.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.264e-06/5.685, allocations: 0 / 3.399 GB, free: 248.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.766e-05/5.685, allocations: 19.94 kB / 3.399 GB, free: 248.3 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001614/5.687, allocations: 0.871 MB / 3.4 GB, free: 247.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/5.687, allocations: 12.03 kB / 3.4 GB, free: 247.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.993e-05/5.687, allocations: 90.52 kB / 3.4 GB, free: 247.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/5.688, allocations: 163.1 kB / 3.4 GB, free: 247.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/5.689, allocations: 0.5211 MB / 3.401 GB, free: 246.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/5.689, allocations: 33 kB / 3.401 GB, free: 246.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/5.689, allocations: 47.98 kB / 3.401 GB, free: 246.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/5.69, allocations: 0.4942 MB / 3.402 GB, free: 245.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/5.69, allocations: 0 / 3.402 GB, free: 245.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/5.69, allocations: 16 kB / 3.402 GB, free: 245.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/5.69, allocations: 13 kB / 3.402 GB, free: 245.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/5.69, allocations: 399.7 kB / 3.402 GB, free: 245.5 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.002183/5.693, allocations: 1.728 MB / 3.404 GB, free: 243.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/5.693, allocations: 296.1 kB / 3.404 GB, free: 243.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/5.693, allocations: 101 kB / 3.404 GB, free: 243.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/5.693, allocations: 38.56 kB / 3.404 GB, free: 243.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.394e-06/5.693, allocations: 0 / 3.404 GB, free: 243.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001736/5.695, allocations: 1.063 MB / 3.405 GB, free: 242.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/5.695, allocations: 55.41 kB / 3.405 GB, free: 242 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/5.695, allocations: 401 kB / 3.405 GB, free: 241.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/5.695, allocations: 33.7 kB / 3.406 GB, free: 241.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/5.696, allocations: 248.2 kB / 3.406 GB, free: 241.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/5.696, allocations: 110.3 kB / 3.406 GB, free: 241.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/5.696, allocations: 8 kB / 3.406 GB, free: 241.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/5.696, allocations: 358.8 kB / 3.406 GB, free: 240.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/5.696, allocations: 119.9 kB / 3.406 GB, free: 240.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/5.696, allocations: 210.4 kB / 3.407 GB, free: 240.5 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/5.697, allocations: 0.551 MB / 3.407 GB, free: 239.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/5.697, allocations: 0 / 3.407 GB, free: 239.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005058/5.698, allocations: 412.6 kB / 3.407 GB, free: 239.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/5.698, allocations: 4 kB / 3.407 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/5.698, allocations: 4 kB / 3.407 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/5.698, allocations: 7.953 kB / 3.407 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/5.698, allocations: 71.84 kB / 3.408 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/5.698, allocations: 0 / 3.408 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/5.699, allocations: 44 kB / 3.408 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/5.699, allocations: 12 kB / 3.408 GB, free: 239.4 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002564/5.699, allocations: 209.4 kB / 3.408 GB, free: 239.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/5.699, allocations: 51.44 kB / 3.408 GB, free: 239.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/5.699, allocations: 60.75 kB / 3.408 GB, free: 239.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/5.699, allocations: 8 kB / 3.408 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/5.699, allocations: 3.953 kB / 3.408 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003973/5.7, allocations: 404.3 kB / 3.408 GB, free: 238.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/5.701, allocations: 1.23 MB / 3.41 GB, free: 237.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/5.701, allocations: 8.062 kB / 3.41 GB, free: 237.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/5.702, allocations: 75.95 kB / 3.41 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/5.702, allocations: 7.984 kB / 3.41 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/5.702, allocations: 16 kB / 3.41 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/5.702, allocations: 15.86 kB / 3.41 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/5.702, allocations: 4 kB / 3.41 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/5.703, allocations: 0.892 MB / 3.411 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/5.703, allocations: 172.5 kB / 3.411 GB, free: 235.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/5.703, allocations: 8 kB / 3.411 GB, free: 235.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/5.703, allocations: 31.91 kB / 3.411 GB, free: 235.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/5.703, allocations: 35.98 kB / 3.411 GB, free: 235.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/5.703, allocations: 19.94 kB / 3.411 GB, free: 235.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003255/5.704, allocations: 331 kB / 3.411 GB, free: 235.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.71e-07/5.704, allocations: 0 / 3.411 GB, free: 235.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009682/5.705, allocations: 224 kB / 3.411 GB, free: 235.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.002576/5.707, allocations: 3.372 MB / 3.415 GB, free: 231.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005187/5.708, allocations: 303.7 kB / 3.415 GB, free: 231.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/5.708, allocations: 4.375 kB / 3.415 GB, free: 231.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/5.708, allocations: 164.6 kB / 3.415 GB, free: 231.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/5.71, allocations: 343.8 kB / 3.415 GB, free: 231 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/5.714, allocations: 3.969 MB / 3.419 GB, free: 226.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/5.714, allocations: 0.8942 MB / 3.42 GB, free: 226 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005927/5.715, allocations: 128.6 kB / 3.42 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/5.715, allocations: 175.4 kB / 3.42 GB, free: 225.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.914e-06/5.715, allocations: 0 / 3.42 GB, free: 225.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04328/5.758, allocations: 29.64 MB / 3.449 GB, free: 196.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/5.758, allocations: 223.2 kB / 3.45 GB, free: 196.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.072/8.831, allocations: 0 / 3.45 GB, free: 196.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat does not exist to compare? outputFormat=mat