Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008465/0.0008467, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0009288/0.0009293, allocations: 179 kB / 16.27 MB, free: 6.664 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.738/1.738, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.6216/0.6216, allocations: 95.63 MB / 366.4 MB, free: 10.31 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.0005864/0.0005864, allocations: 16 kB / 447.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4663, allocations: 70.34 MB / 0.5057 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4946/0.9609, allocations: 143.5 MB / 0.6458 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.9673, allocations: 4.18 MB / 0.6499 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007721/0.9681, allocations: 18.88 kB / 0.6499 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007077/0.9688, allocations: 190.9 kB / 0.6501 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.9701, allocations: 0.5053 MB / 0.6506 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.9719, allocations: 0.6636 MB / 0.6513 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.9739, allocations: 1.415 MB / 0.6526 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.9744, allocations: 299.5 kB / 0.6529 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.9751, allocations: 384.1 kB / 0.6533 GB, free: 500 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.9756, allocations: 385.8 kB / 0.6537 GB, free: 500 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.9757, allocations: 18.72 kB / 0.6537 GB, free: 496 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.9768, allocations: 431.2 kB / 0.6541 GB, free: 492 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.9769, allocations: 81.23 kB / 0.6542 GB, free: 492 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.9773, allocations: 235.5 kB / 0.6544 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.9781, allocations: 0.6724 MB / 0.6551 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.9781, allocations: 0 / 0.6551 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9781, allocations: 0 / 0.6551 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.9781, allocations: 0 / 0.6551 GB, free: 16.41 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001045/0.9792, allocations: 0.6906 MB / 0.6557 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.9792, allocations: 11.98 kB / 0.6557 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.9795, allocations: 56.78 kB / 0.6558 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.9801, allocations: 410.4 kB / 0.6562 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.9801, allocations: 27.25 kB / 0.6562 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.9802, allocations: 27.53 kB / 0.6562 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.9808, allocations: 379.2 kB / 0.6566 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.9808, allocations: 4 kB / 0.6566 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.9809, allocations: 16.16 kB / 0.6566 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.9809, allocations: 8.969 kB / 0.6566 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.9814, allocations: 274.4 kB / 0.6569 GB, free: 15.52 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.001635/0.983, allocations: 1.529 MB / 0.6584 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.9834, allocations: 191.2 kB / 0.6586 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.9836, allocations: 90.98 kB / 0.6586 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.9848, allocations: 1.364 MB / 0.66 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.9848, allocations: 41.22 kB / 0.66 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.9849, allocations: 4 kB / 0.66 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000641/0.9855, allocations: 294.9 kB / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.9856, allocations: 110.2 kB / 0.6604 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.9859, allocations: 355.1 kB / 0.6607 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.986, allocations: 29.39 kB / 0.6608 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.9861, allocations: 232.4 kB / 0.661 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.9862, allocations: 66.12 kB / 0.6611 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.9862, allocations: 23.78 kB / 0.6611 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9863, allocations: 349.8 kB / 0.6614 GB, free: 12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.9865, allocations: 75.55 kB / 0.6615 GB, free: 12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.9867, allocations: 157.2 kB / 0.6616 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.9871, allocations: 231.1 kB / 0.6619 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9871, allocations: 0 / 0.6619 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004711/0.9876, allocations: 286 kB / 0.6621 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9876, allocations: 5.156 kB / 0.6621 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.9876, allocations: 3.031 kB / 0.6621 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9876, allocations: 3.156 kB / 0.6621 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.9878, allocations: 60.58 kB / 0.6622 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.9879, allocations: 2.938 kB / 0.6622 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.9881, allocations: 45.41 kB / 0.6622 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.9881, allocations: 9.125 kB / 0.6623 GB, free: 11.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 26 * 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.0001692/0.9883, allocations: 164.6 kB / 0.6624 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.9884, allocations: 43.5 kB / 0.6625 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.9889, allocations: 273.2 kB / 0.6627 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.9889, allocations: 2.375 kB / 0.6627 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.9889, allocations: 4 kB / 0.6627 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9889, allocations: 0 / 0.6627 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.99, allocations: 0.9118 MB / 0.6636 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.99, allocations: 7.188 kB / 0.6636 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.9901, allocations: 38.55 kB / 0.6637 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.9901, allocations: 10.41 kB / 0.6637 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.9902, allocations: 6.688 kB / 0.6637 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.9902, allocations: 2.906 kB / 0.6637 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9902, allocations: 6.219 kB / 0.6637 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.9906, allocations: 378.2 kB / 0.664 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.9908, allocations: 149.2 kB / 0.6642 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.9909, allocations: 10.02 kB / 0.6642 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.9911, allocations: 26.83 kB / 0.6642 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.9912, allocations: 23.31 kB / 0.6642 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.9912, allocations: 11.22 kB / 0.6643 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002446/0.9915, allocations: 284.7 kB / 0.6645 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9915, allocations: 0 / 0.6645 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004552/0.9919, allocations: 125.3 kB / 0.6646 GB, free: 10.49 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (16): * Single equations (assignments): 16 * 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.0004144/0.9924, allocations: 215.6 kB / 0.6648 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.9928, allocations: 201.2 kB / 0.665 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9928, allocations: 0 / 0.665 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.993, allocations: 101.1 kB / 0.6651 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.9943, allocations: 241.7 kB / 0.6654 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.9954, allocations: 0.8519 MB / 0.6662 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.9957, allocations: 0.8103 MB / 0.667 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003234/0.9961, allocations: 89.62 kB / 0.6671 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.9961, allocations: 29.97 kB / 0.6671 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.9961, allocations: 3.938 kB / 0.6671 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of Templates: time 0.01279/1.009, allocations: 7.667 MB / 0.6746 GB, free: 7.531 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: