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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.7871/0.7871, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 183.4 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009255, allocations: 98.78 kB / 0.5124 GB, free: 24.3 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 271.3 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.027e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4781, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.857/5.335, allocations: 1.878 GB / 2.642 GB, free: 128.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/5.336, allocations: 89.95 kB / 2.642 GB, free: 128.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.01/6.346, allocations: 262.5 MB / 2.899 GB, free: 151.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.474e-06/6.346, allocations: 0 / 2.899 GB, free: 151.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.18e-05/6.346, allocations: 23.92 kB / 2.899 GB, free: 151.6 MB / 0.698 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.001866/6.348, allocations: 0.7845 MB / 2.9 GB, free: 150.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/6.348, allocations: 8.031 kB / 2.9 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/6.349, allocations: 175 kB / 2.9 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/6.351, allocations: 0.4987 MB / 2.9 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/6.351, allocations: 29 kB / 2.9 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/6.351, allocations: 51.89 kB / 2.9 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/6.352, allocations: 0.4942 MB / 2.901 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/6.352, allocations: 0 / 2.901 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/6.352, allocations: 20.52 kB / 2.901 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/6.352, allocations: 17 kB / 2.901 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000605/6.352, allocations: 387.8 kB / 2.901 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/6.355, allocations: 1.858 MB / 2.903 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/6.355, allocations: 214.5 kB / 2.903 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/6.356, allocations: 142.1 kB / 2.903 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/6.356, allocations: 97.09 kB / 2.904 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/6.356, allocations: 42.5 kB / 2.904 GB, free: 146.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/6.356, allocations: 0 / 2.904 GB, free: 146.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0006442/6.356, allocations: 293.3 kB / 2.904 GB, free: 146.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/6.356, allocations: 51.41 kB / 2.904 GB, free: 146.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/6.357, allocations: 431.8 kB / 2.904 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/6.357, allocations: 33.7 kB / 2.904 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/6.357, allocations: 275.8 kB / 2.905 GB, free: 145.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/6.357, allocations: 86.77 kB / 2.905 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/6.357, allocations: 8 kB / 2.905 GB, free: 145.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.663e-05/6.357, allocations: 354.8 kB / 2.905 GB, free: 145 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/6.357, allocations: 112.6 kB / 2.905 GB, free: 144.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/6.358, allocations: 211.4 kB / 2.905 GB, free: 144.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/6.358, allocations: 145.4 kB / 2.905 GB, free: 144.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/6.358, allocations: 4 kB / 2.905 GB, free: 144.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004959/6.358, allocations: 392.8 kB / 2.906 GB, free: 144.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/6.358, allocations: 8 kB / 2.906 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/6.358, allocations: 0 / 2.906 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/6.358, allocations: 4 kB / 2.906 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/6.359, allocations: 72.19 kB / 2.906 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/6.359, allocations: 8 kB / 2.906 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/6.359, allocations: 51.52 kB / 2.906 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/6.359, allocations: 12 kB / 2.906 GB, free: 143.9 MB / 0.698 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 () * 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 9.085e-05/6.359, allocations: 132.8 kB / 2.906 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/6.36, allocations: 47.44 kB / 2.906 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/6.36, allocations: 59.84 kB / 2.906 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/6.36, allocations: 4 kB / 2.906 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/6.36, allocations: 0 / 2.906 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003084/6.36, allocations: 335.1 kB / 2.907 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/6.361, allocations: 0.9534 MB / 2.907 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/6.361, allocations: 0 / 2.907 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/6.361, allocations: 63.91 kB / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/6.361, allocations: 0 / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/6.362, allocations: 8 kB / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/6.362, allocations: 4 kB / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/6.362, allocations: 4 kB / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/6.362, allocations: 0.6162 MB / 2.908 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/6.362, allocations: 160.4 kB / 2.908 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/6.363, allocations: 8 kB / 2.908 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/6.363, allocations: 23.98 kB / 2.908 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/6.363, allocations: 32.02 kB / 2.908 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/6.363, allocations: 8 kB / 2.908 GB, free: 141.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003518/6.363, allocations: 349.5 kB / 2.909 GB, free: 140.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.363, allocations: 0 / 2.909 GB, free: 140.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008271/6.364, allocations: 239.7 kB / 2.909 GB, free: 140.7 MB / 0.698 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 () * 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.001442/6.366, allocations: 0.9498 MB / 2.91 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004387/6.366, allocations: 259.7 kB / 2.91 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/6.366, allocations: 4 kB / 2.91 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/6.366, allocations: 112.7 kB / 2.91 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/6.368, allocations: 331 kB / 2.911 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/6.369, allocations: 0.7543 MB / 2.911 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/6.369, allocations: 0.89 MB / 2.912 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004716/6.37, allocations: 124.6 kB / 2.912 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/6.37, allocations: 39.44 kB / 2.912 GB, free: 137.2 MB / 0.698 GB Notification: Performance of SimCode: time 4.1e-07/6.37, allocations: 4 kB / 2.912 GB, free: 137.2 MB / 0.698 GB Notification: Performance of Templates: time 0.02893/6.399, allocations: 23.78 MB / 2.936 GB, free: 113.5 MB / 0.698 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)