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.00118/0.001186, allocations: 103.2 kB / 16.27 MB, free: 6.418 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.00107/0.00107, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.385/1.385, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.744/1.744, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.001563/0.001563, allocations: 67.89 kB / 0.6721 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.228, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6111/0.8392, allocations: 171.1 MB / 0.9511 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006631/0.8459, allocations: 4.27 MB / 0.9552 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007372/0.8466, allocations: 19.88 kB / 0.9553 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.8478, allocations: 354 kB / 0.9556 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.8507, allocations: 1.221 MB / 0.9568 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.8527, allocations: 0.7698 MB / 0.9575 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002196/0.8549, allocations: 1.68 MB / 0.9592 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/0.8557, allocations: 0.562 MB / 0.9597 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.8569, allocations: 0.6771 MB / 0.9604 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.8582, allocations: 0.5553 MB / 0.9609 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.8583, allocations: 64 kB / 0.961 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.8599, allocations: 0.7912 MB / 0.9618 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.8602, allocations: 271.3 kB / 0.962 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.8606, allocations: 407 kB / 0.9624 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.8624, allocations: 1.262 MB / 0.9636 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.8624, allocations: 0 / 0.9636 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8624, allocations: 0 / 0.9636 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.8625, allocations: 3.984 kB / 0.9636 GB, free: 2.727 MB / 0.7481 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.001805/0.8643, allocations: 1.028 MB / 0.9646 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.8643, allocations: 8.031 kB / 0.9647 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.8653, allocations: 167 kB / 0.9648 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.8661, allocations: 0.5186 MB / 0.9653 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.8662, allocations: 41.31 kB / 0.9654 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.8662, allocations: 48 kB / 0.9654 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.8673, allocations: 0.6518 MB / 0.966 GB, free: 168 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.8674, allocations: 0 / 0.966 GB, free: 168 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.8674, allocations: 27.98 kB / 0.9661 GB, free: 140 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.8675, allocations: 25.31 kB / 0.9661 GB, free: 112 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/0.8684, allocations: 0.5125 MB / 0.9666 GB, free: 15.59 MB / 0.7637 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.003162/0.8716, allocations: 2.311 MB / 0.9689 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.8721, allocations: 264 kB / 0.9691 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.8724, allocations: 140.7 kB / 0.9692 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.8724, allocations: 3.938 kB / 0.9692 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.8724, allocations: 42.5 kB / 0.9693 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=20): time 1.512e-06/0.8725, allocations: 0 / 0.9693 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20): time 0.001756/0.8742, allocations: 0.665 MB / 0.9699 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.8743, allocations: 85.11 kB / 0.97 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006672/0.875, allocations: 0.5549 MB / 0.9706 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.875, allocations: 29.7 kB / 0.9706 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.8753, allocations: 331.4 kB / 0.9709 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.8754, allocations: 67 kB / 0.971 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.8755, allocations: 77.92 kB / 0.971 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.8757, allocations: 362.7 kB / 0.9714 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.8759, allocations: 132.6 kB / 0.9715 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.8763, allocations: 223.1 kB / 0.9717 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.8768, allocations: 326.5 kB / 0.972 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8768, allocations: 7.938 kB / 0.972 GB, free: 9.664 MB / 0.7637 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009555/0.8778, allocations: 498.9 kB / 0.9725 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.8778, allocations: 8 kB / 0.9725 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.8778, allocations: 0 / 0.9725 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.8782, allocations: 97.94 kB / 0.9726 GB, free: 9.055 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.8785, allocations: 71.89 kB / 0.9727 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.8818, allocations: 3.337 MB / 0.9759 GB, free: 5.383 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.8823, allocations: 59.48 kB / 0.976 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.8824, allocations: 12 kB / 0.976 GB, free: 5.312 MB / 0.7637 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.0003148/0.8827, allocations: 222.3 kB / 0.9762 GB, free: 5.086 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.8828, allocations: 59.33 kB / 0.9763 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.442e-05/0.8829, allocations: 56.5 kB / 0.9763 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8829, allocations: 4 kB / 0.9763 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8829, allocations: 3.938 kB / 0.9763 GB, free: 4.961 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007637/0.8837, allocations: 0.5274 MB / 0.9769 GB, free: 4.363 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.885, allocations: 0.9151 MB / 0.9778 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.8851, allocations: 8 kB / 0.9778 GB, free: 3.375 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.8853, allocations: 43.91 kB / 0.9778 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.8855, allocations: 64.8 kB / 0.9779 GB, free: 3.27 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.8855, allocations: 4 kB / 0.9779 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.8873, allocations: 1.82 MB / 0.9796 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8873, allocations: 0 / 0.9796 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.888, allocations: 440.5 kB / 0.9801 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.8883, allocations: 168.4 kB / 0.9802 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.8883, allocations: 8 kB / 0.9802 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.8888, allocations: 17.98 kB / 0.9802 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.8889, allocations: 23.97 kB / 0.9803 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.8889, allocations: 18.23 kB / 0.9803 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004585/0.8894, allocations: 390.8 kB / 0.9807 GB, free: 228 kB / 0.7637 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8894, allocations: 0 / 0.9807 GB, free: 228 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006786/0.8901, allocations: 211.6 kB / 0.9809 GB, free: 16 kB / 0.7637 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.0004523/0.8906, allocations: 167.4 kB / 0.981 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009884/0.8916, allocations: 0.5422 MB / 0.9816 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.8916, allocations: 4 kB / 0.9816 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.892, allocations: 248.5 kB / 0.9818 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.8937, allocations: 372.8 kB / 0.9821 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.8953, allocations: 1.031 MB / 0.9832 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.8959, allocations: 0.9053 MB / 0.984 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.896, allocations: 39.44 kB / 0.9841 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.896, allocations: 4 kB / 0.9841 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.01736/0.9134, allocations: 13.35 MB / 0.9971 GB, free: 15.53 MB / 0.795 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)