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.0009817/0.0009815, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001041/0.00104, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.5787/0.5787, allocations: 95.58 MB / 366 MB, free: 10.4 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.0005555/0.0005556, allocations: 20 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3172, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolume): time 0.5037/0.821, allocations: 211.3 MB / 0.7113 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02063/0.8417, allocations: 14.41 MB / 0.7254 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.8445, allocations: 82.66 kB / 0.7255 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.8475, allocations: 1.055 MB / 0.7265 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.8601, allocations: 4.017 MB / 0.7304 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006309/0.8664, allocations: 2.208 MB / 0.7326 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005823/0.8722, allocations: 3.137 MB / 0.7356 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.8745, allocations: 1.397 MB / 0.737 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/0.8778, allocations: 1.51 MB / 0.7385 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/0.8803, allocations: 1.338 MB / 0.7398 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.8806, allocations: 100 kB / 0.7399 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/0.8861, allocations: 1.949 MB / 0.7418 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009328/0.8871, allocations: 0.7095 MB / 0.7425 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007768/0.8878, allocations: 473 kB / 0.7429 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.8924, allocations: 3.003 MB / 0.7459 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.8924, allocations: 0 / 0.7459 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8924, allocations: 0 / 0.7459 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.15e-05/0.8925, allocations: 0 / 0.7459 GB, free: 5.223 MB / 0.5137 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.00443/0.8969, allocations: 2.409 MB / 0.7482 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.897, allocations: 15.98 kB / 0.7482 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/0.8977, allocations: 265.1 kB / 0.7485 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.9, allocations: 1.35 MB / 0.7498 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.9002, allocations: 250 kB / 0.75 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.9005, allocations: 167.9 kB / 0.7502 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/0.9039, allocations: 2.036 MB / 0.7522 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.9039, allocations: 4 kB / 0.7522 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.9041, allocations: 72 kB / 0.7523 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.9042, allocations: 71 kB / 0.7523 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/0.9074, allocations: 1.893 MB / 0.7542 GB, free: 12.56 MB / 0.5294 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.01223/0.9196, allocations: 8.165 MB / 0.7621 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.9218, allocations: 1.224 MB / 0.7633 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.9233, allocations: 1.768 MB / 0.7651 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.9233, allocations: 55.5 kB / 0.7651 GB, free: 404 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=120): time 3.817e-06/0.9233, allocations: 4 kB / 0.7651 GB, free: 400 kB / 0.5294 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.01598/0.9393, allocations: 6.045 MB / 0.771 GB, free: 10.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.9394, allocations: 72.34 kB / 0.7711 GB, free: 10.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.9418, allocations: 1.537 MB / 0.7726 GB, free: 8.609 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.942, allocations: 57.64 kB / 0.7727 GB, free: 8.547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007373/0.9427, allocations: 0.8566 MB / 0.7735 GB, free: 7.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/0.9432, allocations: 441.6 kB / 0.7739 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.9433, allocations: 28 kB / 0.7739 GB, free: 7.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9435, allocations: 365.9 kB / 0.7743 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.9446, allocations: 0.57 MB / 0.7748 GB, free: 6.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.946, allocations: 0.9069 MB / 0.7757 GB, free: 5.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.9473, allocations: 0.738 MB / 0.7765 GB, free: 4.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.9474, allocations: 4 kB / 0.7765 GB, free: 4.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003286/0.9507, allocations: 1.808 MB / 0.7782 GB, free: 2.672 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001336/0.952, allocations: 3.62 MB / 0.7818 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.952, allocations: 11.98 kB / 0.7818 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.342e-05/0.9521, allocations: 24 kB / 0.7818 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.9535, allocations: 335.5 kB / 0.7821 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.742e-05/0.9536, allocations: 19.94 kB / 0.7821 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.9553, allocations: 168.6 kB / 0.7823 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.9555, allocations: 67.98 kB / 0.7824 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.9555, allocations: 4 kB / 0.7824 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00287/0.9584, allocations: 1.629 MB / 0.784 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.9584, allocations: 8 kB / 0.784 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.9584, allocations: 20.66 kB / 0.784 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.9598, allocations: 331.5 kB / 0.7843 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.041e-05/0.9598, allocations: 19.94 kB / 0.7843 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.9613, allocations: 167.6 kB / 0.7845 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.9615, allocations: 68.09 kB / 0.7845 GB, free: 11.87 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009476/0.9625, allocations: 0.5317 MB / 0.7851 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/0.9629, allocations: 185.8 kB / 0.7852 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.9665, allocations: 1.755 MB / 0.7869 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.9665, allocations: 16 kB / 0.787 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.9666, allocations: 4 kB / 0.787 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.9666, allocations: 7.969 kB / 0.787 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005865/0.9725, allocations: 3.318 MB / 0.7902 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.9725, allocations: 0 / 0.7902 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.9737, allocations: 251.7 kB / 0.7905 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.975, allocations: 262.2 kB / 0.7907 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.9752, allocations: 31.98 kB / 0.7907 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.9763, allocations: 1.712 MB / 0.7924 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.9764, allocations: 8.016 kB / 0.7924 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.9803, allocations: 2.356 MB / 0.7947 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.9815, allocations: 442.5 kB / 0.7951 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/0.9819, allocations: 35.94 kB / 0.7952 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.9836, allocations: 147.7 kB / 0.7953 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.9838, allocations: 85.19 kB / 0.7954 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/0.984, allocations: 63.89 kB / 0.7955 GB, free: 460 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001556/0.9855, allocations: 1.037 MB / 0.7965 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9855, allocations: 4 kB / 0.7965 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003596/0.9891, allocations: 1.226 MB / 0.7977 GB, free: 14.19 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002097/0.9913, allocations: 0.8295 MB / 0.7985 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004315/0.9956, allocations: 2.429 MB / 0.8009 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.9956, allocations: 1.562 kB / 0.8009 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.9971, allocations: 0.7686 MB / 0.8016 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/1.002, allocations: 0.9286 MB / 0.8025 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/1.009, allocations: 4.792 MB / 0.8072 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/1.011, allocations: 1.545 MB / 0.8087 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002806/1.013, allocations: 0.6354 MB / 0.8093 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/1.014, allocations: 159.4 kB / 0.8095 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/1.014, allocations: 0 / 0.8095 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of Templates: time 0.07175/1.086, allocations: 43.19 MB / 0.8517 GB, free: 7.117 MB / 0.6231 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: