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.0009711/0.0009713, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009998/0.0009999, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.689/1.689, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005285/0.0005288, allocations: 14.31 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.247, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6345/0.8816, allocations: 155.4 MB / 0.9391 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005928/0.8875, allocations: 4.004 MB / 0.943 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009015/0.8885, allocations: 17.81 kB / 0.943 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.8893, allocations: 237.3 kB / 0.9432 GB, free: 5.547 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00276/0.8921, allocations: 0.8975 MB / 0.9441 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.8939, allocations: 0.5646 MB / 0.9446 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003221/0.8972, allocations: 1.972 MB / 0.9466 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006972/0.8979, allocations: 418.9 kB / 0.947 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.8992, allocations: 0.5686 MB / 0.9475 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009816/0.9002, allocations: 0.5307 MB / 0.948 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.9003, allocations: 26.09 kB / 0.9481 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.9016, allocations: 412.5 kB / 0.9485 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.9019, allocations: 226.2 kB / 0.9487 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.9021, allocations: 172.1 kB / 0.9488 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008409/0.9029, allocations: 0.8773 MB / 0.9497 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9029, allocations: 0.875 kB / 0.9497 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9029, allocations: 0 / 0.9497 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.629e-06/0.903, allocations: 4 kB / 0.9497 GB, free: 4.793 MB / 0.7169 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.001876/0.9048, allocations: 0.9122 MB / 0.9506 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.9049, allocations: 10.06 kB / 0.9506 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009344/0.9058, allocations: 161.6 kB / 0.9508 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.9066, allocations: 0.4999 MB / 0.9512 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.9067, allocations: 40.53 kB / 0.9513 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.9068, allocations: 54.03 kB / 0.9513 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.908, allocations: 0.653 MB / 0.952 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.908, allocations: 1.594 kB / 0.952 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.9081, allocations: 26.97 kB / 0.952 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.9082, allocations: 29.14 kB / 0.952 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009658/0.9091, allocations: 0.5169 MB / 0.9525 GB, free: 19.79 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.00341/0.9125, allocations: 2.309 MB / 0.9548 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.913, allocations: 253.8 kB / 0.955 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.9133, allocations: 147.2 kB / 0.9552 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.9133, allocations: 7.219 kB / 0.9552 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.9134, allocations: 37.03 kB / 0.9552 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.9134, allocations: 4 kB / 0.9552 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001594/0.915, allocations: 0.6853 MB / 0.9559 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.9151, allocations: 82.7 kB / 0.956 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.9158, allocations: 0.5387 MB / 0.9565 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.9158, allocations: 32.64 kB / 0.9565 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.916, allocations: 338 kB / 0.9568 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.9161, allocations: 74.73 kB / 0.9569 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.9161, allocations: 4.781 kB / 0.9569 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9162, allocations: 362.8 kB / 0.9573 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.9165, allocations: 139.8 kB / 0.9574 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.9168, allocations: 222 kB / 0.9576 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.9171, allocations: 166.4 kB / 0.9578 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9171, allocations: 0 / 0.9578 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008412/0.9179, allocations: 0.5075 MB / 0.9583 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.918, allocations: 6.219 kB / 0.9583 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.918, allocations: 6.891 kB / 0.9583 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002926/0.9183, allocations: 99.61 kB / 0.9584 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.9186, allocations: 74.45 kB / 0.9584 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.9214, allocations: 3.09 MB / 0.9615 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.922, allocations: 66.86 kB / 0.9615 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.922, allocations: 13.25 kB / 0.9615 GB, free: 14.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003159/0.9223, allocations: 219.3 kB / 0.9617 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.9224, allocations: 55.48 kB / 0.9618 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-05/0.9225, allocations: 54.84 kB / 0.9618 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.9225, allocations: 1.938 kB / 0.9618 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9225, allocations: 0 / 0.9618 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006872/0.9232, allocations: 0.5433 MB / 0.9624 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.9245, allocations: 0.928 MB / 0.9633 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9245, allocations: 5.031 kB / 0.9633 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.9247, allocations: 41.08 kB / 0.9633 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.9249, allocations: 69.56 kB / 0.9634 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.9249, allocations: 5.281 kB / 0.9634 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.9265, allocations: 1.679 MB / 0.965 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9265, allocations: 1.344 kB / 0.965 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.9272, allocations: 454.9 kB / 0.9655 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.9274, allocations: 170.5 kB / 0.9656 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.9275, allocations: 5.844 kB / 0.9656 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.928, allocations: 38.97 kB / 0.9657 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.928, allocations: 19.23 kB / 0.9657 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.9281, allocations: 12.3 kB / 0.9657 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000539/0.9286, allocations: 395.9 kB / 0.9661 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9286, allocations: 1.859 kB / 0.9661 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009092/0.9296, allocations: 206.8 kB / 0.9663 GB, free: 12.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004727/0.93, allocations: 172.1 kB / 0.9665 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.9311, allocations: 0.5375 MB / 0.967 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.9311, allocations: 1.188 kB / 0.967 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.9315, allocations: 257 kB / 0.9672 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.933, allocations: 356.6 kB / 0.9676 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.9346, allocations: 1.187 MB / 0.9687 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.9351, allocations: 0.9067 MB / 0.9696 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004315/0.9355, allocations: 107.3 kB / 0.9697 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.9356, allocations: 41.3 kB / 0.9697 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.9356, allocations: 0 / 0.9697 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.01831/0.9539, allocations: 11.96 MB / 0.9814 GB, free: 5.398 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: