Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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(HelmholtzMedia.Examples.BranchingDynamicPipes,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes") translateModel(HelmholtzMedia.Examples.BranchingDynamicPipes,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, 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.001823/0.001824, allocations: 194.3 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.375/1.375, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04502/0.04502, allocations: 9.094 MB / 278.9 MB, free: 12.15 MB / 238.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.001445/0.001445, allocations: 75.78 kB / 338 MB, free: 25.44 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08569, allocations: 48.16 MB / 386.2 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 1.098/1.184, allocations: 453.9 MB / 0.8204 GB, free: 432 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.7497/1.933, allocations: 381.3 MB / 1.193 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/1.937, allocations: 108.5 kB / 1.193 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.012/1.949, allocations: 5.504 MB / 1.198 GB, free: 7.43 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.1111/2.06, allocations: 45.07 MB / 1.242 GB, free: 5.855 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.BranchingDynamicPipes.pipe2.heatTransfer.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.1446/2.204, allocations: 49.21 MB / 1.29 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.03066/2.235, allocations: 19.62 MB / 1.309 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009572/2.245, allocations: 3.96 MB / 1.313 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01498/2.26, allocations: 7.35 MB / 1.321 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5568/2.816, allocations: 68.02 MB / 1.387 GB, free: 84.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003056/2.82, allocations: 0.7068 MB / 1.388 GB, free: 84.63 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1611/2.981, allocations: 85.97 MB / 1.472 GB, free: 84.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005413/2.986, allocations: 3.242 MB / 1.475 GB, free: 84.58 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01209/2.998, allocations: 5.09 MB / 1.48 GB, free: 84.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.1251/3.123, allocations: 45.45 MB / 1.524 GB, free: 72.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/3.123, allocations: 3.875 kB / 1.524 GB, free: 72.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.114e-06/3.123, allocations: 7.719 kB / 1.524 GB, free: 72.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004274/3.124, allocations: 0 / 1.524 GB, free: 72.81 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2409 * Number of variables: 2409 Notification: Performance of Generate backend data structure: time 0.04786/3.172, allocations: 15.28 MB / 1.539 GB, free: 59.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/3.172, allocations: 8.938 kB / 1.539 GB, free: 59.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/3.183, allocations: 1.662 MB / 1.541 GB, free: 57.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/3.199, allocations: 8.356 MB / 1.549 GB, free: 51.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006557/3.199, allocations: 0.6 MB / 1.549 GB, free: 51.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002844/3.202, allocations: 0.6382 MB / 1.55 GB, free: 50.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/3.231, allocations: 14.92 MB / 1.565 GB, free: 35.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002654/3.231, allocations: 17.16 kB / 1.565 GB, free: 35.56 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002302/3.234, allocations: 260.8 kB / 1.565 GB, free: 35.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008936/3.235, allocations: 1.044 MB / 1.566 GB, free: 34.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03213/3.267, allocations: 15.62 MB / 1.581 GB, free: 18.74 MB / 0.8419 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.09078/3.358, allocations: 57.58 MB / 1.637 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02034/3.378, allocations: 9.821 MB / 1.647 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01289/3.391, allocations: 7.054 MB / 1.654 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7257/4.117, allocations: 335.4 MB / 1.981 GB, free: 362.6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/4.117, allocations: 101.9 kB / 1.981 GB, free: 362.6 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004132/4.121, allocations: 0.7126 MB / 1.982 GB, free: 362.4 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1018): time 2.232e-05/4.121, allocations: 0 / 1.982 GB, free: 362.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1120): time 0.196/4.317, allocations: 64.32 MB / 2.045 GB, free: 301 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/4.317, allocations: 129.2 kB / 2.045 GB, free: 300.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005722/4.323, allocations: 3.996 MB / 2.049 GB, free: 296.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.002341/4.325, allocations: 157.7 kB / 2.049 GB, free: 296.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/4.327, allocations: 2.792 MB / 2.052 GB, free: 293.9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.003775/4.33, allocations: 3.695 MB / 2.055 GB, free: 290.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003687/4.334, allocations: 1.814 MB / 2.057 GB, free: 288.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 5.838e-05/4.334, allocations: 301.1 kB / 2.058 GB, free: 288.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0106/4.345, allocations: 7.048 MB / 2.064 GB, free: 281 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/4.358, allocations: 8.72 MB / 2.073 GB, free: 271.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02652/4.384, allocations: 16.31 MB / 2.089 GB, free: 254.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.674e-05/4.384, allocations: 12 kB / 2.089 GB, free: 254.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.04332/4.428, allocations: 19.54 MB / 2.108 GB, free: 235.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/4.428, allocations: 20 kB / 2.108 GB, free: 235.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.296e-05/4.428, allocations: 40 kB / 2.108 GB, free: 235 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02324/4.451, allocations: 7.279 MB / 2.115 GB, free: 227.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008436/4.459, allocations: 1.888 MB / 2.117 GB, free: 225.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645/6.104, allocations: 324.7 MB / 2.434 GB, free: 0.5442 GB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00896/6.113, allocations: 0.6178 MB / 2.435 GB, free: 0.544 GB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002547/6.116, allocations: 381.2 kB / 2.435 GB, free: 0.5439 GB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01754/6.133, allocations: 8.935 MB / 2.444 GB, free: 0.5409 GB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01344/6.147, allocations: 8.422 MB / 2.452 GB, free: 0.5321 GB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02632/6.173, allocations: 15.67 MB / 2.467 GB, free: 0.5163 GB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001087/6.173, allocations: 12 kB / 2.467 GB, free: 0.5163 GB / 0.9669 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.04025/6.214, allocations: 19.12 MB / 2.486 GB, free: 0.4979 GB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/6.214, allocations: 24 kB / 2.486 GB, free: 0.4979 GB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.655e-05/6.214, allocations: 40 kB / 2.486 GB, free: 0.4978 GB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01569/6.229, allocations: 5.75 MB / 2.492 GB, free: 0.4922 GB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008643/6.238, allocations: 1.895 MB / 2.493 GB, free: 0.4904 GB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614/7.852, allocations: 327.2 MB / 2.813 GB, free: 0.5444 GB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00941/7.861, allocations: 0.6076 MB / 2.814 GB, free: 0.5444 GB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003774/7.865, allocations: 364.4 kB / 2.814 GB, free: 0.5444 GB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 185 * Number of states: 0 () * Number of discrete variables: 74 (boundary4.medium.sat.vap.phase,boundary4.medium.sat.liq.phase,boundary4.medium.state.phase,pipe4.statesFM[7].phase,pipe4.statesFM[6].phase,pipe4.statesFM[5].phase,pipe4.statesFM[4].phase,pipe4.statesFM[3].phase,pipe4.statesFM[2].phase,pipe4.statesFM[1].phase,pipe4.mediums[5].sat.vap.phase,pipe4.mediums[5].sat.liq.phase,pipe4.mediums[4].sat.vap.phase,pipe4.mediums[4].sat.liq.phase,pipe4.mediums[3].sat.vap.phase,pipe4.mediums[3].sat.liq.phase,pipe4.mediums[2].sat.vap.phase,pipe4.mediums[2].sat.liq.phase,pipe4.mediums[1].sat.vap.phase,pipe4.mediums[1].sat.liq.phase,pipe3.statesFM[7].phase,pipe3.statesFM[6].phase,pipe3.statesFM[5].phase,pipe3.statesFM[4].phase,pipe3.statesFM[3].phase,pipe3.statesFM[2].phase,pipe3.statesFM[1].phase,pipe3.mediums[5].sat.vap.phase,pipe3.mediums[5].sat.liq.phase,pipe3.mediums[4].sat.vap.phase,pipe3.mediums[4].sat.liq.phase,pipe3.mediums[3].sat.vap.phase,pipe3.mediums[3].sat.liq.phase,pipe3.mediums[2].sat.vap.phase,pipe3.mediums[2].sat.liq.phase,pipe3.mediums[1].sat.vap.phase,pipe3.mediums[1].sat.liq.phase,pipe2.statesFM[5].phase,pipe2.statesFM[4].phase,pipe2.statesFM[3].phase,pipe2.statesFM[2].phase,pipe2.statesFM[1].phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe2.mediums[5].sat.vap.phase,pipe2.mediums[5].sat.liq.phase,pipe2.mediums[4].sat.vap.phase,pipe2.mediums[4].sat.liq.phase,pipe2.mediums[3].sat.vap.phase,pipe2.mediums[3].sat.liq.phase,pipe2.mediums[2].sat.vap.phase,pipe2.mediums[2].sat.liq.phase,pipe2.mediums[1].sat.vap.phase,pipe2.mediums[1].sat.liq.phase,pipe1.statesFM[7].phase,pipe1.statesFM[6].phase,pipe1.statesFM[5].phase,pipe1.statesFM[4].phase,pipe1.statesFM[3].phase,pipe1.statesFM[2].phase,pipe1.statesFM[1].phase,pipe1.mediums[5].sat.vap.phase,pipe1.mediums[5].sat.liq.phase,pipe1.mediums[4].sat.vap.phase,pipe1.mediums[4].sat.liq.phase,pipe1.mediums[3].sat.vap.phase,pipe1.mediums[3].sat.liq.phase,pipe1.mediums[2].sat.vap.phase,pipe1.mediums[2].sat.liq.phase,pipe1.mediums[1].sat.vap.phase,pipe1.mediums[1].sat.liq.phase,boundary1.medium.sat.vap.phase,boundary1.medium.sat.liq.phase,boundary1.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (890): * Single equations (assignments): 837 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 26 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 25 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,17), (18,89)} Notification: Performance of prepare postOptimizeDAE: time 0.00636/7.871, allocations: 0.7045 MB / 2.815 GB, free: 0.5442 GB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003451/7.875, allocations: 0.6139 MB / 2.815 GB, free: 0.5442 GB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04196/7.917, allocations: 28.77 MB / 2.843 GB, free: 0.543 GB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03002/7.947, allocations: 17.77 MB / 2.861 GB, free: 0.5368 GB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.94e-05/7.947, allocations: 7.938 kB / 2.861 GB, free: 0.5368 GB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02949/7.976, allocations: 17.69 MB / 2.878 GB, free: 0.5302 GB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07722/8.054, allocations: 32.44 MB / 2.91 GB, free: 0.5183 GB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-05/8.054, allocations: 0 / 2.91 GB, free: 0.5183 GB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01367/8.068, allocations: 2.82 MB / 2.912 GB, free: 0.5182 GB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00398/8.072, allocations: 1.391 MB / 2.914 GB, free: 0.5178 GB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001944/8.073, allocations: 284.1 kB / 2.914 GB, free: 0.5176 GB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03179/8.105, allocations: 52.94 MB / 2.966 GB, free: 480.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/8.105, allocations: 3.781 kB / 2.966 GB, free: 480.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05982/8.165, allocations: 26.88 MB / 2.992 GB, free: 459.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/8.168, allocations: 0.8146 MB / 2.993 GB, free: 458.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002833/8.171, allocations: 222.7 kB / 2.993 GB, free: 458.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007017/8.178, allocations: 0.5221 MB / 2.993 GB, free: 457.7 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002771/8.181, allocations: 0.8428 MB / 2.994 GB, free: 457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001073/8.182, allocations: 279.9 kB / 2.995 GB, free: 456.7 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003803/8.186, allocations: 2.685 MB / 2.997 GB, free: 454.1 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.4e-07/8.186, allocations: 0 / 2.997 GB, free: 454.1 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.04322/8.229, allocations: 14.68 MB / 3.012 GB, free: 440.8 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 62 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe1.mediums[2].p,pipe1.mediums[2].h,pipe1.mediums[3].p,pipe1.mediums[3].h,pipe1.mediums[4].p,pipe1.mediums[4].h,pipe1.mediums[5].p,pipe1.mediums[5].h,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe2.mediums[3].p,pipe2.mediums[3].h,pipe2.mediums[4].p,pipe2.mediums[4].h,pipe2.mediums[5].p,pipe2.mediums[5].h,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],pipe3.mediums[1].p,pipe3.mediums[1].h,pipe3.mediums[2].p,pipe3.mediums[2].h,pipe3.mediums[3].p,pipe3.mediums[3].h,pipe3.mediums[4].p,pipe3.mediums[4].h,pipe3.mediums[5].p,pipe3.mediums[5].h,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],pipe4.mediums[1].p,pipe4.mediums[1].h,pipe4.mediums[2].p,pipe4.mediums[2].h,pipe4.mediums[3].p,pipe4.mediums[3].h,pipe4.mediums[4].p,pipe4.mediums[4].h,pipe4.mediums[5].p,pipe4.mediums[5].h,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 102 (pipe1.statesFM[7].phase,pipe3.statesFM[1].phase,pipe3.statesFM[7].phase,pipe4.statesFM[1].phase,pipe1.statesFM[1].phase,pipe4.statesFM[7].phase,$cse241.phase,$cse242.phase,$cse244.phase,$cse247.phase,$cse250.phase,$cse253.phase,$cse256.phase,$cse264.phase,$cse265.phase,$cse269.phase,$cse272.phase,$cse275.phase,$cse278.phase,$cse281.phase,$cse301.phase,$cse304.phase,$cse307.phase,$cse310.phase,$cse313.phase,$cse321.phase,$cse322.phase,$cse325.phase,$cse328.phase,$cse331.phase,$cse334.phase,$cse337.phase,$cse345.phase,$cse346.phase,$cse347.phase,$cse348.phase,boundary1.medium.state.phase,pipe1.mediums[1].sat.liq.phase,pipe1.mediums[1].sat.vap.phase,pipe1.mediums[2].sat.liq.phase,pipe1.mediums[2].sat.vap.phase,pipe1.mediums[3].sat.liq.phase,pipe1.mediums[3].sat.vap.phase,pipe1.mediums[4].sat.liq.phase,pipe1.mediums[4].sat.vap.phase,pipe1.mediums[5].sat.liq.phase,pipe1.mediums[5].sat.vap.phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.mediums[1].sat.liq.phase,pipe2.mediums[1].sat.vap.phase,pipe2.mediums[2].sat.liq.phase,pipe2.mediums[2].sat.vap.phase,pipe2.mediums[3].sat.liq.phase,pipe2.mediums[3].sat.vap.phase,pipe2.mediums[4].sat.liq.phase,pipe2.mediums[4].sat.vap.phase,pipe2.mediums[5].sat.liq.phase,pipe2.mediums[5].sat.vap.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.mediums[1].sat.liq.phase,pipe3.mediums[1].sat.vap.phase,pipe3.mediums[2].sat.liq.phase,pipe3.mediums[2].sat.vap.phase,pipe3.mediums[3].sat.liq.phase,pipe3.mediums[3].sat.vap.phase,pipe3.mediums[4].sat.liq.phase,pipe3.mediums[4].sat.vap.phase,pipe3.mediums[5].sat.liq.phase,pipe3.mediums[5].sat.vap.phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.mediums[1].sat.liq.phase,pipe4.mediums[1].sat.vap.phase,pipe4.mediums[2].sat.liq.phase,pipe4.mediums[2].sat.vap.phase,pipe4.mediums[3].sat.liq.phase,pipe4.mediums[3].sat.vap.phase,pipe4.mediums[4].sat.liq.phase,pipe4.mediums[4].sat.vap.phase,pipe4.mediums[5].sat.liq.phase,pipe4.mediums[5].sat.vap.phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.state.phase,boundary4.medium.sat.liq.phase,boundary4.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (860): * Single equations (assignments): 760 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 53 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 22 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 25 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.06165/8.291, allocations: 13.57 MB / 3.025 GB, free: 430.4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.2072/8.498, allocations: 91.53 MB / 3.114 GB, free: 338.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/8.498, allocations: 4 kB / 3.114 GB, free: 338.2 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.02899/8.527, allocations: 13.25 MB / 3.127 GB, free: 324.6 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0269/8.554, allocations: 4.207 MB / 3.131 GB, free: 320.6 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05864/8.612, allocations: 26.02 MB / 3.157 GB, free: 296.1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/8.625, allocations: 5.845 MB / 3.162 GB, free: 290.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.02311/8.648, allocations: 7.13 MB / 3.169 GB, free: 283.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00495/8.653, allocations: 0.6047 MB / 3.17 GB, free: 282.5 MB / 0.9669 GB Notification: Performance of SimCode: time 1.022e-06/8.653, allocations: 0 / 3.17 GB, free: 282.5 MB / 0.9669 GB Notification: Performance of Templates: time 1.461/10.11, allocations: 0.5721 GB / 3.742 GB, free: 438.5 MB / 0.9669 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe 2>&1)