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.001201/0.001206, allocations: 103.4 kB / 16.36 MB, free: 6.301 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.001119/0.001119, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.444/1.444, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001509/0.001509, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2668, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5863/0.8532, allocations: 171 MB / 0.9518 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007599/0.8608, allocations: 4.278 MB / 0.956 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009721/0.8618, allocations: 23.88 kB / 0.956 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.8632, allocations: 349.9 kB / 0.9563 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.8667, allocations: 1.205 MB / 0.9575 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.8691, allocations: 0.7913 MB / 0.9583 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.8712, allocations: 1.68 MB / 0.9599 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000748/0.872, allocations: 0.5669 MB / 0.9605 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.8731, allocations: 0.6732 MB / 0.9611 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.8742, allocations: 0.5515 MB / 0.9617 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.8743, allocations: 64 kB / 0.9617 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.8758, allocations: 0.7951 MB / 0.9625 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.8761, allocations: 275.3 kB / 0.9628 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.8766, allocations: 410.3 kB / 0.9632 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.8781, allocations: 1.26 MB / 0.9644 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.8781, allocations: 0 / 0.9644 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8781, allocations: 0 / 0.9644 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.8781, allocations: 4 kB / 0.9644 GB, free: 2.105 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.001744/0.8799, allocations: 1.024 MB / 0.9654 GB, free: 1.031 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.8799, allocations: 11.97 kB / 0.9654 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009854/0.8809, allocations: 168.5 kB / 0.9656 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.8817, allocations: 0.5366 MB / 0.9661 GB, free: 284 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.8818, allocations: 41.31 kB / 0.9661 GB, free: 244 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.8818, allocations: 59.97 kB / 0.9662 GB, free: 184 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.8829, allocations: 0.6479 MB / 0.9668 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.8829, allocations: 0 / 0.9668 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.883, allocations: 23.98 kB / 0.9669 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.883, allocations: 29.31 kB / 0.9669 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/0.8839, allocations: 0.5126 MB / 0.9674 GB, free: 14.94 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.8871, allocations: 2.277 MB / 0.9696 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.8876, allocations: 262.7 kB / 0.9699 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.8879, allocations: 144.7 kB / 0.97 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.8879, allocations: 4 kB / 0.97 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.8879, allocations: 34.56 kB / 0.97 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.8879, allocations: 5.312 kB / 0.97 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20): time 0.001631/0.8896, allocations: 0.6657 MB / 0.9707 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.8896, allocations: 81.05 kB / 0.9708 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.8903, allocations: 0.5534 MB / 0.9713 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.8903, allocations: 33.7 kB / 0.9713 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.8906, allocations: 327.4 kB / 0.9717 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-05/0.8906, allocations: 74.98 kB / 0.9717 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.8908, allocations: 73.94 kB / 0.9718 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.8909, allocations: 362.7 kB / 0.9721 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.8912, allocations: 132.6 kB / 0.9723 GB, free: 9.656 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.8915, allocations: 220.3 kB / 0.9725 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.892, allocations: 335.8 kB / 0.9728 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8921, allocations: 0 / 0.9728 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008889/0.893, allocations: 0.4949 MB / 0.9733 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.893, allocations: 4.844 kB / 0.9733 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.893, allocations: 4 kB / 0.9733 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.8933, allocations: 97.92 kB / 0.9734 GB, free: 8.434 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.8937, allocations: 71.91 kB / 0.9735 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.8967, allocations: 3.34 MB / 0.9767 GB, free: 4.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.8972, allocations: 51.42 kB / 0.9768 GB, free: 4.703 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.8972, allocations: 12 kB / 0.9768 GB, free: 4.691 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.000298/0.8975, allocations: 222.4 kB / 0.977 GB, free: 4.465 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.8976, allocations: 56.66 kB / 0.977 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.612e-05/0.8977, allocations: 60.5 kB / 0.9771 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.8977, allocations: 0 / 0.9771 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8978, allocations: 3.938 kB / 0.9771 GB, free: 4.344 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007352/0.8985, allocations: 0.5358 MB / 0.9776 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.8998, allocations: 0.9065 MB / 0.9785 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8998, allocations: 0 / 0.9785 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.9, allocations: 39.97 kB / 0.9785 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.9002, allocations: 68.88 kB / 0.9786 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.9002, allocations: 4 kB / 0.9786 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.902, allocations: 1.825 MB / 0.9804 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.902, allocations: 0 / 0.9804 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.9026, allocations: 439.7 kB / 0.9808 GB, free: 240 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.9029, allocations: 172.4 kB / 0.981 GB, free: 48 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.9029, allocations: 9.812 kB / 0.981 GB, free: 40 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.9033, allocations: 21.48 kB / 0.981 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.9034, allocations: 15.97 kB / 0.981 GB, free: 4 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.9035, allocations: 16.08 kB / 0.981 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004457/0.9039, allocations: 398.8 kB / 0.9814 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.904, allocations: 0 / 0.9814 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006264/0.9046, allocations: 207.6 kB / 0.9816 GB, free: 15.39 MB / 0.7794 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.0003832/0.905, allocations: 157.1 kB / 0.9818 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009373/0.9059, allocations: 0.5422 MB / 0.9823 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9059, allocations: 0 / 0.9823 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.9063, allocations: 252.9 kB / 0.9825 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.9079, allocations: 376 kB / 0.9829 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.9095, allocations: 1.02 MB / 0.9839 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.91, allocations: 0.9015 MB / 0.9848 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.9101, allocations: 39.44 kB / 0.9848 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of SimCode: time 6.71e-07/0.9101, allocations: 0 / 0.9848 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.01751/0.9276, allocations: 13.36 MB / 0.9979 GB, free: 14.93 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)