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.785/0.785, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 169.1 kB / 191.5 MB, free: 5.773 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.506/1.506, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.001024/0.001024, allocations: 88.33 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001954/0.001954, allocations: 265.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004373, allocations: 16.64 kB / 0.6929 GB, free: 59.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.676/4.88, allocations: 1.878 GB / 2.652 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/4.881, allocations: 92.45 kB / 2.652 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.8715/5.752, allocations: 262.8 MB / 2.909 GB, free: 192.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/5.752, allocations: 0 / 2.909 GB, free: 192.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.812e-05/5.752, allocations: 19.94 kB / 2.909 GB, free: 192.1 MB / 0.7136 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.001391/5.754, allocations: 0.8577 MB / 2.909 GB, free: 191.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/5.754, allocations: 11.97 kB / 2.909 GB, free: 191.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/5.755, allocations: 173.1 kB / 2.91 GB, free: 191 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007905/5.756, allocations: 0.5079 MB / 2.91 GB, free: 190.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/5.756, allocations: 29 kB / 2.91 GB, free: 190.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/5.756, allocations: 44 kB / 2.91 GB, free: 190.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/5.756, allocations: 0.4921 MB / 2.911 GB, free: 189.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/5.756, allocations: 0 / 2.911 GB, free: 189.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/5.756, allocations: 25.03 kB / 2.911 GB, free: 189.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/5.756, allocations: 17 kB / 2.911 GB, free: 189.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/5.757, allocations: 391.8 kB / 2.911 GB, free: 189.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/5.759, allocations: 1.86 MB / 2.913 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/5.76, allocations: 222.5 kB / 2.913 GB, free: 187.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/5.76, allocations: 97.09 kB / 2.913 GB, free: 187.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/5.76, allocations: 42.5 kB / 2.913 GB, free: 187.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/5.76, allocations: 0 / 2.913 GB, free: 187.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0007271/5.761, allocations: 379.1 kB / 2.914 GB, free: 186.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/5.761, allocations: 59.34 kB / 2.914 GB, free: 186.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/5.761, allocations: 433.1 kB / 2.914 GB, free: 186.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/5.761, allocations: 37.7 kB / 2.914 GB, free: 186.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/5.761, allocations: 279 kB / 2.914 GB, free: 185.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/5.761, allocations: 78.84 kB / 2.914 GB, free: 185.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/5.761, allocations: 15.94 kB / 2.914 GB, free: 185.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/5.761, allocations: 346.8 kB / 2.915 GB, free: 185.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/5.761, allocations: 112.6 kB / 2.915 GB, free: 185.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/5.762, allocations: 215.5 kB / 2.915 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/5.762, allocations: 145.5 kB / 2.915 GB, free: 185 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/5.762, allocations: 0 / 2.915 GB, free: 185 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004723/5.762, allocations: 405.2 kB / 2.916 GB, free: 184.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/5.762, allocations: 8 kB / 2.916 GB, free: 184.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/5.762, allocations: 0 / 2.916 GB, free: 184.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/5.762, allocations: 8 kB / 2.916 GB, free: 184.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/5.763, allocations: 60.19 kB / 2.916 GB, free: 184.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/5.763, allocations: 8 kB / 2.916 GB, free: 184.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/5.763, allocations: 59.42 kB / 2.916 GB, free: 184.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/5.763, allocations: 12 kB / 2.916 GB, free: 184.4 MB / 0.7136 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.000205/5.764, allocations: 201.7 kB / 2.916 GB, free: 184.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/5.764, allocations: 63.33 kB / 2.916 GB, free: 184.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.705e-05/5.764, allocations: 56.11 kB / 2.916 GB, free: 184.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/5.764, allocations: 3.984 kB / 2.916 GB, free: 184.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/5.764, allocations: 4 kB / 2.916 GB, free: 184.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003279/5.764, allocations: 331.5 kB / 2.916 GB, free: 183.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/5.765, allocations: 0.9552 MB / 2.917 GB, free: 182.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/5.765, allocations: 4 kB / 2.917 GB, free: 182.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/5.765, allocations: 55.91 kB / 2.917 GB, free: 182.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/5.765, allocations: 4 kB / 2.917 GB, free: 182.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/5.766, allocations: 8 kB / 2.917 GB, free: 182.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/5.766, allocations: 0 / 2.917 GB, free: 182.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/5.766, allocations: 7.938 kB / 2.917 GB, free: 182.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/5.766, allocations: 0.6316 MB / 2.918 GB, free: 181.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/5.766, allocations: 164.4 kB / 2.918 GB, free: 181.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/5.766, allocations: 8 kB / 2.918 GB, free: 181.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/5.767, allocations: 20.05 kB / 2.918 GB, free: 181.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/5.767, allocations: 23.92 kB / 2.918 GB, free: 181.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/5.767, allocations: 16 kB / 2.918 GB, free: 181.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000313/5.767, allocations: 350.8 kB / 2.919 GB, free: 181.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/5.767, allocations: 0 / 2.919 GB, free: 181.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008089/5.768, allocations: 239.7 kB / 2.919 GB, free: 181.1 MB / 0.7136 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.001776/5.77, allocations: 0.9574 MB / 2.92 GB, free: 180.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004807/5.77, allocations: 267.7 kB / 2.92 GB, free: 180 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/5.77, allocations: 0 / 2.92 GB, free: 180 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/5.77, allocations: 120.6 kB / 2.92 GB, free: 179.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/5.772, allocations: 321.2 kB / 2.92 GB, free: 179.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/5.774, allocations: 1.204 MB / 2.922 GB, free: 178.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/5.774, allocations: 0.8861 MB / 2.922 GB, free: 177.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006401/5.775, allocations: 128.6 kB / 2.923 GB, free: 177.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/5.775, allocations: 43.38 kB / 2.923 GB, free: 177.2 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/5.775, allocations: 0 / 2.923 GB, free: 177.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.02841/5.804, allocations: 21.18 MB / 2.943 GB, free: 156.2 MB / 0.7136 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)