Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.00129, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.01312/0.01312, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.799/1.799, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6823/0.6823, 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.000765/0.0007655, allocations: 16.66 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4605, allocations: 70.34 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow): time 0.6124/1.073, allocations: 144.1 MB / 0.6464 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00545/1.078, allocations: 3.13 MB / 0.6495 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007728/1.079, allocations: 21.09 kB / 0.6495 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006983/1.08, allocations: 204.5 kB / 0.6497 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/1.081, allocations: 0.5005 MB / 0.6502 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/1.083, allocations: 0.5272 MB / 0.6507 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/1.085, allocations: 1.82 MB / 0.6525 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/1.086, allocations: 302.6 kB / 0.6528 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005958/1.086, allocations: 396.2 kB / 0.6531 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/1.087, allocations: 374 kB / 0.6535 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.063e-05/1.087, allocations: 15.75 kB / 0.6535 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008221/1.088, allocations: 265.1 kB / 0.6538 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/1.088, allocations: 101.5 kB / 0.6539 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/1.088, allocations: 249.5 kB / 0.6541 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007553/1.089, allocations: 0.6927 MB / 0.6548 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.089, allocations: 0 / 0.6548 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/1.089, allocations: 0 / 0.6548 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.089, allocations: 0 / 0.6548 GB, free: 16.45 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001023/1.09, allocations: 0.6688 MB / 0.6554 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.09, allocations: 16.42 kB / 0.6554 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/1.09, allocations: 59.94 kB / 0.6555 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/1.091, allocations: 454.1 kB / 0.6559 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/1.091, allocations: 19.59 kB / 0.6559 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/1.091, allocations: 34.64 kB / 0.656 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/1.092, allocations: 428 kB / 0.6564 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.092, allocations: 2.906 kB / 0.6564 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/1.092, allocations: 14.25 kB / 0.6564 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.092, allocations: 9 kB / 0.6564 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/1.092, allocations: 263 kB / 0.6567 GB, free: 15.53 MB / 0.4981 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.002371/1.095, allocations: 2.205 MB / 0.6588 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/1.095, allocations: 127.1 kB / 0.6589 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/1.095, allocations: 58.55 kB / 0.659 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/1.095, allocations: 176.8 kB / 0.6592 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.095, allocations: 37.27 kB / 0.6592 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/1.095, allocations: 3.25 kB / 0.6592 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.001369/1.097, allocations: 0.6367 MB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/1.097, allocations: 109.2 kB / 0.6599 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/1.097, allocations: 476.3 kB / 0.6604 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/1.097, allocations: 30.05 kB / 0.6604 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/1.097, allocations: 260.7 kB / 0.6607 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/1.097, allocations: 51.36 kB / 0.6607 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/1.098, allocations: 31.12 kB / 0.6607 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.098, allocations: 350.3 kB / 0.6611 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/1.098, allocations: 79.73 kB / 0.6611 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/1.098, allocations: 217.1 kB / 0.6614 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/1.098, allocations: 293.9 kB / 0.6616 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.098, allocations: 4.656 kB / 0.6616 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004744/1.099, allocations: 347.7 kB / 0.662 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.099, allocations: 8.25 kB / 0.662 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.099, allocations: 5.469 kB / 0.662 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.099, allocations: 5.844 kB / 0.662 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/1.099, allocations: 74.31 kB / 0.6621 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.099, allocations: 5.688 kB / 0.6621 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/1.099, allocations: 17.31 kB / 0.6621 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/1.1, allocations: 14.94 kB / 0.6621 GB, free: 12.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001891/1.1, allocations: 180.1 kB / 0.6623 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/1.1, allocations: 47.56 kB / 0.6623 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/1.1, allocations: 192 kB / 0.6625 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.1, allocations: 0 / 0.6625 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.1, allocations: 0 / 0.6625 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.1, allocations: 6.844 kB / 0.6625 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/1.101, allocations: 0.6257 MB / 0.6631 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.101, allocations: 1.781 kB / 0.6631 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/1.101, allocations: 26.69 kB / 0.6631 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.101, allocations: 3.594 kB / 0.6631 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.101, allocations: 3.625 kB / 0.6631 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.101, allocations: 2.062 kB / 0.6631 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.101, allocations: 8.031 kB / 0.6632 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/1.102, allocations: 362.2 kB / 0.6635 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/1.102, allocations: 119 kB / 0.6636 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/1.102, allocations: 2.906 kB / 0.6636 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/1.102, allocations: 13.17 kB / 0.6636 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/1.102, allocations: 12.31 kB / 0.6636 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/1.102, allocations: 13.97 kB / 0.6637 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003285/1.102, allocations: 326.8 kB / 0.664 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.102, allocations: 0 / 0.664 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005463/1.103, allocations: 139.9 kB / 0.6641 GB, free: 11.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (vol.dynBal.medium.T) * 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 (13): * Single equations (assignments): 13 * 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.0005359/1.103, allocations: 227.1 kB / 0.6643 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00035/1.104, allocations: 187.2 kB / 0.6645 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.104, allocations: 3.312 kB / 0.6645 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/1.104, allocations: 60.5 kB / 0.6646 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/1.105, allocations: 268.3 kB / 0.6648 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/1.107, allocations: 0.9079 MB / 0.6657 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/1.107, allocations: 0.8233 MB / 0.6665 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003346/1.107, allocations: 94.94 kB / 0.6666 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/1.107, allocations: 40.3 kB / 0.6666 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/1.107, allocations: 1.75 kB / 0.6666 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.0156/1.123, allocations: 8.423 MB / 0.6749 GB, free: 7.918 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe 2>&1) Environment - environmentSimulation: