Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 106 kB / 16.41 MB, free: 6.461 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.001159/0.001159, allocations: 189.7 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 288 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5454, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7884/1.334, allocations: 242.4 MB / 1.004 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02042/1.354, allocations: 15.91 MB / 1.019 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/1.358, allocations: 76.44 kB / 1.019 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003059/1.361, allocations: 1.174 MB / 1.021 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/1.371, allocations: 3.819 MB / 1.024 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004879/1.376, allocations: 1.814 MB / 1.026 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008354/1.385, allocations: 5.259 MB / 1.031 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/1.387, allocations: 1.676 MB / 1.033 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006051/1.393, allocations: 2.639 MB / 1.035 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003898/1.397, allocations: 1.712 MB / 1.037 GB, free: 488 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004356/1.398, allocations: 177 kB / 1.037 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006027/1.404, allocations: 2.706 MB / 1.04 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009143/1.405, allocations: 0.7699 MB / 1.041 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/1.406, allocations: 1.147 MB / 1.042 GB, free: 48 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006683/1.413, allocations: 3.566 MB / 1.045 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/1.413, allocations: 0 / 1.045 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.665e-06/1.413, allocations: 0 / 1.045 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.488e-05/1.413, allocations: 0 / 1.045 GB, free: 15.58 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004777/1.418, allocations: 2.504 MB / 1.048 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.418, allocations: 10.03 kB / 1.048 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/1.421, allocations: 0.5144 MB / 1.048 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/1.423, allocations: 1.354 MB / 1.049 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/1.423, allocations: 184.2 kB / 1.05 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/1.424, allocations: 150.7 kB / 1.05 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/1.427, allocations: 1.738 MB / 1.052 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/1.427, allocations: 5.469 kB / 1.052 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.427, allocations: 62.53 kB / 1.052 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.356e-05/1.427, allocations: 61.12 kB / 1.052 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/1.429, allocations: 1.38 MB / 1.053 GB, free: 11.52 MB / 0.7325 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.009638/1.439, allocations: 8.211 MB / 1.061 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/1.441, allocations: 0.8938 MB / 1.062 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/1.441, allocations: 0.5324 MB / 1.062 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005926/1.442, allocations: 318.6 kB / 1.063 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/1.442, allocations: 54.88 kB / 1.063 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 3.086e-06/1.442, allocations: 2.562 kB / 1.063 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.007161/1.449, allocations: 3.122 MB / 1.066 GB, free: 476 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/1.449, allocations: 64.41 kB / 1.066 GB, free: 400 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/1.451, allocations: 1.262 MB / 1.067 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/1.451, allocations: 45.7 kB / 1.067 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/1.452, allocations: 0.8122 MB / 1.068 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/1.452, allocations: 370.7 kB / 1.068 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003301/1.452, allocations: 222.8 kB / 1.068 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.453, allocations: 349.9 kB / 1.069 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000834/1.453, allocations: 452.5 kB / 1.069 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.454, allocations: 0.8232 MB / 1.07 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/1.456, allocations: 1.254 MB / 1.071 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.456, allocations: 4 kB / 1.071 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002586/1.459, allocations: 1.41 MB / 1.073 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.459, allocations: 11.94 kB / 1.073 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.459, allocations: 12 kB / 1.073 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/1.459, allocations: 12 kB / 1.073 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.46, allocations: 281.7 kB / 1.073 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/1.46, allocations: 18.53 kB / 1.073 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.462, allocations: 72.28 kB / 1.073 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/1.462, allocations: 48 kB / 1.073 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001471/1.463, allocations: 0.7781 MB / 1.074 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00107/1.464, allocations: 0.821 MB / 1.075 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001849/1.466, allocations: 1.23 MB / 1.076 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.588e-06/1.466, allocations: 0 / 1.076 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002485/1.469, allocations: 1.392 MB / 1.077 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.469, allocations: 11.94 kB / 1.077 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.469, allocations: 16.12 kB / 1.077 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.469, allocations: 19.94 kB / 1.077 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.47, allocations: 276.3 kB / 1.078 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/1.47, allocations: 18.44 kB / 1.078 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.471, allocations: 74.34 kB / 1.078 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/1.472, allocations: 51.98 kB / 1.078 GB, free: 3.895 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003823/1.472, allocations: 270 kB / 1.078 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/1.472, allocations: 170 kB / 1.078 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/1.475, allocations: 1.149 MB / 1.079 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/1.475, allocations: 11.94 kB / 1.079 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/1.475, allocations: 0 / 1.079 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001691/1.476, allocations: 1.086 MB / 1.08 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/1.481, allocations: 2.782 MB / 1.083 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.481, allocations: 3.938 kB / 1.083 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.483, allocations: 248.8 kB / 1.083 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.483, allocations: 8 kB / 1.083 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/1.483, allocations: 27.98 kB / 1.083 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/1.483, allocations: 11.94 kB / 1.083 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.483, allocations: 0 / 1.083 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/1.486, allocations: 1.772 MB / 1.085 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007718/1.486, allocations: 335 kB / 1.085 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/1.487, allocations: 24 kB / 1.085 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.488, allocations: 59.88 kB / 1.085 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.488, allocations: 64.92 kB / 1.085 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/1.488, allocations: 39.97 kB / 1.086 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001143/1.489, allocations: 0.8451 MB / 1.086 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/1.489, allocations: 0 / 1.086 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00216/1.491, allocations: 0.7617 MB / 1.087 GB, free: 10.12 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006662/1.492, allocations: 275.1 kB / 1.087 GB, free: 9.875 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0031/1.495, allocations: 1.738 MB / 1.089 GB, free: 8.211 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.495, allocations: 0 / 1.089 GB, free: 8.211 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00084/1.496, allocations: 0.5214 MB / 1.09 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/1.5, allocations: 0.913 MB / 1.09 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/1.505, allocations: 3.522 MB / 1.094 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.507, allocations: 1.441 MB / 1.095 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/1.507, allocations: 139.4 kB / 1.095 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of SimCode: time 1.002e-06/1.507, allocations: 0 / 1.095 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of Templates: time 0.03852/1.546, allocations: 26.69 MB / 1.121 GB, free: 7.215 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)