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.001512/0.001512, allocations: 114.4 kB / 16.37 MB, free: 6 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.001636/0.001636, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.598/1.598, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0478/0.0478, allocations: 9.096 MB / 279.6 MB, free: 2.984 MB / 222.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.001505/0.001505, allocations: 67.91 kB / 339.5 MB, free: 7.016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3301, allocations: 48.15 MB / 387.6 MB, free: 51.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 1.564/1.894, allocations: 453.9 MB / 0.8218 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 1.254/3.148, allocations: 381.3 MB / 1.194 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006003/3.154, allocations: 107.4 kB / 1.194 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01782/3.172, allocations: 5.504 MB / 1.2 GB, free: 9.648 MB / 0.7169 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.157/3.329, allocations: 45.07 MB / 1.244 GB, free: 12.53 MB / 0.7637 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 1.007/4.337, allocations: 49.18 MB / 1.292 GB, free: 24.14 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.03906/4.376, allocations: 19.62 MB / 1.311 GB, free: 24.11 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/4.386, allocations: 3.958 MB / 1.315 GB, free: 23.83 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02225/4.409, allocations: 7.415 MB / 1.322 GB, free: 23.83 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1024/4.511, allocations: 68.02 MB / 1.388 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.004777/4.516, allocations: 0.707 MB / 1.389 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2253/4.741, allocations: 89.01 MB / 1.476 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.009497/4.751, allocations: 3.233 MB / 1.479 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.02377/4.775, allocations: 5.093 MB / 1.484 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.208/4.983, allocations: 45.67 MB / 1.529 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/4.983, allocations: 0 / 1.529 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.126e-06/4.983, allocations: 0 / 1.529 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0006308/4.983, allocations: 0 / 1.529 GB, free: 1.277 MB / 0.8887 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.06759/5.051, allocations: 15.29 MB / 1.544 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/5.051, allocations: 12.03 kB / 1.544 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/5.065, allocations: 1.65 MB / 1.545 GB, free: 324 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02226/5.087, allocations: 8.516 MB / 1.554 GB, free: 8.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/5.088, allocations: 0.5914 MB / 1.554 GB, free: 7.621 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004408/5.093, allocations: 0.634 MB / 1.555 GB, free: 7.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04244/5.135, allocations: 14.92 MB / 1.569 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001979/5.135, allocations: 15.84 kB / 1.569 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001292/5.137, allocations: 260.6 kB / 1.57 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00128/5.138, allocations: 1.042 MB / 1.571 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03917/5.177, allocations: 15.62 MB / 1.586 GB, free: 6.992 MB / 0.9512 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.5912/5.768, allocations: 57.35 MB / 1.642 GB, free: 0.581 GB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/5.786, allocations: 9.829 MB / 1.652 GB, free: 0.576 GB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01127/5.797, allocations: 7.053 MB / 1.658 GB, free: 0.5723 GB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.51/6.307, allocations: 335.4 MB / 1.986 GB, free: 211.2 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/6.307, allocations: 107.5 kB / 1.986 GB, free: 211.1 MB / 0.9513 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007897/6.315, allocations: 0.713 MB / 1.987 GB, free: 210.5 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=1018): time 4.571e-05/6.315, allocations: 2.906 kB / 1.987 GB, free: 210.5 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1120): time 0.1974/6.513, allocations: 64.28 MB / 2.049 GB, free: 146.9 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.659e-05/6.513, allocations: 133.2 kB / 2.05 GB, free: 146.8 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/6.52, allocations: 3.996 MB / 2.054 GB, free: 142.8 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.00299/6.523, allocations: 157.7 kB / 2.054 GB, free: 142.6 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.001978/6.525, allocations: 2.792 MB / 2.056 GB, free: 139.8 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.005685/6.53, allocations: 3.701 MB / 2.06 GB, free: 136.1 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004783/6.535, allocations: 1.807 MB / 2.062 GB, free: 134.3 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 7.683e-05/6.535, allocations: 311.7 kB / 2.062 GB, free: 134 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01266/6.548, allocations: 7.044 MB / 2.069 GB, free: 127 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01648/6.565, allocations: 8.724 MB / 2.077 GB, free: 117.7 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0293/6.594, allocations: 16.3 MB / 2.093 GB, free: 100.7 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.782e-05/6.594, allocations: 12 kB / 2.093 GB, free: 100.7 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.048/6.642, allocations: 19.54 MB / 2.112 GB, free: 81.03 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/6.642, allocations: 20.62 kB / 2.113 GB, free: 81.01 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.725e-05/6.642, allocations: 47.98 kB / 2.113 GB, free: 80.96 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02333/6.666, allocations: 7.264 MB / 2.12 GB, free: 73.61 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009302/6.675, allocations: 1.888 MB / 2.121 GB, free: 71.71 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7486/7.424, allocations: 129.7 MB / 2.248 GB, free: 0.5591 GB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01352/7.437, allocations: 0.6203 MB / 2.249 GB, free: 0.559 GB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003859/7.441, allocations: 377.9 kB / 2.249 GB, free: 0.5589 GB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02651/7.468, allocations: 8.937 MB / 2.258 GB, free: 0.5557 GB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01975/7.487, allocations: 8.434 MB / 2.266 GB, free: 0.5516 GB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0376/7.525, allocations: 15.65 MB / 2.281 GB, free: 0.5442 GB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001487/7.525, allocations: 15.88 kB / 2.281 GB, free: 0.5442 GB / 0.9513 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.05288/7.578, allocations: 19.13 MB / 2.3 GB, free: 0.5323 GB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/7.578, allocations: 20.62 kB / 2.3 GB, free: 0.5323 GB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.774e-05/7.579, allocations: 47.97 kB / 2.3 GB, free: 0.5322 GB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0168/7.595, allocations: 5.72 MB / 2.306 GB, free: 0.5266 GB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/7.606, allocations: 1.896 MB / 2.308 GB, free: 0.5248 GB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3371/7.943, allocations: 132.2 MB / 2.437 GB, free: 401.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0136/7.957, allocations: 0.6074 MB / 2.437 GB, free: 401.2 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00369/7.961, allocations: 367.9 kB / 2.438 GB, free: 400.9 MB / 0.9513 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.004486/7.965, allocations: 0.7085 MB / 2.438 GB, free: 400.1 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003361/7.969, allocations: 0.6094 MB / 2.439 GB, free: 399.7 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05669/8.026, allocations: 28.73 MB / 2.467 GB, free: 370.9 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04861/8.074, allocations: 17.77 MB / 2.484 GB, free: 353.1 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001514/8.074, allocations: 8 kB / 2.484 GB, free: 353.1 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04523/8.12, allocations: 17.69 MB / 2.501 GB, free: 335.3 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09212/8.212, allocations: 32.02 MB / 2.533 GB, free: 303.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.472e-05/8.212, allocations: 0 / 2.533 GB, free: 303.4 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01509/8.227, allocations: 2.82 MB / 2.536 GB, free: 300.6 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/8.232, allocations: 1.389 MB / 2.537 GB, free: 299.1 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003012/8.235, allocations: 279.8 kB / 2.537 GB, free: 298.9 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03143/8.266, allocations: 52.92 MB / 2.589 GB, free: 242 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/8.266, allocations: 0 / 2.589 GB, free: 242 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5323/8.798, allocations: 26.89 MB / 2.615 GB, free: 0.519 GB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00427/8.803, allocations: 0.8177 MB / 2.616 GB, free: 0.5189 GB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004941/8.808, allocations: 215.1 kB / 2.616 GB, free: 0.5189 GB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01036/8.818, allocations: 0.5265 MB / 2.617 GB, free: 0.5189 GB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004448/8.823, allocations: 0.8463 MB / 2.617 GB, free: 0.5189 GB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002599/8.825, allocations: 282.9 kB / 2.618 GB, free: 0.5189 GB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.007399/8.833, allocations: 2.684 MB / 2.62 GB, free: 0.5188 GB / 0.9513 GB Notification: Performance of sort global known variables: time 8.02e-07/8.833, allocations: 3.531 kB / 2.62 GB, free: 0.5188 GB / 0.9513 GB Notification: Performance of remove unused functions: time 0.07342/8.906, allocations: 15.94 MB / 2.636 GB, free: 0.5186 GB / 0.9513 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.07121/8.977, allocations: 15.19 MB / 2.651 GB, free: 0.5168 GB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.0706/9.048, allocations: 35.54 MB / 2.685 GB, free: 0.5031 GB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/9.048, allocations: 3.594 kB / 2.685 GB, free: 0.5031 GB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.03134/9.079, allocations: 13.25 MB / 2.698 GB, free: 0.4971 GB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03075/9.11, allocations: 4.183 MB / 2.702 GB, free: 0.4963 GB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06116/9.172, allocations: 25.79 MB / 2.728 GB, free: 498 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01547/9.187, allocations: 5.858 MB / 2.733 GB, free: 496.3 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.02233/9.209, allocations: 7.124 MB / 2.74 GB, free: 493.4 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005499/9.215, allocations: 0.5984 MB / 2.741 GB, free: 492.8 MB / 0.9513 GB Notification: Performance of SimCode: time 2.905e-06/9.215, allocations: 0 / 2.741 GB, free: 492.8 MB / 0.9513 GB Notification: Performance of Templates: time 2.033/11.25, allocations: 0.5953 GB / 3.336 GB, free: 493.5 MB / 0.9513 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 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe 2>&1)