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.001703/0.001703, allocations: 109.6 kB / 16.41 MB, free: 6.504 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.001665/0.001665, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002549/0.002549, allocations: 289.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00313/0.00313, allocations: 100.1 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4694, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7613/1.231, allocations: 243 MB / 1.004 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01944/1.25, allocations: 15.93 MB / 1.02 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/1.253, allocations: 76.84 kB / 1.02 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003068/1.256, allocations: 1.239 MB / 1.021 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009445/1.266, allocations: 3.955 MB / 1.025 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004496/1.27, allocations: 1.828 MB / 1.027 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006894/1.277, allocations: 5.258 MB / 1.032 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/1.28, allocations: 1.422 MB / 1.033 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006329/1.286, allocations: 2.692 MB / 1.036 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/1.29, allocations: 1.712 MB / 1.038 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005363/1.29, allocations: 173.7 kB / 1.038 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/1.296, allocations: 2.718 MB / 1.04 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008689/1.297, allocations: 0.7913 MB / 1.041 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001636/1.298, allocations: 1.15 MB / 1.042 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006085/1.304, allocations: 3.585 MB / 1.046 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.304, allocations: 1.219 kB / 1.046 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.382e-06/1.304, allocations: 1.094 kB / 1.046 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.248e-05/1.304, allocations: 0 / 1.046 GB, free: 15.46 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.00525/1.31, allocations: 2.572 MB / 1.048 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.31, allocations: 12.72 kB / 1.048 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/1.313, allocations: 0.5144 MB / 1.049 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/1.315, allocations: 1.377 MB / 1.05 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/1.315, allocations: 179.5 kB / 1.05 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/1.316, allocations: 149.3 kB / 1.051 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/1.319, allocations: 1.736 MB / 1.052 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/1.319, allocations: 8.766 kB / 1.052 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/1.319, allocations: 71.47 kB / 1.052 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/1.319, allocations: 58.22 kB / 1.052 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/1.322, allocations: 1.373 MB / 1.054 GB, free: 11.06 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.01158/1.333, allocations: 8.212 MB / 1.062 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/1.335, allocations: 0.8578 MB / 1.063 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000851/1.336, allocations: 0.5023 MB / 1.063 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006375/1.336, allocations: 321.1 kB / 1.063 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/1.336, allocations: 47.94 kB / 1.063 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 2.725e-06/1.336, allocations: 0 / 1.063 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.007337/1.344, allocations: 3.164 MB / 1.067 GB, free: 408 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/1.344, allocations: 60.41 kB / 1.067 GB, free: 336 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/1.346, allocations: 1.258 MB / 1.068 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/1.346, allocations: 49.7 kB / 1.068 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000699/1.346, allocations: 0.8296 MB / 1.069 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/1.347, allocations: 381.5 kB / 1.069 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003463/1.347, allocations: 226.8 kB / 1.069 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.347, allocations: 353.9 kB / 1.07 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008813/1.348, allocations: 448.5 kB / 1.07 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/1.349, allocations: 0.8271 MB / 1.071 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/1.351, allocations: 1.25 MB / 1.072 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.351, allocations: 4 kB / 1.072 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002728/1.354, allocations: 1.411 MB / 1.073 GB, free: 9.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/1.354, allocations: 12 kB / 1.073 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.354, allocations: 8 kB / 1.073 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/1.354, allocations: 19.98 kB / 1.073 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.355, allocations: 278.4 kB / 1.074 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.553e-05/1.355, allocations: 22.52 kB / 1.074 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.357, allocations: 67.91 kB / 1.074 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.357, allocations: 55.97 kB / 1.074 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001506/1.358, allocations: 0.7742 MB / 1.075 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001195/1.36, allocations: 0.8141 MB / 1.075 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002049/1.362, allocations: 1.246 MB / 1.077 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.458e-06/1.362, allocations: 4 kB / 1.077 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002565/1.364, allocations: 1.393 MB / 1.078 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.364, allocations: 19.88 kB / 1.078 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.364, allocations: 8 kB / 1.078 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.364, allocations: 16 kB / 1.078 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.365, allocations: 276.2 kB / 1.078 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/1.365, allocations: 22.52 kB / 1.078 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.367, allocations: 72.12 kB / 1.078 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.23e-05/1.367, allocations: 55.98 kB / 1.078 GB, free: 3.785 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.0003468/1.367, allocations: 262 kB / 1.079 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/1.368, allocations: 174.9 kB / 1.079 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/1.37, allocations: 1.165 MB / 1.08 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.37, allocations: 12 kB / 1.08 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.37, allocations: 0 / 1.08 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001827/1.372, allocations: 1.078 MB / 1.081 GB, free: 1.055 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004998/1.377, allocations: 2.784 MB / 1.084 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.377, allocations: 4 kB / 1.084 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.378, allocations: 244.6 kB / 1.084 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/1.378, allocations: 4 kB / 1.084 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/1.378, allocations: 31.92 kB / 1.084 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.378, allocations: 4 kB / 1.084 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.378, allocations: 4 kB / 1.084 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/1.381, allocations: 1.781 MB / 1.086 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007248/1.382, allocations: 339.9 kB / 1.086 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/1.382, allocations: 31.92 kB / 1.086 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.383, allocations: 58.77 kB / 1.086 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.383, allocations: 60.91 kB / 1.086 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/1.383, allocations: 42.52 kB / 1.086 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001214/1.385, allocations: 0.8465 MB / 1.087 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.385, allocations: 0 / 1.087 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002372/1.387, allocations: 0.7617 MB / 1.088 GB, free: 10 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.0008117/1.388, allocations: 284.2 kB / 1.088 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003583/1.391, allocations: 1.633 MB / 1.09 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.391, allocations: 4 kB / 1.09 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009438/1.392, allocations: 0.4934 MB / 1.09 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/1.397, allocations: 0.9139 MB / 1.091 GB, free: 6.809 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/1.403, allocations: 3.516 MB / 1.095 GB, free: 3.258 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.404, allocations: 1.441 MB / 1.096 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002131/1.407, allocations: 0.556 MB / 1.096 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/1.407, allocations: 131.4 kB / 1.097 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of SimCode: time 1.452e-06/1.407, allocations: 0 / 1.097 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of Templates: time 0.06018/1.467, allocations: 31.67 MB / 1.128 GB, free: 2.02 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)