Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8871/0.8871, allocations: 140.1 MB / 156 MB, free: 5.188 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 190.9 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 426.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009948/0.0009945, allocations: 96.2 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001773/0.001773, allocations: 282.9 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005077, allocations: 16 kB / 0.662 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.5004, allocations: 79.29 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.508/6.008, allocations: 2.042 GB / 2.782 GB, free: 248.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/6.009, allocations: 93.89 kB / 2.782 GB, free: 248 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8734/6.882, allocations: 258.9 MB / 3.035 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.302e-06/6.882, allocations: 0 / 3.035 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.266e-05/6.882, allocations: 13.91 kB / 3.035 GB, free: 181.9 MB / 0.6823 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.00215/6.884, allocations: 0.8543 MB / 3.036 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/6.884, allocations: 9.844 kB / 3.036 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/6.886, allocations: 175.8 kB / 3.036 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/6.887, allocations: 0.5149 MB / 3.036 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/6.887, allocations: 35.64 kB / 3.036 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/6.887, allocations: 46.97 kB / 3.036 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/6.888, allocations: 0.5093 MB / 3.037 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/6.888, allocations: 3.938 kB / 3.037 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/6.888, allocations: 18.16 kB / 3.037 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/6.888, allocations: 19.62 kB / 3.037 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/6.889, allocations: 390.2 kB / 3.037 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/6.892, allocations: 1.858 MB / 3.039 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/6.892, allocations: 215.1 kB / 3.039 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/6.893, allocations: 147.8 kB / 3.039 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/6.893, allocations: 100.3 kB / 3.04 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/6.893, allocations: 40.56 kB / 3.04 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 2.295e-06/6.893, allocations: 0.5 kB / 3.04 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.0008296/6.894, allocations: 397 kB / 3.04 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/6.894, allocations: 55.25 kB / 3.04 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/6.894, allocations: 484.3 kB / 3.04 GB, free: 180 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/6.894, allocations: 33.48 kB / 3.04 GB, free: 180 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/6.895, allocations: 278.8 kB / 3.041 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/6.895, allocations: 83.06 kB / 3.041 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/6.895, allocations: 3.938 kB / 3.041 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001021/6.895, allocations: 359 kB / 3.041 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/6.895, allocations: 114.8 kB / 3.041 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/6.895, allocations: 205.3 kB / 3.041 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/6.896, allocations: 319 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/6.896, allocations: 3.938 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005761/6.896, allocations: 405.1 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/6.896, allocations: 3.938 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/6.896, allocations: 6.062 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/6.896, allocations: 3.812 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/6.897, allocations: 67.08 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/6.897, allocations: 3.438 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/6.897, allocations: 52.58 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/6.897, allocations: 16.73 kB / 3.042 GB, free: 179.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (39): * Single equations (assignments): 39 * 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.0002621/6.898, allocations: 210.9 kB / 3.043 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/6.898, allocations: 49.44 kB / 3.043 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/6.898, allocations: 55.44 kB / 3.043 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/6.898, allocations: 7.25 kB / 3.043 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/6.898, allocations: 0 / 3.043 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003413/6.898, allocations: 335.4 kB / 3.043 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/6.9, allocations: 0.9568 MB / 3.044 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/6.9, allocations: 0 / 3.044 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/6.9, allocations: 61.84 kB / 3.044 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/6.9, allocations: 3.938 kB / 3.044 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/6.9, allocations: 7 kB / 3.044 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/6.9, allocations: 14.25 kB / 3.044 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/6.9, allocations: 4.594 kB / 3.044 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/6.901, allocations: 0.5415 MB / 3.044 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/6.901, allocations: 168 kB / 3.045 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/6.901, allocations: 11.56 kB / 3.045 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/6.901, allocations: 28.56 kB / 3.045 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/6.901, allocations: 15.22 kB / 3.045 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/6.901, allocations: 18.81 kB / 3.045 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004011/6.902, allocations: 350.2 kB / 3.045 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/6.902, allocations: 2.656 kB / 3.045 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009229/6.903, allocations: 236.6 kB / 3.045 GB, free: 178.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (23): * Single equations (assignments): 23 * 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.001715/6.905, allocations: 0.9738 MB / 3.046 GB, free: 178 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004869/6.905, allocations: 273.3 kB / 3.046 GB, free: 178 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/6.905, allocations: 3.75 kB / 3.046 GB, free: 178 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/6.905, allocations: 119.6 kB / 3.047 GB, free: 178 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/6.907, allocations: 329.8 kB / 3.047 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/6.909, allocations: 1.202 MB / 3.048 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/6.909, allocations: 0.8757 MB / 3.049 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000546/6.91, allocations: 134.3 kB / 3.049 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/6.91, allocations: 40.03 kB / 3.049 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.034e-06/6.91, allocations: 0 / 3.049 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.03151/6.941, allocations: 21.6 MB / 3.07 GB, free: 176.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)