Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001646/0.001646, 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.002187/0.002187, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 62.48 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.332, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8842/1.216, allocations: 240.5 MB / 1.302 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02131/1.238, allocations: 16.09 MB / 1.318 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003573/1.241, allocations: 82.97 kB / 1.318 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003933/1.245, allocations: 1.015 MB / 1.319 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/1.256, allocations: 3.597 MB / 1.323 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005294/1.261, allocations: 1.615 MB / 1.324 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008797/1.27, allocations: 7.425 MB / 1.331 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/1.272, allocations: 1.425 MB / 1.333 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005783/1.278, allocations: 2.342 MB / 1.335 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004493/1.283, allocations: 1.783 MB / 1.337 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004862/1.283, allocations: 100.6 kB / 1.337 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006286/1.29, allocations: 3.148 MB / 1.34 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/1.291, allocations: 0.6979 MB / 1.341 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002038/1.293, allocations: 1.073 MB / 1.342 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006401/1.299, allocations: 3.638 MB / 1.345 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.299, allocations: 0 / 1.345 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.72e-07/1.299, allocations: 0 / 1.345 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.351e-05/1.299, allocations: 0 / 1.345 GB, free: 2.762 MB / 0.9981 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.005319/1.305, allocations: 2.498 MB / 1.348 GB, free: 17.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.305, allocations: 10.41 kB / 1.348 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/1.308, allocations: 0.5032 MB / 1.348 GB, free: 17.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/1.311, allocations: 1.273 MB / 1.35 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/1.311, allocations: 179 kB / 1.35 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/1.311, allocations: 152.6 kB / 1.35 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/1.314, allocations: 1.738 MB / 1.352 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/1.314, allocations: 5.656 kB / 1.352 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/1.314, allocations: 56.91 kB / 1.352 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.279e-05/1.314, allocations: 67.02 kB / 1.352 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/1.317, allocations: 1.374 MB / 1.353 GB, free: 15.75 MB / 1.014 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.009807/1.327, allocations: 8.179 MB / 1.361 GB, free: 9.625 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/1.328, allocations: 0.9003 MB / 1.362 GB, free: 9.164 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009003/1.329, allocations: 0.5418 MB / 1.362 GB, free: 8.898 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006719/1.33, allocations: 325.7 kB / 1.363 GB, free: 8.582 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.33, allocations: 44.91 kB / 1.363 GB, free: 8.535 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 3.256e-06/1.33, allocations: 0 / 1.363 GB, free: 8.535 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.008652/1.338, allocations: 3.119 MB / 1.366 GB, free: 6.797 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.339, allocations: 62.53 kB / 1.366 GB, free: 6.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/1.34, allocations: 1.26 MB / 1.367 GB, free: 6.055 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/1.34, allocations: 53.73 kB / 1.367 GB, free: 6.004 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/1.341, allocations: 0.8125 MB / 1.368 GB, free: 5.289 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/1.341, allocations: 365.2 kB / 1.368 GB, free: 4.977 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/1.342, allocations: 226.3 kB / 1.369 GB, free: 4.852 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.342, allocations: 359.5 kB / 1.369 GB, free: 4.508 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008212/1.343, allocations: 442.9 kB / 1.369 GB, free: 4.289 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.344, allocations: 0.8353 MB / 1.37 GB, free: 3.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/1.346, allocations: 1.255 MB / 1.371 GB, free: 2.734 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.346, allocations: 4 kB / 1.371 GB, free: 2.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002504/1.348, allocations: 1.4 MB / 1.373 GB, free: 2.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.348, allocations: 12.47 kB / 1.373 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.348, allocations: 8.312 kB / 1.373 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/1.348, allocations: 15.31 kB / 1.373 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.349, allocations: 285.3 kB / 1.373 GB, free: 2.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/1.349, allocations: 22.64 kB / 1.373 GB, free: 2.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/1.351, allocations: 169.6 kB / 1.373 GB, free: 1.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.376e-05/1.351, allocations: 51.8 kB / 1.373 GB, free: 1.941 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001427/1.353, allocations: 0.7757 MB / 1.374 GB, free: 1.496 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001047/1.354, allocations: 0.8208 MB / 1.375 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001814/1.356, allocations: 1.232 MB / 1.376 GB, free: 15.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.111e-06/1.356, allocations: 1.812 kB / 1.376 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002587/1.358, allocations: 1.391 MB / 1.377 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.358, allocations: 8.938 kB / 1.377 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.358, allocations: 9.844 kB / 1.377 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.358, allocations: 15.38 kB / 1.377 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.36, allocations: 272.8 kB / 1.378 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.522e-05/1.36, allocations: 25.45 kB / 1.378 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.361, allocations: 174.7 kB / 1.378 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/1.361, allocations: 47.81 kB / 1.378 GB, free: 15.19 MB / 1.029 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.0003423/1.362, allocations: 276.2 kB / 1.378 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/1.362, allocations: 164.1 kB / 1.378 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/1.364, allocations: 1.151 MB / 1.379 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/1.364, allocations: 12.34 kB / 1.379 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.364, allocations: 0 / 1.379 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/1.366, allocations: 1.077 MB / 1.38 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/1.372, allocations: 2.796 MB / 1.383 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.372, allocations: 6.469 kB / 1.383 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.373, allocations: 238.5 kB / 1.383 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/1.373, allocations: 8.875 kB / 1.383 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.381e-05/1.373, allocations: 30.58 kB / 1.383 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.373, allocations: 8.656 kB / 1.383 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.373, allocations: 6.812 kB / 1.384 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/1.376, allocations: 1.765 MB / 1.385 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007987/1.377, allocations: 340.5 kB / 1.386 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/1.377, allocations: 18.69 kB / 1.386 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.379, allocations: 152 kB / 1.386 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/1.379, allocations: 58.14 kB / 1.386 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/1.379, allocations: 42.41 kB / 1.386 GB, free: 10.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001318/1.38, allocations: 0.8397 MB / 1.387 GB, free: 9.863 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.4e-07/1.38, allocations: 0 / 1.387 GB, free: 9.863 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002489/1.383, allocations: 0.7671 MB / 1.387 GB, free: 9.797 MB / 1.029 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.0006425/1.383, allocations: 274.8 kB / 1.388 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003429/1.387, allocations: 1.732 MB / 1.389 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.387, allocations: 0 / 1.389 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009599/1.388, allocations: 0.5195 MB / 1.39 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/1.393, allocations: 0.9693 MB / 1.391 GB, free: 7.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/1.401, allocations: 4.171 MB / 1.395 GB, free: 3.465 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.403, allocations: 1.452 MB / 1.396 GB, free: 1.984 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002364/1.405, allocations: 0.5563 MB / 1.397 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/1.405, allocations: 127.4 kB / 1.397 GB, free: 1.297 MB / 1.029 GB Notification: Performance of SimCode: time 1.232e-06/1.405, allocations: 0 / 1.397 GB, free: 1.297 MB / 1.029 GB Notification: Performance of Templates: time 0.05431/1.46, allocations: 30.4 MB / 1.427 GB, free: 3.398 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)