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.001239/0.001239, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001473/0.001473, allocations: 193 kB / 16.13 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.643/1.643, allocations: 205.1 MB / 222 MB, free: 4.953 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.634/0.634, allocations: 95.48 MB / 364.8 MB, free: 10.19 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.001409/0.001409, allocations: 59.92 kB / 444.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.377, allocations: 69.08 MB / 0.5017 GB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow): time 0.5779/0.9549, allocations: 146.1 MB / 0.6444 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006608/0.9616, allocations: 3.186 MB / 0.6475 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.963, allocations: 22.84 kB / 0.6475 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009911/0.964, allocations: 197.5 kB / 0.6477 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.9655, allocations: 0.4948 MB / 0.6482 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.9673, allocations: 0.529 MB / 0.6487 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.9698, allocations: 1.823 MB / 0.6505 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.9704, allocations: 314.2 kB / 0.6508 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008815/0.9713, allocations: 397.3 kB / 0.6511 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000671/0.972, allocations: 376.9 kB / 0.6515 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.9721, allocations: 18.84 kB / 0.6515 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.9731, allocations: 265.4 kB / 0.6518 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.9733, allocations: 113.5 kB / 0.6519 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.9736, allocations: 230.1 kB / 0.6521 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000854/0.9745, allocations: 0.6979 MB / 0.6528 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9745, allocations: 0 / 0.6528 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.9745, allocations: 7.938 kB / 0.6528 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.9745, allocations: 1.203 kB / 0.6528 GB, free: 0.5078 MB / 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.001264/0.9758, allocations: 0.7531 MB / 0.6535 GB, free: 16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.9759, allocations: 15.08 kB / 0.6535 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003201/0.9762, allocations: 62.2 kB / 0.6536 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/0.9769, allocations: 452.3 kB / 0.654 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.9769, allocations: 28.06 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.977, allocations: 29.38 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/0.9776, allocations: 426 kB / 0.6545 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9776, allocations: 3.109 kB / 0.6545 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.9776, allocations: 17.38 kB / 0.6545 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.9776, allocations: 9.812 kB / 0.6545 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.978, allocations: 262.2 kB / 0.6548 GB, free: 15.58 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.002595/0.9806, allocations: 2.196 MB / 0.6569 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.9809, allocations: 124.9 kB / 0.657 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.981, allocations: 62.2 kB / 0.6571 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.9812, allocations: 168.3 kB / 0.6573 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.9812, allocations: 37.72 kB / 0.6573 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.9812, allocations: 0 / 0.6573 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.001504/0.9827, allocations: 0.6464 MB / 0.6579 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.9828, allocations: 106.2 kB / 0.658 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.9834, allocations: 470 kB / 0.6585 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.9834, allocations: 29.08 kB / 0.6585 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.9836, allocations: 262.1 kB / 0.6587 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.9836, allocations: 53.53 kB / 0.6588 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/0.9837, allocations: 68.58 kB / 0.6589 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9839, allocations: 357.4 kB / 0.6592 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.984, allocations: 74.09 kB / 0.6593 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.9843, allocations: 218.5 kB / 0.6595 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.9846, allocations: 290.2 kB / 0.6598 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9846, allocations: 4 kB / 0.6598 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006574/0.9853, allocations: 351.2 kB / 0.6601 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.9853, allocations: 5.25 kB / 0.6601 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.9853, allocations: 9.875 kB / 0.6601 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.9854, allocations: 4.344 kB / 0.6601 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.9856, allocations: 73.36 kB / 0.6602 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.9857, allocations: 7.344 kB / 0.6602 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.9859, allocations: 18.77 kB / 0.6602 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.9859, allocations: 13.38 kB / 0.6602 GB, free: 12.22 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.0001912/0.9861, allocations: 176.6 kB / 0.6604 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.9862, allocations: 48.97 kB / 0.6604 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.9866, allocations: 191.4 kB / 0.6606 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9866, allocations: 3.406 kB / 0.6606 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.9866, allocations: 0.875 kB / 0.6606 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.9866, allocations: 3.094 kB / 0.6606 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.9875, allocations: 0.63 MB / 0.6612 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9876, allocations: 4.031 kB / 0.6612 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.9877, allocations: 25.7 kB / 0.6613 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9877, allocations: 2.594 kB / 0.6613 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.9877, allocations: 9.688 kB / 0.6613 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.9877, allocations: 0 / 0.6613 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9877, allocations: 6.25 kB / 0.6613 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.9883, allocations: 357.7 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-05/0.9884, allocations: 114.7 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.9884, allocations: 2.375 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.9887, allocations: 14.08 kB / 0.6618 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.9887, allocations: 7.219 kB / 0.6618 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.9887, allocations: 17.27 kB / 0.6618 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000325/0.989, allocations: 328.5 kB / 0.6621 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9891, allocations: 0 / 0.6621 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000535/0.9896, allocations: 140 kB / 0.6622 GB, free: 11.32 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.0005048/0.9901, allocations: 218.9 kB / 0.6624 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.9905, allocations: 190.4 kB / 0.6626 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9905, allocations: 8 kB / 0.6626 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.134e-05/0.9906, allocations: 59.7 kB / 0.6627 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.9918, allocations: 270.5 kB / 0.6629 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.9933, allocations: 0.8634 MB / 0.6638 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.9939, allocations: 0.8205 MB / 0.6646 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003836/0.9943, allocations: 88.89 kB / 0.6647 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.9944, allocations: 39.27 kB / 0.6647 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.9944, allocations: 0 / 0.6647 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.01556/1.01, allocations: 8.47 MB / 0.673 GB, free: 8.422 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)