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.005363/0.005363, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001278/0.001278, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.543/1.543, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05026/0.05026, allocations: 9.1 MB / 279 MB, free: 12.05 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.002131/0.002131, allocations: 70.39 kB / 387 MB, free: 8.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2786, allocations: 48.15 MB / 435.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 1.056/1.335, allocations: 453.9 MB / 0.8683 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.7568/2.092, allocations: 381.3 MB / 1.241 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/2.095, allocations: 109 kB / 1.241 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01125/2.106, allocations: 5.501 MB / 1.246 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.1003/2.206, allocations: 45.08 MB / 1.29 GB, free: 3.238 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 0.1384/2.345, allocations: 49.19 MB / 1.338 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02257/2.367, allocations: 19.63 MB / 1.357 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00615/2.373, allocations: 3.96 MB / 1.361 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01402/2.387, allocations: 7.411 MB / 1.368 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1011/2.489, allocations: 68.02 MB / 1.435 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003833/2.492, allocations: 0.707 MB / 1.436 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6575/3.15, allocations: 88.99 MB / 1.522 GB, free: 112.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004/3.154, allocations: 3.241 MB / 1.526 GB, free: 112.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01045/3.165, allocations: 5.093 MB / 1.531 GB, free: 112.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.1229/3.287, allocations: 45.8 MB / 1.575 GB, free: 110.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/3.287, allocations: 0.875 kB / 1.575 GB, free: 110.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/3.287, allocations: 0 / 1.575 GB, free: 110.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004279/3.288, allocations: 0 / 1.575 GB, free: 110.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.04615/3.334, allocations: 15.73 MB / 1.591 GB, free: 105 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/3.334, allocations: 12.56 kB / 1.591 GB, free: 105 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002937/3.337, allocations: 1.143 MB / 1.592 GB, free: 104.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009686/3.347, allocations: 1.699 MB / 1.593 GB, free: 104.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01565/3.362, allocations: 8.528 MB / 1.602 GB, free: 103.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006453/3.363, allocations: 0.6034 MB / 1.602 GB, free: 103.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002409/3.366, allocations: 0.6361 MB / 1.603 GB, free: 103.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02642/3.392, allocations: 14.92 MB / 1.618 GB, free: 102.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001748/3.392, allocations: 16.64 kB / 1.618 GB, free: 102.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/3.393, allocations: 265.2 kB / 1.618 GB, free: 102.6 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000799/3.394, allocations: 1.049 MB / 1.619 GB, free: 102.6 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02765/3.422, allocations: 15.62 MB / 1.634 GB, free: 97.39 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.06548/3.487, allocations: 57.44 MB / 1.69 GB, free: 40.63 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/3.502, allocations: 9.817 MB / 1.7 GB, free: 30.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009537/3.512, allocations: 7.062 MB / 1.707 GB, free: 23.81 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8636/4.375, allocations: 335.4 MB / 2.034 GB, free: 346 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/4.376, allocations: 105.8 kB / 2.034 GB, free: 345.9 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004906/4.38, allocations: 0.7259 MB / 2.035 GB, free: 345.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1018): time 2.563e-05/4.38, allocations: 0 / 2.035 GB, free: 345.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=1120): time 0.2122/4.593, allocations: 64.42 MB / 2.098 GB, free: 313.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/4.593, allocations: 132.5 kB / 2.098 GB, free: 313.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006115/4.599, allocations: 4.002 MB / 2.102 GB, free: 309.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.002367/4.601, allocations: 161.7 kB / 2.102 GB, free: 309.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/4.603, allocations: 2.875 MB / 2.105 GB, free: 307 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.004073/4.607, allocations: 3.892 MB / 2.109 GB, free: 303.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003561/4.611, allocations: 1.811 MB / 2.11 GB, free: 301.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/4.611, allocations: 309.1 kB / 2.111 GB, free: 301.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01019/4.621, allocations: 7.044 MB / 2.118 GB, free: 294.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/4.634, allocations: 8.727 MB / 2.126 GB, free: 285.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02408/4.658, allocations: 16.3 MB / 2.142 GB, free: 268.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.693e-05/4.658, allocations: 12 kB / 2.142 GB, free: 268.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.03549/4.693, allocations: 19.59 MB / 2.161 GB, free: 249 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/4.693, allocations: 24 kB / 2.161 GB, free: 248.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.119e-05/4.694, allocations: 40 kB / 2.161 GB, free: 248.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02355/4.717, allocations: 7.263 MB / 2.168 GB, free: 241.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008588/4.726, allocations: 1.886 MB / 2.17 GB, free: 239.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3112/5.037, allocations: 129.7 MB / 2.297 GB, free: 105.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/5.047, allocations: 0.6203 MB / 2.298 GB, free: 105.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/5.05, allocations: 379.9 kB / 2.298 GB, free: 104.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01699/5.067, allocations: 8.938 MB / 2.307 GB, free: 95.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01255/5.079, allocations: 8.427 MB / 2.315 GB, free: 86.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02414/5.103, allocations: 15.66 MB / 2.33 GB, free: 70.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-05/5.104, allocations: 15.94 kB / 2.33 GB, free: 70.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.04116/5.145, allocations: 19.15 MB / 2.349 GB, free: 51.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/5.145, allocations: 24 kB / 2.349 GB, free: 51.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.966e-05/5.145, allocations: 40 kB / 2.349 GB, free: 51.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01563/5.16, allocations: 5.726 MB / 2.354 GB, free: 45.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009114/5.17, allocations: 1.899 MB / 2.356 GB, free: 44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5959/5.766, allocations: 132.2 MB / 2.485 GB, free: 0.5545 GB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008519/5.774, allocations: 0.6024 MB / 2.486 GB, free: 0.5545 GB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001908/5.776, allocations: 371 kB / 2.486 GB, free: 0.5544 GB / 1.061 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.002577/5.779, allocations: 0.7164 MB / 2.487 GB, free: 0.5539 GB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/5.781, allocations: 0.6459 MB / 2.488 GB, free: 0.5539 GB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04489/5.826, allocations: 28.74 MB / 2.516 GB, free: 0.5431 GB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02879/5.854, allocations: 17.77 MB / 2.533 GB, free: 0.5367 GB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.149e-05/5.855, allocations: 7.875 kB / 2.533 GB, free: 0.5367 GB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03083/5.885, allocations: 17.69 MB / 2.55 GB, free: 0.5302 GB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05477/5.94, allocations: 32.05 MB / 2.582 GB, free: 0.5139 GB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/5.94, allocations: 0 / 2.582 GB, free: 0.5139 GB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01406/5.954, allocations: 2.826 MB / 2.585 GB, free: 0.5118 GB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/5.959, allocations: 1.376 MB / 2.586 GB, free: 0.5108 GB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001915/5.961, allocations: 286.8 kB / 2.586 GB, free: 0.5106 GB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02857/5.989, allocations: 52.94 MB / 2.638 GB, free: 468.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/5.989, allocations: 0 / 2.638 GB, free: 468.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04453/6.034, allocations: 26.93 MB / 2.664 GB, free: 441.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002644/6.036, allocations: 0.8534 MB / 2.665 GB, free: 440.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003338/6.04, allocations: 219.7 kB / 2.665 GB, free: 440.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007827/6.048, allocations: 0.5249 MB / 2.666 GB, free: 440.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002774/6.05, allocations: 0.8411 MB / 2.667 GB, free: 439.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001242/6.052, allocations: 283.8 kB / 2.667 GB, free: 439 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003833/6.056, allocations: 2.685 MB / 2.669 GB, free: 436.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.61e-07/6.056, allocations: 0 / 2.669 GB, free: 436.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.04756/6.103, allocations: 16.13 MB / 2.685 GB, free: 420.8 MB / 1.061 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.1117/6.215, allocations: 42.83 MB / 2.727 GB, free: 380.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.06202/6.277, allocations: 35.6 MB / 2.762 GB, free: 344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/6.277, allocations: 7.859 kB / 2.762 GB, free: 344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.02448/6.301, allocations: 13.26 MB / 2.775 GB, free: 330.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02352/6.325, allocations: 4.161 MB / 2.779 GB, free: 326.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.277/6.602, allocations: 102.3 MB / 2.879 GB, free: 223.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006752/6.609, allocations: 5.863 MB / 2.884 GB, free: 217.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.01608/6.625, allocations: 7.129 MB / 2.891 GB, free: 210.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01056/6.636, allocations: 3.854 MB / 2.895 GB, free: 206.3 MB / 1.061 GB Notification: Performance of SimCode: time 1.403e-06/6.636, allocations: 0 / 2.895 GB, free: 206.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.617/8.253, allocations: 0.6779 GB / 3.573 GB, free: 0.5079 GB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.75/74, allocations: 9.031 kB / 3.573 GB, free: 0.5079 GB / 1.061 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)