Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 108 kB / 15.61 MB, free: 152 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.001215/0.001216, allocations: 194.2 kB / 16.53 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.514/1.514, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 73.67 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2581, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6894/0.9476, allocations: 171 MB / 0.9504 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008212/0.9559, allocations: 4.273 MB / 0.9546 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.9572, allocations: 21 kB / 0.9546 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.9585, allocations: 347.5 kB / 0.9549 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.9628, allocations: 1.216 MB / 0.9561 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.9657, allocations: 0.7851 MB / 0.9569 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003064/0.9688, allocations: 1.674 MB / 0.9585 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.9699, allocations: 0.5674 MB / 0.9591 GB, free: 184 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.9717, allocations: 0.6805 MB / 0.9597 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.9731, allocations: 0.5457 MB / 0.9603 GB, free: 80 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.9732, allocations: 69.97 kB / 0.9603 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.9754, allocations: 0.7987 MB / 0.9611 GB, free: 4 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003957/0.9758, allocations: 272.8 kB / 0.9614 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.9764, allocations: 407.1 kB / 0.9618 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.979, allocations: 1.255 MB / 0.963 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.979, allocations: 1.094 kB / 0.963 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.385e-06/0.979, allocations: 0 / 0.963 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.979, allocations: 0 / 0.963 GB, free: 15.84 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002406/0.9814, allocations: 1.033 MB / 0.964 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.9815, allocations: 9.312 kB / 0.964 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.9827, allocations: 166.5 kB / 0.9642 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009005/0.9836, allocations: 0.5177 MB / 0.9647 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.9836, allocations: 40.53 kB / 0.9647 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.9837, allocations: 50.97 kB / 0.9647 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.985, allocations: 0.6532 MB / 0.9654 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.985, allocations: 1.25 kB / 0.9654 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.9851, allocations: 23.59 kB / 0.9654 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.9851, allocations: 20.81 kB / 0.9654 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009891/0.9861, allocations: 0.5206 MB / 0.9659 GB, free: 14.82 MB / 0.7325 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.00376/0.9899, allocations: 2.305 MB / 0.9682 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.9904, allocations: 262 kB / 0.9684 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.9907, allocations: 137.2 kB / 0.9686 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.9908, allocations: 9.016 kB / 0.9686 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.9908, allocations: 40.16 kB / 0.9686 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/0.9908, allocations: 4 kB / 0.9686 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001822/0.9926, allocations: 0.6682 MB / 0.9693 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.9927, allocations: 79.36 kB / 0.9693 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.9934, allocations: 0.5572 MB / 0.9699 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.9934, allocations: 32.02 kB / 0.9699 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.9937, allocations: 332.2 kB / 0.9702 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.9938, allocations: 72.53 kB / 0.9703 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.9939, allocations: 71.28 kB / 0.9704 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.994, allocations: 362.9 kB / 0.9707 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.9943, allocations: 130.2 kB / 0.9708 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.9947, allocations: 231 kB / 0.9711 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.9952, allocations: 332.5 kB / 0.9714 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.9952, allocations: 1.188 kB / 0.9714 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009621/0.9962, allocations: 0.4921 MB / 0.9719 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.9962, allocations: 10.56 kB / 0.9719 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.9962, allocations: 2.531 kB / 0.9719 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/0.9966, allocations: 90.86 kB / 0.972 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.9969, allocations: 71.23 kB / 0.972 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/1, allocations: 3.338 MB / 0.9753 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/1.001, allocations: 57.59 kB / 0.9753 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/1.001, allocations: 10.53 kB / 0.9754 GB, free: 9.238 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000401/1.001, allocations: 219.5 kB / 0.9756 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.001, allocations: 56.41 kB / 0.9756 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.661e-05/1.001, allocations: 57.77 kB / 0.9757 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.001, allocations: 0 / 0.9757 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.001, allocations: 7.312 kB / 0.9757 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007449/1.002, allocations: 0.5288 MB / 0.9762 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/1.003, allocations: 0.921 MB / 0.9771 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.004, allocations: 2.297 kB / 0.9771 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/1.004, allocations: 40.67 kB / 0.9771 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/1.004, allocations: 70.44 kB / 0.9772 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/1.004, allocations: 6.969 kB / 0.9772 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/1.006, allocations: 1.822 MB / 0.979 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.006, allocations: 3.984 kB / 0.979 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006947/1.006, allocations: 427.9 kB / 0.9794 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/1.007, allocations: 176.2 kB / 0.9796 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/1.007, allocations: 7.938 kB / 0.9796 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/1.007, allocations: 20.73 kB / 0.9796 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/1.007, allocations: 22.28 kB / 0.9796 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/1.007, allocations: 15.95 kB / 0.9796 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004745/1.008, allocations: 396.2 kB / 0.98 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.126e-06/1.008, allocations: 0 / 0.98 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007973/1.009, allocations: 203.6 kB / 0.9802 GB, free: 5.609 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004377/1.009, allocations: 153.8 kB / 0.9804 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001045/1.01, allocations: 0.5453 MB / 0.9809 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.01, allocations: 2.688 kB / 0.9809 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/1.011, allocations: 251.5 kB / 0.9811 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.012, allocations: 381.9 kB / 0.9815 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/1.014, allocations: 0.9839 MB / 0.9825 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/1.015, allocations: 0.9167 MB / 0.9833 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005103/1.015, allocations: 106.3 kB / 0.9835 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/1.015, allocations: 40.09 kB / 0.9835 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.015, allocations: 0 / 0.9835 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of Templates: time 0.0248/1.04, allocations: 13.01 MB / 0.9962 GB, free: 12.89 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)