Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001699/0.001699, allocations: 195.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 72.41 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3412, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.9186/1.26, allocations: 240.5 MB / 1.017 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02817/1.288, allocations: 16.01 MB / 1.033 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005385/1.294, allocations: 67.72 kB / 1.033 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00469/1.298, allocations: 1.015 MB / 1.034 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.015/1.313, allocations: 3.589 MB / 1.038 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00701/1.32, allocations: 1.611 MB / 1.039 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01135/1.332, allocations: 7.39 MB / 1.046 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/1.335, allocations: 1.414 MB / 1.048 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007299/1.342, allocations: 2.337 MB / 1.05 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005112/1.347, allocations: 1.773 MB / 1.052 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005885/1.348, allocations: 98.25 kB / 1.052 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008583/1.356, allocations: 3.147 MB / 1.055 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001777/1.358, allocations: 0.6964 MB / 1.056 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003322/1.362, allocations: 1.072 MB / 1.057 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008761/1.37, allocations: 3.628 MB / 1.06 GB, free: 6.215 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.37, allocations: 4 kB / 1.06 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/1.37, allocations: 0 / 1.06 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.724e-05/1.37, allocations: 4 kB / 1.06 GB, free: 6.207 MB / 0.7637 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.005132/1.376, allocations: 2.491 MB / 1.063 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.376, allocations: 8.031 kB / 1.063 GB, free: 3.652 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/1.379, allocations: 0.5086 MB / 1.063 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/1.381, allocations: 1.261 MB / 1.064 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/1.382, allocations: 174.2 kB / 1.065 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/1.382, allocations: 152 kB / 1.065 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/1.385, allocations: 1.733 MB / 1.066 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/1.385, allocations: 8 kB / 1.066 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/1.385, allocations: 56 kB / 1.067 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.127e-05/1.385, allocations: 66.69 kB / 1.067 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/1.388, allocations: 1.369 MB / 1.068 GB, free: 14.18 MB / 0.7794 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.0106/1.398, allocations: 8.183 MB / 1.076 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/1.4, allocations: 0.9048 MB / 1.077 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008579/1.401, allocations: 0.538 MB / 1.077 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006341/1.401, allocations: 312.2 kB / 1.078 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/1.401, allocations: 55.5 kB / 1.078 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=96): time 3.136e-06/1.401, allocations: 3.938 kB / 1.078 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=102): time 0.007684/1.409, allocations: 3.104 MB / 1.081 GB, free: 256 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/1.409, allocations: 64.41 kB / 1.081 GB, free: 180 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/1.411, allocations: 1.254 MB / 1.082 GB, free: 14.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/1.411, allocations: 49.7 kB / 1.082 GB, free: 14.86 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006703/1.412, allocations: 0.8054 MB / 1.083 GB, free: 14.05 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/1.412, allocations: 366.6 kB / 1.083 GB, free: 13.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/1.412, allocations: 226.8 kB / 1.083 GB, free: 13.46 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.413, allocations: 353.9 kB / 1.084 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008057/1.413, allocations: 441.8 kB / 1.084 GB, free: 12.67 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/1.415, allocations: 0.8312 MB / 1.085 GB, free: 11.67 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/1.416, allocations: 1.252 MB / 1.086 GB, free: 10.29 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.417, allocations: 4 kB / 1.086 GB, free: 10.29 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002792/1.419, allocations: 1.402 MB / 1.088 GB, free: 8.883 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/1.419, allocations: 10.66 kB / 1.088 GB, free: 8.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.419, allocations: 8 kB / 1.088 GB, free: 8.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/1.419, allocations: 16 kB / 1.088 GB, free: 8.852 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/1.421, allocations: 283.5 kB / 1.088 GB, free: 8.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/1.421, allocations: 19.94 kB / 1.088 GB, free: 8.555 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.423, allocations: 167 kB / 1.088 GB, free: 8.395 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/1.423, allocations: 51.98 kB / 1.088 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001469/1.424, allocations: 0.7686 MB / 1.089 GB, free: 7.574 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001082/1.425, allocations: 0.8157 MB / 1.09 GB, free: 6.582 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001826/1.427, allocations: 1.241 MB / 1.091 GB, free: 5.215 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-06/1.427, allocations: 0.9375 kB / 1.091 GB, free: 5.215 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002579/1.43, allocations: 1.39 MB / 1.092 GB, free: 3.816 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/1.43, allocations: 8 kB / 1.092 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.43, allocations: 8 kB / 1.092 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.43, allocations: 16 kB / 1.092 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.431, allocations: 271.6 kB / 1.093 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/1.431, allocations: 23.92 kB / 1.093 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/1.433, allocations: 163.9 kB / 1.093 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/1.433, allocations: 52 kB / 1.093 GB, free: 3.285 MB / 0.795 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.0003484/1.433, allocations: 267.8 kB / 1.093 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/1.433, allocations: 166 kB / 1.093 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/1.436, allocations: 1.156 MB / 1.094 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.436, allocations: 8 kB / 1.094 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.436, allocations: 0 / 1.094 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001644/1.437, allocations: 1.083 MB / 1.095 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/1.443, allocations: 2.77 MB / 1.098 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.443, allocations: 0 / 1.098 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.445, allocations: 248 kB / 1.098 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/1.445, allocations: 11.94 kB / 1.098 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.95e-05/1.445, allocations: 31.92 kB / 1.098 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/1.445, allocations: 7.938 kB / 1.098 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.445, allocations: 4 kB / 1.098 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/1.448, allocations: 1.805 MB / 1.1 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008526/1.449, allocations: 342.9 kB / 1.1 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/1.449, allocations: 27.98 kB / 1.1 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.45, allocations: 133.4 kB / 1.101 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.45, allocations: 68.91 kB / 1.101 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/1.45, allocations: 35.98 kB / 1.101 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001184/1.451, allocations: 0.8345 MB / 1.102 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.451, allocations: 4 kB / 1.102 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002191/1.454, allocations: 0.7655 MB / 1.102 GB, free: 9.34 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (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.0006186/1.454, allocations: 269.4 kB / 1.103 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003239/1.458, allocations: 1.725 MB / 1.104 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.458, allocations: 4 kB / 1.104 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008618/1.458, allocations: 0.5131 MB / 1.105 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/1.463, allocations: 0.9652 MB / 1.106 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/1.469, allocations: 4.155 MB / 1.11 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.47, allocations: 1.438 MB / 1.111 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002617/1.473, allocations: 0.5641 MB / 1.112 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/1.473, allocations: 127.4 kB / 1.112 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.232e-06/1.473, allocations: 0 / 1.112 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.05499/1.528, allocations: 30.44 MB / 1.142 GB, free: 1.504 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)