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: "" <> buildModelFMU(HelmholtzMedia.Examples.BranchingDynamicPipes,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BranchingDynamicPipes,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006554/0.006554, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001182/0.001182, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.426/1.426, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04854/0.04854, allocations: 9.099 MB / 279 MB, free: 12.07 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.001473/0.001473, allocations: 67.89 kB / 387 MB, free: 8.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.26, allocations: 48.15 MB / 435.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 1.134/1.394, allocations: 453.9 MB / 0.8683 GB, free: 468 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.9066/2.301, allocations: 381.3 MB / 1.241 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003456/2.304, allocations: 106.7 kB / 1.241 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01246/2.317, allocations: 6.187 MB / 1.247 GB, free: 11.74 MB / 0.7481 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.1236/2.44, allocations: 47.46 MB / 1.293 GB, free: 184 kB / 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 0.1449/2.585, allocations: 52.04 MB / 1.344 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02305/2.608, allocations: 19.65 MB / 1.363 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006073/2.614, allocations: 3.957 MB / 1.367 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01444/2.629, allocations: 7.628 MB / 1.374 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09249/2.721, allocations: 68.03 MB / 1.441 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002643/2.724, allocations: 0.7031 MB / 1.442 GB, free: 14.45 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6759/3.4, allocations: 89 MB / 1.528 GB, free: 109.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004154/3.404, allocations: 3.239 MB / 1.532 GB, free: 109.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01645/3.421, allocations: 5.09 MB / 1.537 GB, free: 109.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.1321/3.553, allocations: 45.8 MB / 1.581 GB, free: 107.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/3.553, allocations: 0 / 1.581 GB, free: 107.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/3.553, allocations: 0.7188 kB / 1.581 GB, free: 107.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004489/3.553, allocations: 2.031 kB / 1.581 GB, free: 107.9 MB / 0.9356 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.05437/3.608, allocations: 15.73 MB / 1.597 GB, free: 102 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/3.608, allocations: 7.875 kB / 1.597 GB, free: 102 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004705/3.613, allocations: 1.149 MB / 1.598 GB, free: 101.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/3.625, allocations: 1.702 MB / 1.599 GB, free: 101.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/3.645, allocations: 8.526 MB / 1.608 GB, free: 100.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/3.646, allocations: 0.5943 MB / 1.608 GB, free: 100.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004471/3.651, allocations: 0.6397 MB / 1.609 GB, free: 100.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03379/3.684, allocations: 14.92 MB / 1.624 GB, free: 99.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003046/3.685, allocations: 21.83 kB / 1.624 GB, free: 99.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003038/3.688, allocations: 257.5 kB / 1.624 GB, free: 99.56 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001141/3.689, allocations: 1.044 MB / 1.625 GB, free: 99.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03577/3.725, allocations: 15.62 MB / 1.64 GB, free: 93.26 MB / 0.9356 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.08743/3.812, allocations: 57.44 MB / 1.696 GB, free: 34.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/3.83, allocations: 9.829 MB / 1.706 GB, free: 25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01133/3.841, allocations: 7.058 MB / 1.713 GB, free: 17.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8284/4.67, allocations: 335.4 MB / 2.04 GB, free: 460.8 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/4.67, allocations: 100.6 kB / 2.04 GB, free: 460.7 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004299/4.674, allocations: 0.7328 MB / 2.041 GB, free: 460.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1018): time 1.854e-05/4.674, allocations: 3.938 kB / 2.041 GB, free: 460.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=1120): time 0.1941/4.868, allocations: 64.43 MB / 2.104 GB, free: 403.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/4.869, allocations: 133.2 kB / 2.104 GB, free: 403.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006189/4.875, allocations: 4.006 MB / 2.108 GB, free: 399.6 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.003021/4.878, allocations: 153.7 kB / 2.108 GB, free: 399.4 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/4.88, allocations: 2.876 MB / 2.111 GB, free: 396.9 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.00547/4.885, allocations: 3.89 MB / 2.115 GB, free: 393.6 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007243/4.893, allocations: 1.815 MB / 2.116 GB, free: 391.7 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/4.893, allocations: 305.1 kB / 2.117 GB, free: 391.4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01122/4.904, allocations: 7.044 MB / 2.124 GB, free: 384.4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/4.917, allocations: 8.724 MB / 2.132 GB, free: 375.1 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02431/4.942, allocations: 16.3 MB / 2.148 GB, free: 358.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.491e-05/4.942, allocations: 12 kB / 2.148 GB, free: 358.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.03738/4.979, allocations: 19.58 MB / 2.167 GB, free: 338.4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/4.979, allocations: 20 kB / 2.167 GB, free: 338.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.971e-05/4.979, allocations: 44 kB / 2.167 GB, free: 338.4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02389/5.003, allocations: 7.265 MB / 2.174 GB, free: 331 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008757/5.012, allocations: 1.887 MB / 2.176 GB, free: 329.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3141/5.326, allocations: 129.7 MB / 2.303 GB, free: 194.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009044/5.335, allocations: 0.6193 MB / 2.304 GB, free: 193.9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002197/5.338, allocations: 379.9 kB / 2.304 GB, free: 193.5 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01561/5.353, allocations: 8.942 MB / 2.313 GB, free: 184.6 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01251/5.366, allocations: 8.426 MB / 2.321 GB, free: 175.6 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02219/5.388, allocations: 15.66 MB / 2.336 GB, free: 159.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.509e-05/5.388, allocations: 12 kB / 2.336 GB, free: 159.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.03905/5.427, allocations: 19.15 MB / 2.355 GB, free: 140 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/5.427, allocations: 30.16 kB / 2.355 GB, free: 139.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.261e-05/5.427, allocations: 40 kB / 2.355 GB, free: 139.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01506/5.442, allocations: 5.727 MB / 2.361 GB, free: 134.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008313/5.451, allocations: 1.899 MB / 2.362 GB, free: 132.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6094/6.06, allocations: 132.2 MB / 2.491 GB, free: 0.5395 GB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008881/6.069, allocations: 0.604 MB / 2.492 GB, free: 0.5395 GB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001942/6.071, allocations: 366.8 kB / 2.492 GB, free: 0.5395 GB / 1.045 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.002727/6.074, allocations: 0.708 MB / 2.493 GB, free: 0.5393 GB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002358/6.076, allocations: 0.6428 MB / 2.494 GB, free: 0.5393 GB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05179/6.128, allocations: 28.74 MB / 2.522 GB, free: 0.5382 GB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03268/6.161, allocations: 17.77 MB / 2.539 GB, free: 0.5321 GB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/6.161, allocations: 7.5 kB / 2.539 GB, free: 0.5321 GB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03251/6.193, allocations: 17.69 MB / 2.556 GB, free: 0.5257 GB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06192/6.255, allocations: 32.05 MB / 2.588 GB, free: 0.5143 GB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.533e-05/6.255, allocations: 0 / 2.588 GB, free: 0.5143 GB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01495/6.27, allocations: 2.825 MB / 2.591 GB, free: 0.5143 GB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004304/6.275, allocations: 1.381 MB / 2.592 GB, free: 0.5138 GB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001922/6.277, allocations: 281.7 kB / 2.592 GB, free: 0.5137 GB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/6.303, allocations: 52.94 MB / 2.644 GB, free: 476.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/6.303, allocations: 0 / 2.644 GB, free: 476.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04684/6.35, allocations: 26.94 MB / 2.67 GB, free: 465.8 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00333/6.353, allocations: 0.8535 MB / 2.671 GB, free: 465.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004027/6.357, allocations: 216.6 kB / 2.671 GB, free: 465.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009216/6.367, allocations: 0.5257 MB / 2.672 GB, free: 465 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003504/6.37, allocations: 0.8395 MB / 2.673 GB, free: 464.9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002168/6.372, allocations: 284.6 kB / 2.673 GB, free: 464.8 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004925/6.377, allocations: 2.684 MB / 2.675 GB, free: 463.9 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.92e-07/6.377, allocations: 0 / 2.675 GB, free: 463.9 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.05669/6.434, allocations: 16.13 MB / 2.691 GB, free: 462.3 MB / 1.045 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.1205/6.554, allocations: 42.83 MB / 2.733 GB, free: 431.2 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.06655/6.621, allocations: 35.59 MB / 2.768 GB, free: 399.6 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/6.621, allocations: 7.734 kB / 2.768 GB, free: 399.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.02599/6.647, allocations: 13.26 MB / 2.781 GB, free: 387.8 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02395/6.671, allocations: 4.168 MB / 2.785 GB, free: 385.1 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1978/6.869, allocations: 102.4 MB / 2.885 GB, free: 287.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007761/6.877, allocations: 5.849 MB / 2.89 GB, free: 282 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.01889/6.896, allocations: 7.123 MB / 2.897 GB, free: 275.2 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008682/6.904, allocations: 3.854 MB / 2.901 GB, free: 271.3 MB / 1.045 GB Notification: Performance of SimCode: time 1.933e-06/6.904, allocations: 0 / 2.901 GB, free: 271.3 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.706/8.61, allocations: 0.6779 GB / 3.579 GB, free: 457.1 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 67.41/76.02, allocations: 15.97 kB / 3.579 GB, free: 457.1 MB / 1.045 GB (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 HelmholtzMedia_HelmholtzMedia_Examples_BranchingDynamicPipes.fmu > HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe 2>&1)