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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004781, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8723/0.8728, allocations: 142.3 MB / 0.9536 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1776/1.05, allocations: 142.9 MB / 1.093 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005878/1.056, allocations: 3.311 MB / 1.096 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006492/1.057, allocations: 15.88 kB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009828/1.058, allocations: 318.5 kB / 1.097 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002712/1.061, allocations: 0.9076 MB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/1.063, allocations: 0.7179 MB / 1.098 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001562/1.065, allocations: 0.8796 MB / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/1.065, allocations: 359.4 kB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007501/1.066, allocations: 430.6 kB / 1.1 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/1.066, allocations: 294.8 kB / 1.1 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/1.066, allocations: 24 kB / 1.1 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/1.067, allocations: 395.3 kB / 1.101 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/1.068, allocations: 183.5 kB / 1.101 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/1.068, allocations: 141.5 kB / 1.101 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008323/1.069, allocations: 0.7442 MB / 1.102 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/1.069, allocations: 4 kB / 1.102 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/1.069, allocations: 4 kB / 1.102 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.069, allocations: 0 / 1.102 GB, free: 8.234 MB / 0.8575 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.001249/1.07, allocations: 0.784 MB / 1.102 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.07, allocations: 16.03 kB / 1.102 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/1.07, allocations: 86.52 kB / 1.102 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/1.071, allocations: 171.1 kB / 1.103 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008328/1.072, allocations: 489.7 kB / 1.103 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/1.072, allocations: 37 kB / 1.103 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/1.072, allocations: 40 kB / 1.103 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/1.073, allocations: 474.3 kB / 1.104 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/1.073, allocations: 3.953 kB / 1.104 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/1.073, allocations: 20 kB / 1.104 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/1.073, allocations: 17 kB / 1.104 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/1.074, allocations: 411.7 kB / 1.104 GB, free: 5.617 MB / 0.8575 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.002668/1.076, allocations: 1.74 MB / 1.106 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/1.077, allocations: 294.6 kB / 1.106 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/1.077, allocations: 4 kB / 1.106 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/1.077, allocations: 42.56 kB / 1.106 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/1.077, allocations: 0 / 1.106 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.002024/1.079, allocations: 1.051 MB / 1.107 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/1.079, allocations: 51.41 kB / 1.107 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/1.08, allocations: 457.9 kB / 1.108 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/1.08, allocations: 37.7 kB / 1.108 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/1.08, allocations: 248.1 kB / 1.108 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.139e-05/1.08, allocations: 122.3 kB / 1.108 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/1.08, allocations: 4 kB / 1.108 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.08, allocations: 354.8 kB / 1.108 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/1.08, allocations: 127.9 kB / 1.108 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/1.081, allocations: 197.6 kB / 1.109 GB, free: 0.6641 MB / 0.8575 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.001458/1.082, allocations: 0.5603 MB / 1.109 GB, free: 88 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.082, allocations: 3.953 kB / 1.109 GB, free: 84 kB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006271/1.083, allocations: 417.3 kB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.083, allocations: 4 kB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.083, allocations: 7.984 kB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.083, allocations: 4 kB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/1.083, allocations: 67.86 kB / 1.11 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.083, allocations: 3.984 kB / 1.11 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/1.083, allocations: 40.05 kB / 1.11 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/1.084, allocations: 8 kB / 1.11 GB, free: 15.53 MB / 0.8731 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.0002883/1.084, allocations: 209.7 kB / 1.11 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/1.084, allocations: 51.39 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/1.084, allocations: 64.75 kB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.084, allocations: 4 kB / 1.11 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/1.084, allocations: 0 / 1.11 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004701/1.085, allocations: 412.5 kB / 1.11 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/1.086, allocations: 1.242 MB / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.086, allocations: 8 kB / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/1.087, allocations: 72.41 kB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.087, allocations: 15.95 kB / 1.112 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/1.087, allocations: 8 kB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/1.087, allocations: 11.94 kB / 1.112 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.087, allocations: 7.984 kB / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/1.088, allocations: 0.884 MB / 1.113 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/1.088, allocations: 168.6 kB / 1.113 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/1.088, allocations: 11.98 kB / 1.113 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/1.089, allocations: 35.83 kB / 1.113 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/1.089, allocations: 35.92 kB / 1.113 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/1.089, allocations: 19.92 kB / 1.113 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003625/1.089, allocations: 327.1 kB / 1.113 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.089, allocations: 0 / 1.113 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005807/1.09, allocations: 140 kB / 1.113 GB, free: 11.51 MB / 0.8731 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.002038/1.092, allocations: 2.595 MB / 1.116 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005687/1.092, allocations: 319.7 kB / 1.116 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.092, allocations: 7.938 kB / 1.116 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/1.093, allocations: 164.2 kB / 1.116 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/1.094, allocations: 343.5 kB / 1.117 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/1.099, allocations: 3.955 MB / 1.121 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/1.1, allocations: 0.8978 MB / 1.121 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005812/1.1, allocations: 128.6 kB / 1.122 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/1.101, allocations: 171.4 kB / 1.122 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of SimCode: time 7.51e-07/1.101, allocations: 0 / 1.122 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/1.131, allocations: 15.01 MB / 1.136 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/1.131, allocations: 237.4 kB / 1.137 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/3.045, allocations: 4 kB / 1.137 GB, free: 3.73 MB / 0.8887 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