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.005403/0.005403, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001204/0.001204, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.374/1.374, 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.04619/0.04619, allocations: 9.083 MB / 279 MB, free: 12.1 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.001442/0.001442, allocations: 66.56 kB / 387.5 MB, free: 8 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2485, allocations: 48.16 MB / 435.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 1.083/1.332, allocations: 453.9 MB / 0.8687 GB, free: 468 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.9211/2.253, allocations: 381.3 MB / 1.241 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004291/2.257, allocations: 106.6 kB / 1.241 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01434/2.272, allocations: 5.504 MB / 1.247 GB, free: 11.68 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.1176/2.389, allocations: 45.08 MB / 1.291 GB, free: 3.137 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.153/2.542, allocations: 49.2 MB / 1.339 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02307/2.565, allocations: 19.62 MB / 1.358 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006862/2.572, allocations: 3.954 MB / 1.362 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/2.586, allocations: 7.418 MB / 1.369 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09313/2.679, allocations: 68.01 MB / 1.435 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002548/2.682, allocations: 0.7101 MB / 1.436 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6876/3.369, allocations: 89 MB / 1.523 GB, free: 113.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004503/3.374, allocations: 3.235 MB / 1.526 GB, free: 113.1 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01191/3.386, allocations: 5.091 MB / 1.531 GB, free: 113.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.1315/3.518, allocations: 45.81 MB / 1.576 GB, free: 111.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/3.518, allocations: 0.9062 kB / 1.576 GB, free: 111.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/3.518, allocations: 0 / 1.576 GB, free: 111.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.000503/3.518, allocations: 0 / 1.576 GB, free: 111.1 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.05337/3.571, allocations: 15.74 MB / 1.591 GB, free: 105.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/3.572, allocations: 7.844 kB / 1.591 GB, free: 105.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/3.582, allocations: 1.704 MB / 1.593 GB, free: 104.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/3.597, allocations: 8.529 MB / 1.601 GB, free: 103.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007721/3.598, allocations: 0.5906 MB / 1.602 GB, free: 103.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002776/3.601, allocations: 0.6413 MB / 1.602 GB, free: 103.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03368/3.635, allocations: 14.91 MB / 1.617 GB, free: 102.9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002899/3.635, allocations: 25.48 kB / 1.617 GB, free: 102.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002548/3.638, allocations: 260.8 kB / 1.617 GB, free: 102.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/3.639, allocations: 1.038 MB / 1.618 GB, free: 102.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03309/3.672, allocations: 15.62 MB / 1.633 GB, free: 97.96 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.08094/3.753, allocations: 57.44 MB / 1.69 GB, free: 41.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/3.769, allocations: 9.833 MB / 1.699 GB, free: 31.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01081/3.78, allocations: 7.05 MB / 1.706 GB, free: 24.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8615/4.641, allocations: 335.4 MB / 2.034 GB, free: 495.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/4.641, allocations: 103.4 kB / 2.034 GB, free: 495.7 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005243/4.647, allocations: 0.7378 MB / 2.034 GB, free: 495.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1018): time 2.895e-05/4.647, allocations: 0 / 2.034 GB, free: 495.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=1120): time 0.2/4.847, allocations: 64.43 MB / 2.097 GB, free: 442.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/4.847, allocations: 129.2 kB / 2.097 GB, free: 442.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007114/4.854, allocations: 4.002 MB / 2.101 GB, free: 438.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.002054/4.856, allocations: 157.7 kB / 2.101 GB, free: 438.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001719/4.858, allocations: 2.882 MB / 2.104 GB, free: 435.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.004925/4.863, allocations: 3.886 MB / 2.108 GB, free: 432.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003832/4.867, allocations: 1.815 MB / 2.11 GB, free: 430.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.207e-05/4.867, allocations: 301.1 kB / 2.11 GB, free: 430.1 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01101/4.878, allocations: 7.048 MB / 2.117 GB, free: 423 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0134/4.891, allocations: 8.732 MB / 2.126 GB, free: 413.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02733/4.918, allocations: 16.3 MB / 2.141 GB, free: 396.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.707e-05/4.919, allocations: 12 kB / 2.141 GB, free: 396.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.04029/4.959, allocations: 19.58 MB / 2.161 GB, free: 377.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/4.959, allocations: 28 kB / 2.161 GB, free: 377 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.024e-05/4.959, allocations: 40 kB / 2.161 GB, free: 377 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02401/4.983, allocations: 7.252 MB / 2.168 GB, free: 369.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00966/4.993, allocations: 1.888 MB / 2.17 GB, free: 367.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3028/5.296, allocations: 129.7 MB / 2.296 GB, free: 233.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009272/5.305, allocations: 0.615 MB / 2.297 GB, free: 232.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001812/5.307, allocations: 379.9 kB / 2.297 GB, free: 232.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01535/5.322, allocations: 8.938 MB / 2.306 GB, free: 223.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01278/5.335, allocations: 8.438 MB / 2.314 GB, free: 214.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02191/5.357, allocations: 15.66 MB / 2.33 GB, free: 197.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.391e-05/5.357, allocations: 12 kB / 2.33 GB, free: 197.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.03301/5.39, allocations: 19.15 MB / 2.348 GB, free: 178.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/5.39, allocations: 29.31 kB / 2.348 GB, free: 178.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-05/5.39, allocations: 44 kB / 2.348 GB, free: 178.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01439/5.405, allocations: 5.719 MB / 2.354 GB, free: 172.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008175/5.413, allocations: 1.899 MB / 2.356 GB, free: 170.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3427/5.756, allocations: 132.2 MB / 2.485 GB, free: 32.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01151/5.767, allocations: 0.6125 MB / 2.485 GB, free: 32.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002903/5.77, allocations: 367.9 kB / 2.486 GB, free: 31.99 MB / 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.005251/5.775, allocations: 0.7014 MB / 2.487 GB, free: 31.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003765/5.779, allocations: 0.6443 MB / 2.487 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04554/5.825, allocations: 28.74 MB / 2.515 GB, free: 1.707 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.424/6.249, allocations: 17.77 MB / 2.533 GB, free: 0.5602 GB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-05/6.249, allocations: 7.969 kB / 2.533 GB, free: 0.5602 GB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0352/6.284, allocations: 17.69 MB / 2.55 GB, free: 0.5594 GB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07762/6.362, allocations: 32.04 MB / 2.581 GB, free: 0.548 GB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001575/6.362, allocations: 3.562 kB / 2.581 GB, free: 0.548 GB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02139/6.383, allocations: 2.819 MB / 2.584 GB, free: 0.5479 GB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006222/6.39, allocations: 1.39 MB / 2.585 GB, free: 0.5475 GB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003656/6.393, allocations: 282.6 kB / 2.586 GB, free: 0.5474 GB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03642/6.43, allocations: 52.93 MB / 2.637 GB, free: 0.4989 GB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/6.43, allocations: 0 / 2.637 GB, free: 0.4989 GB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06367/6.494, allocations: 26.94 MB / 2.664 GB, free: 0.4891 GB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002972/6.497, allocations: 0.8465 MB / 2.664 GB, free: 0.4889 GB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00385/6.5, allocations: 216.8 kB / 2.665 GB, free: 0.4888 GB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008881/6.509, allocations: 0.5307 MB / 2.665 GB, free: 0.4887 GB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003917/6.513, allocations: 0.8409 MB / 2.666 GB, free: 0.4886 GB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002982/6.516, allocations: 283.9 kB / 2.666 GB, free: 0.4885 GB / 1.061 GB Notification: Performance of sorting global known variables: time 0.007056/6.523, allocations: 2.684 MB / 2.669 GB, free: 499.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.61e-07/6.523, allocations: 0 / 2.669 GB, free: 499.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.06031/6.584, allocations: 16.13 MB / 2.685 GB, free: 497.9 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.0786/6.662, allocations: 15.4 MB / 2.7 GB, free: 494.9 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.07087/6.733, allocations: 35.61 MB / 2.734 GB, free: 473.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/6.733, allocations: 0 / 2.734 GB, free: 473.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0299/6.763, allocations: 13.26 MB / 2.747 GB, free: 461.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02896/6.792, allocations: 4.175 MB / 2.751 GB, free: 459.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06013/6.852, allocations: 26.1 MB / 2.777 GB, free: 437.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01431/6.867, allocations: 5.86 MB / 2.783 GB, free: 433.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0226/6.889, allocations: 7.118 MB / 2.79 GB, free: 429.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00644/6.896, allocations: 0.5983 MB / 2.79 GB, free: 428.6 MB / 1.061 GB Notification: Performance of SimCode: time 2.344e-06/6.896, allocations: 0 / 2.79 GB, free: 428.6 MB / 1.061 GB Notification: Performance of Templates: time 1.111/8.007, allocations: 0.5989 GB / 3.389 GB, free: 307.8 MB / 1.061 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.pipe 2>&1)