Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Examples.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.001481, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01242/0.01242, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.864/1.864, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6456/0.6456, allocations: 95.63 MB / 366.4 MB, free: 10.23 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008097/0.0008099, allocations: 20 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4649, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolume): time 0.7845/1.249, allocations: 275.1 MB / 0.7743 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02752/1.277, allocations: 14.2 MB / 0.7882 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/1.282, allocations: 83.31 kB / 0.7882 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003932/1.286, allocations: 1.042 MB / 0.7893 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01497/1.301, allocations: 4.07 MB / 0.7932 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009/1.31, allocations: 2.78 MB / 0.7959 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.321, allocations: 7.722 MB / 0.8035 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003236/1.324, allocations: 1.456 MB / 0.8049 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/1.329, allocations: 1.653 MB / 0.8065 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005681/1.334, allocations: 2.015 MB / 0.8085 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007175/1.335, allocations: 100 kB / 0.8086 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01139/1.347, allocations: 4.194 MB / 0.8127 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001987/1.349, allocations: 0.7711 MB / 0.8134 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003755/1.352, allocations: 1.164 MB / 0.8146 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/1.365, allocations: 4.915 MB / 0.8194 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.365, allocations: 0 / 0.8194 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.254e-06/1.365, allocations: 0 / 0.8194 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001565/1.365, allocations: 0 / 0.8194 GB, free: 14.32 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.007734/1.373, allocations: 2.475 MB / 0.8218 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.373, allocations: 19.98 kB / 0.8218 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/1.375, allocations: 269 kB / 0.8221 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/1.379, allocations: 1.507 MB / 0.8235 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/1.379, allocations: 242 kB / 0.8238 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005747/1.379, allocations: 167.9 kB / 0.8239 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005237/1.385, allocations: 2.073 MB / 0.8259 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/1.385, allocations: 4 kB / 0.826 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/1.385, allocations: 75.94 kB / 0.826 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.882e-05/1.385, allocations: 59.08 kB / 0.8261 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/1.389, allocations: 1.909 MB / 0.8279 GB, free: 5.324 MB / 0.5919 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.01347/1.403, allocations: 8.142 MB / 0.8359 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/1.405, allocations: 1.231 MB / 0.8371 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/1.406, allocations: 0.6388 MB / 0.8377 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/1.408, allocations: 1.772 MB / 0.8395 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/1.408, allocations: 55.55 kB / 0.8395 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=120): time 3.367e-06/1.408, allocations: 0 / 0.8395 GB, free: 8.535 MB / 0.6075 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: vol1.dynBal.medium.T 2: vol1.dynBal.medium.p 3: vol.medium.T 4: vol.medium.p 5: vol2.dynBal.medium.T 6: vol2.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=123): time 0.01732/1.425, allocations: 6.074 MB / 0.8454 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/1.425, allocations: 64.41 kB / 0.8455 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/1.428, allocations: 1.502 MB / 0.847 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002087/1.429, allocations: 53.7 kB / 0.847 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007937/1.43, allocations: 0.8528 MB / 0.8479 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000458/1.43, allocations: 453.5 kB / 0.8483 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/1.43, allocations: 125.6 kB / 0.8484 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.43, allocations: 305.1 kB / 0.8487 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.432, allocations: 0.5817 MB / 0.8493 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/1.433, allocations: 0.9187 MB / 0.8502 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/1.436, allocations: 1.551 MB / 0.8517 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/1.436, allocations: 4.328 kB / 0.8517 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00373/1.44, allocations: 1.836 MB / 0.8535 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003224/1.44, allocations: 392.3 kB / 0.8538 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.44, allocations: 11.94 kB / 0.8539 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.267e-05/1.44, allocations: 20 kB / 0.8539 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.441, allocations: 331.5 kB / 0.8542 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.056e-05/1.441, allocations: 23.92 kB / 0.8542 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.443, allocations: 169 kB / 0.8544 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/1.443, allocations: 67.97 kB / 0.8544 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.443, allocations: 4 kB / 0.8544 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00298/1.446, allocations: 1.649 MB / 0.8561 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/1.446, allocations: 8.75 kB / 0.8561 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.446, allocations: 16 kB / 0.8561 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.448, allocations: 331.5 kB / 0.8564 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.795e-05/1.448, allocations: 19.94 kB / 0.8564 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/1.45, allocations: 169.2 kB / 0.8566 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.45, allocations: 63.98 kB / 0.8566 GB, free: 6.422 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 5 (vol2.i_w,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 (188): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 1 * 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.00119/1.451, allocations: 0.5279 MB / 0.8572 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/1.451, allocations: 181.8 kB / 0.8573 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/1.455, allocations: 1.755 MB / 0.859 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/1.455, allocations: 12 kB / 0.8591 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.455, allocations: 0 / 0.8591 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.455, allocations: 7.969 kB / 0.8591 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006473/1.462, allocations: 3.322 MB / 0.8623 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.462, allocations: 0 / 0.8623 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.463, allocations: 251.7 kB / 0.8625 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/1.464, allocations: 258.3 kB / 0.8628 GB, free: 8 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/1.465, allocations: 44 kB / 0.8628 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/1.466, allocations: 1.716 MB / 0.8645 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.466, allocations: 0 / 0.8645 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/1.47, allocations: 2.364 MB / 0.8668 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.471, allocations: 442.7 kB / 0.8672 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/1.472, allocations: 27.94 kB / 0.8673 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/1.474, allocations: 151.8 kB / 0.8674 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/1.474, allocations: 85.19 kB / 0.8675 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.474, allocations: 59.95 kB / 0.8675 GB, free: 11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001774/1.476, allocations: 1.018 MB / 0.8685 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/1.476, allocations: 3.938 kB / 0.8685 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00472/1.48, allocations: 1.238 MB / 0.8698 GB, free: 8.75 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.U,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,entFloRat2.h_out) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002899/1.483, allocations: 0.8344 MB / 0.8706 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004653/1.488, allocations: 2.433 MB / 0.8729 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.488, allocations: 1.562 kB / 0.8729 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/1.49, allocations: 0.7686 MB / 0.8737 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006404/1.496, allocations: 0.9559 MB / 0.8746 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3261/1.822, allocations: 4.985 MB / 0.8795 GB, free: 269.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/1.824, allocations: 1.509 MB / 0.881 GB, free: 268.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003568/1.828, allocations: 0.6412 MB / 0.8816 GB, free: 268.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006259/1.828, allocations: 158 kB / 0.8817 GB, free: 268.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.613e-06/1.828, allocations: 0 / 0.8817 GB, free: 268.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.07129/1.9, allocations: 43.95 MB / 0.9247 GB, free: 238.1 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolume.pipe 2>&1) Environment - environmentSimulation: