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.001787/0.001787, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002407/0.002407, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.666/1.666, allocations: 205.1 MB / 222.4 MB, free: 4.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.6389/0.6389, allocations: 95.49 MB / 365.2 MB, free: 9.867 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.001706/0.001706, allocations: 72.47 kB / 445.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4108, allocations: 69.08 MB / 0.5024 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow): time 0.5594/0.9703, allocations: 148 MB / 0.6469 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005375/0.9757, allocations: 3.119 MB / 0.6499 GB, free: 404 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009094/0.9767, allocations: 16 kB / 0.65 GB, free: 404 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008602/0.9776, allocations: 236.5 kB / 0.6502 GB, free: 400 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.979, allocations: 0.5268 MB / 0.6507 GB, free: 368 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.9809, allocations: 0.5737 MB / 0.6513 GB, free: 340 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.9831, allocations: 1.266 MB / 0.6525 GB, free: 336 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/0.9838, allocations: 374.7 kB / 0.6528 GB, free: 300 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.9853, allocations: 469.6 kB / 0.6533 GB, free: 300 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007229/0.986, allocations: 369.1 kB / 0.6536 GB, free: 296 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.9861, allocations: 41.27 kB / 0.6537 GB, free: 296 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008448/0.987, allocations: 258.4 kB / 0.6539 GB, free: 288 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.9871, allocations: 129.9 kB / 0.6541 GB, free: 284 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.9874, allocations: 254.7 kB / 0.6543 GB, free: 284 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009356/0.9884, allocations: 0.7053 MB / 0.655 GB, free: 236 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.9884, allocations: 1.094 kB / 0.655 GB, free: 236 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.9884, allocations: 0 / 0.655 GB, free: 236 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.9884, allocations: 0 / 0.655 GB, free: 236 kB / 494.1 MB 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.001146/0.9896, allocations: 0.7619 MB / 0.6557 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.9896, allocations: 12.77 kB / 0.6557 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.99, allocations: 59.95 kB / 0.6558 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.9908, allocations: 433.9 kB / 0.6562 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.9908, allocations: 29.06 kB / 0.6562 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.9909, allocations: 31.16 kB / 0.6563 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.9915, allocations: 429.7 kB / 0.6567 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.9915, allocations: 3.594 kB / 0.6567 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.9916, allocations: 17.58 kB / 0.6567 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.9916, allocations: 10.78 kB / 0.6567 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.992, allocations: 264.6 kB / 0.657 GB, free: 15.3 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.002392/0.9944, allocations: 2.2 MB / 0.6591 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.9946, allocations: 127 kB / 0.6592 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.143e-05/0.9947, allocations: 57.16 kB / 0.6593 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.9949, allocations: 168.2 kB / 0.6594 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.9949, allocations: 37.94 kB / 0.6595 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.995, allocations: 0 / 0.6595 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.001412/0.9964, allocations: 0.6478 MB / 0.6601 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.9965, allocations: 104.9 kB / 0.6602 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.997, allocations: 487 kB / 0.6607 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.997, allocations: 33.39 kB / 0.6607 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.9972, allocations: 262.5 kB / 0.661 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.9972, allocations: 48.72 kB / 0.661 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.9973, allocations: 66.86 kB / 0.6611 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.9975, allocations: 356.7 kB / 0.6614 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.9976, allocations: 75.98 kB / 0.6615 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.9979, allocations: 224.3 kB / 0.6617 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.9982, allocations: 299.3 kB / 0.662 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9982, allocations: 0 / 0.662 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004794/0.9987, allocations: 356.8 kB / 0.6623 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.9987, allocations: 11.42 kB / 0.6623 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9987, allocations: 2.125 kB / 0.6623 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.9988, allocations: 7.938 kB / 0.6623 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.999, allocations: 78.92 kB / 0.6624 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.999, allocations: 5.188 kB / 0.6624 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.9993, allocations: 11.69 kB / 0.6624 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.9993, allocations: 19.03 kB / 0.6625 GB, free: 11.94 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 (38): * Single equations (assignments): 38 * 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.0001882/0.9995, allocations: 174.5 kB / 0.6626 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.9996, allocations: 55.47 kB / 0.6627 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.9999, allocations: 187.2 kB / 0.6629 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.9999, allocations: 4.609 kB / 0.6629 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9999, allocations: 0 / 0.6629 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1, allocations: 0 / 0.6629 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/1.001, allocations: 0.6323 MB / 0.6635 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.001, allocations: 4.031 kB / 0.6635 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/1.001, allocations: 32.88 kB / 0.6635 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.001, allocations: 0 / 0.6635 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/1.001, allocations: 5.625 kB / 0.6635 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.001, allocations: 0 / 0.6635 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.001, allocations: 3.312 kB / 0.6635 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/1.001, allocations: 351.7 kB / 0.6639 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.002, allocations: 118.4 kB / 0.664 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/1.002, allocations: 8.938 kB / 0.664 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/1.002, allocations: 3.531 kB / 0.664 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/1.002, allocations: 11.28 kB / 0.664 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/1.002, allocations: 11.77 kB / 0.664 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003081/1.002, allocations: 334.8 kB / 0.6643 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.022e-06/1.002, allocations: 0 / 0.6643 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005166/1.003, allocations: 142.9 kB / 0.6645 GB, free: 11.05 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.0005029/1.003, allocations: 228.8 kB / 0.6647 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003611/1.004, allocations: 207.8 kB / 0.6649 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.004, allocations: 0 / 0.6649 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/1.004, allocations: 61.59 kB / 0.6649 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/1.005, allocations: 290 kB / 0.6652 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/1.006, allocations: 0.744 MB / 0.6659 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/1.006, allocations: 0.8152 MB / 0.6667 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003395/1.007, allocations: 100.8 kB / 0.6668 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/1.007, allocations: 37.17 kB / 0.6669 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/1.007, allocations: 0 / 0.6669 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.01531/1.022, allocations: 8.938 MB / 0.6756 GB, free: 8.105 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.makefile (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)