Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.CoupledVolumesAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir",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.334/2.334, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001178/0.001178, allocations: 195.2 kB / 498.1 MB, free: 5.695 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.508/1.508, allocations: 223.1 MB / 0.7948 GB, free: 18.82 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.001077/0.001077, allocations: 101.8 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 14.72 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2757, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.732/5.008, allocations: 2.165 GB / 3.388 GB, free: 224.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/5.009, allocations: 99.69 kB / 3.388 GB, free: 224.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.515/6.524, allocations: 493.7 MB / 3.87 GB, free: 209.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.946e-06/6.524, allocations: 0 / 3.87 GB, free: 209.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000118/6.524, allocations: 27.92 kB / 3.87 GB, free: 209.4 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.003444/6.527, allocations: 1.219 MB / 3.872 GB, free: 208.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/6.527, allocations: 8.031 kB / 3.872 GB, free: 208.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003244/6.528, allocations: 102.5 kB / 3.872 GB, free: 208 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/6.53, allocations: 302.5 kB / 3.872 GB, free: 207.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/6.532, allocations: 0.7648 MB / 3.873 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/6.532, allocations: 45.31 kB / 3.873 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/6.532, allocations: 63.91 kB / 3.873 GB, free: 206.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/6.534, allocations: 0.5999 MB / 3.874 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/6.534, allocations: 4 kB / 3.874 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/6.534, allocations: 24 kB / 3.874 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/6.534, allocations: 25.3 kB / 3.874 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008559/6.535, allocations: 0.5243 MB / 3.874 GB, free: 205.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.00362/6.538, allocations: 2.753 MB / 3.877 GB, free: 202.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/6.539, allocations: 464.2 kB / 3.877 GB, free: 202.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/6.539, allocations: 101.5 kB / 3.877 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/6.539, allocations: 40.81 kB / 3.877 GB, free: 202 MB / 1.167 GB Notification: Performance of pre-optimization done (n=46): time 2.865e-06/6.539, allocations: 0 / 3.877 GB, free: 202 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.00305/6.542, allocations: 1.516 MB / 3.879 GB, free: 200.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/6.542, allocations: 55.84 kB / 3.879 GB, free: 200.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/6.543, allocations: 0.4913 MB / 3.879 GB, free: 199.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/6.543, allocations: 37.7 kB / 3.879 GB, free: 199.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/6.543, allocations: 356.3 kB / 3.88 GB, free: 199.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/6.543, allocations: 169.5 kB / 3.88 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/6.543, allocations: 12 kB / 3.88 GB, free: 199.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/6.543, allocations: 374.8 kB / 3.88 GB, free: 198.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/6.544, allocations: 185 kB / 3.88 GB, free: 198.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/6.544, allocations: 287.3 kB / 3.881 GB, free: 198.4 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 (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/6.546, allocations: 0.7908 MB / 3.881 GB, free: 197.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/6.546, allocations: 0 / 3.881 GB, free: 197.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009138/6.547, allocations: 0.6013 MB / 3.882 GB, free: 197 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/6.547, allocations: 0.7022 MB / 3.883 GB, free: 196.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/6.547, allocations: 0 / 3.883 GB, free: 196.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/6.547, allocations: 44.77 kB / 3.883 GB, free: 196.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/6.548, allocations: 103.9 kB / 3.883 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/6.549, allocations: 2.123 MB / 3.885 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/6.55, allocations: 59.86 kB / 3.885 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/6.55, allocations: 16 kB / 3.885 GB, free: 193.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/6.55, allocations: 4 kB / 3.885 GB, free: 193.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007436/6.551, allocations: 0.5146 MB / 3.886 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/6.551, allocations: 4.219 kB / 3.886 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/6.551, allocations: 36.84 kB / 3.886 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/6.552, allocations: 103.8 kB / 3.886 GB, free: 193.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008784/6.553, allocations: 1.522 MB / 3.887 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009107/6.553, allocations: 67.7 kB / 3.887 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/6.553, allocations: 20 kB / 3.887 GB, free: 191.3 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: 8 * 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 (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005154/6.554, allocations: 340.9 kB / 3.888 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/6.554, allocations: 71.25 kB / 3.888 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009049/6.555, allocations: 0.5663 MB / 3.888 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/6.555, allocations: 4 kB / 3.888 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/6.555, allocations: 3.953 kB / 3.888 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006708/6.556, allocations: 0.7919 MB / 3.889 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/6.558, allocations: 1.564 MB / 3.891 GB, free: 187.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/6.558, allocations: 0 / 3.891 GB, free: 187.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/6.559, allocations: 123.8 kB / 3.891 GB, free: 187.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/6.559, allocations: 36.95 kB / 3.891 GB, free: 187.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/6.559, allocations: 12 kB / 3.891 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009088/6.56, allocations: 1.972 MB / 3.893 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/6.56, allocations: 4.031 kB / 3.893 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/6.561, allocations: 0.9414 MB / 3.894 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/6.561, allocations: 200.3 kB / 3.894 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/6.562, allocations: 12 kB / 3.894 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/6.562, allocations: 55.8 kB / 3.894 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/6.562, allocations: 31.91 kB / 3.894 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/6.562, allocations: 23.98 kB / 3.894 GB, free: 184.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004411/6.563, allocations: 387.1 kB / 3.894 GB, free: 183.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.4e-07/6.563, allocations: 0 / 3.894 GB, free: 183.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001668/6.564, allocations: 487.9 kB / 3.895 GB, free: 183.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003114/6.568, allocations: 2.888 MB / 3.897 GB, free: 180.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001716/6.569, allocations: 0.9973 MB / 3.898 GB, free: 179.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/6.569, allocations: 0 / 3.898 GB, free: 179.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004571/6.57, allocations: 386.5 kB / 3.899 GB, free: 178.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/6.572, allocations: 459.6 kB / 3.899 GB, free: 178.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/6.579, allocations: 5.47 MB / 3.905 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/6.579, allocations: 1.021 MB / 3.906 GB, free: 171.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009391/6.58, allocations: 225.8 kB / 3.906 GB, free: 171.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/6.581, allocations: 275.3 kB / 3.906 GB, free: 171.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.282e-06/6.581, allocations: 0 / 3.906 GB, free: 171.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06452/6.645, allocations: 39.93 MB / 3.945 GB, free: 131.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/6.646, allocations: 261.7 kB / 3.945 GB, free: 131.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.41/10.06, allocations: 4 kB / 3.945 GB, free: 131.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat does not exist to compare? outputFormat=mat