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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 217.5 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04731/0.04731, allocations: 9.142 MB / 322.3 MB, free: 10.56 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.BranchingDynamicPipes,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes") translateModel(HelmholtzMedia.Examples.BranchingDynamicPipes,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 59.91 kB / 447.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08993, allocations: 54.95 MB / 0.491 GB, free: 9.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 0.8032/0.8931, allocations: 456.1 MB / 0.9365 GB, free: 15.86 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 1.037/1.931, allocations: 384 MB / 1.311 GB, free: 484 kB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/1.933, allocations: 141.9 kB / 1.312 GB, free: 484 kB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.01013/1.943, allocations: 6.207 MB / 1.318 GB, free: 448 kB / 0.8263 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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.07901/2.022, allocations: 47.98 MB / 1.365 GB, free: 15.8 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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.09503/2.117, allocations: 52.81 MB / 1.416 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01941/2.137, allocations: 20.25 MB / 1.436 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004213/2.141, allocations: 3.282 MB / 1.439 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/2.152, allocations: 7.852 MB / 1.447 GB, free: 256 kB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFSimplifyModel.simplify: time 0.09021/2.243, allocations: 69.41 MB / 1.515 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001464/2.244, allocations: 0.707 MB / 1.515 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1468/2.391, allocations: 92.58 MB / 1.606 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004293/2.395, allocations: 3.295 MB / 1.609 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006543/2.402, allocations: 5.109 MB / 1.614 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.09769/2.5, allocations: 45.94 MB / 1.659 GB, free: 14.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/2.5, allocations: 0 / 1.659 GB, free: 14.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/2.5, allocations: 0 / 1.659 GB, free: 14.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.916e-05/2.5, allocations: 0 / 1.659 GB, free: 14.99 MB / 1.076 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.03449/2.534, allocations: 15.72 MB / 1.674 GB, free: 15.23 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/2.534, allocations: 12.03 kB / 1.674 GB, free: 15.22 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007337/2.541, allocations: 1.708 MB / 1.676 GB, free: 13.51 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/2.554, allocations: 8.506 MB / 1.684 GB, free: 5.387 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005182/2.555, allocations: 0.5979 MB / 1.685 GB, free: 4.801 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009824/2.556, allocations: 0.6356 MB / 1.685 GB, free: 4.184 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2072/2.763, allocations: 15.03 MB / 1.7 GB, free: 0.6759 GB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/2.763, allocations: 16.89 kB / 1.7 GB, free: 0.6759 GB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006424/2.764, allocations: 265 kB / 1.7 GB, free: 0.6758 GB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009478/2.765, allocations: 1.047 MB / 1.701 GB, free: 0.6756 GB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02305/2.788, allocations: 15.77 MB / 1.717 GB, free: 0.6706 GB / 1.092 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.04953/2.838, allocations: 57.75 MB / 1.773 GB, free: 0.6276 GB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/2.849, allocations: 9.542 MB / 1.782 GB, free: 0.6228 GB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007241/2.856, allocations: 6.816 MB / 1.789 GB, free: 0.6193 GB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3323/3.189, allocations: 92.42 MB / 1.879 GB, free: 0.5328 GB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.681e-05/3.189, allocations: 103.6 kB / 1.879 GB, free: 0.5327 GB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003275/3.192, allocations: 0.7807 MB / 1.88 GB, free: 0.5321 GB / 1.092 GB Notification: Performance of pre-optimization done (n=1018): time 7.434e-06/3.192, allocations: 0 / 1.88 GB, free: 0.5321 GB / 1.092 GB Notification: Performance of matching and sorting (n=1120): time 0.1392/3.331, allocations: 64.44 MB / 1.943 GB, free: 481.7 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/3.331, allocations: 129.2 kB / 1.943 GB, free: 481.6 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/3.335, allocations: 4.002 MB / 1.947 GB, free: 477.6 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004442/3.335, allocations: 157.7 kB / 1.947 GB, free: 477.5 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009686/3.336, allocations: 2.879 MB / 1.95 GB, free: 474.9 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001576/3.338, allocations: 3.883 MB / 1.954 GB, free: 471.6 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002087/3.34, allocations: 1.823 MB / 1.956 GB, free: 469.8 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 3.347e-05/3.34, allocations: 301.1 kB / 1.956 GB, free: 469.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007763/3.348, allocations: 7.13 MB / 1.963 GB, free: 462.3 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008465/3.356, allocations: 8.822 MB / 1.971 GB, free: 452.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/3.373, allocations: 16.48 MB / 1.988 GB, free: 435.8 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/3.373, allocations: 12 kB / 1.988 GB, free: 435.8 MB / 1.092 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.0237/3.397, allocations: 19.67 MB / 2.007 GB, free: 416 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/3.397, allocations: 29.09 kB / 2.007 GB, free: 416 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/3.397, allocations: 43.94 kB / 2.007 GB, free: 415.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/3.416, allocations: 7.276 MB / 2.014 GB, free: 408.6 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005833/3.421, allocations: 1.894 MB / 2.016 GB, free: 406.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2647/3.686, allocations: 127.5 MB / 2.14 GB, free: 275.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006679/3.693, allocations: 0.6243 MB / 2.141 GB, free: 274.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005819/3.693, allocations: 383.9 kB / 2.141 GB, free: 274.1 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0104/3.704, allocations: 9.02 MB / 2.15 GB, free: 265 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008278/3.712, allocations: 8.52 MB / 2.158 GB, free: 255.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01598/3.728, allocations: 15.84 MB / 2.174 GB, free: 239.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.741e-05/3.728, allocations: 12 kB / 2.174 GB, free: 239.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.02467/3.753, allocations: 19.07 MB / 2.193 GB, free: 220.2 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/3.753, allocations: 24 kB / 2.193 GB, free: 220.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/3.753, allocations: 40 kB / 2.193 GB, free: 220.2 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01297/3.766, allocations: 5.731 MB / 2.198 GB, free: 214.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005912/3.772, allocations: 1.903 MB / 2.2 GB, free: 212.4 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2675/4.039, allocations: 129.9 MB / 2.327 GB, free: 77.94 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006558/4.046, allocations: 0.6126 MB / 2.327 GB, free: 77.33 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000548/4.046, allocations: 367.9 kB / 2.328 GB, free: 76.97 MB / 1.092 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.001607/4.048, allocations: 0.7054 MB / 2.329 GB, free: 76.25 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/4.049, allocations: 0.6443 MB / 2.329 GB, free: 75.6 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02861/4.077, allocations: 29.18 MB / 2.358 GB, free: 46.25 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01935/4.097, allocations: 18.16 MB / 2.375 GB, free: 27.99 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/4.097, allocations: 11.94 kB / 2.375 GB, free: 27.98 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01941/4.116, allocations: 18.07 MB / 2.393 GB, free: 9.77 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4041/4.52, allocations: 32.61 MB / 2.425 GB, free: 0.5662 GB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/4.52, allocations: 0 / 2.425 GB, free: 0.5662 GB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01113/4.531, allocations: 2.822 MB / 2.428 GB, free: 0.5662 GB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/4.535, allocations: 1.39 MB / 2.429 GB, free: 0.566 GB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005135/4.535, allocations: 282.4 kB / 2.429 GB, free: 0.566 GB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0212/4.557, allocations: 50.38 MB / 2.478 GB, free: 0.5242 GB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/4.557, allocations: 0 / 2.478 GB, free: 0.5242 GB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03001/4.587, allocations: 27.39 MB / 2.505 GB, free: 0.5156 GB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/4.588, allocations: 0.7778 MB / 2.506 GB, free: 0.5156 GB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008718/4.589, allocations: 215.8 kB / 2.506 GB, free: 0.5154 GB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004021/4.593, allocations: 0.5294 MB / 2.507 GB, free: 0.5153 GB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/4.594, allocations: 0.8785 MB / 2.508 GB, free: 0.5152 GB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004885/4.595, allocations: 283 kB / 2.508 GB, free: 0.5151 GB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002558/4.597, allocations: 2.687 MB / 2.51 GB, free: 0.5142 GB / 1.092 GB Notification: Performance of sort global known variables: time 9.1e-08/4.597, allocations: 0 / 2.51 GB, free: 0.5142 GB / 1.092 GB Notification: Performance of remove unused functions: time 0.02825/4.626, allocations: 16.15 MB / 2.526 GB, free: 0.5133 GB / 1.092 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.04095/4.667, allocations: 15.39 MB / 2.541 GB, free: 0.5104 GB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.04368/4.71, allocations: 34.09 MB / 2.575 GB, free: 0.4953 GB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/4.71, allocations: 3.656 kB / 2.575 GB, free: 0.4953 GB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.01855/4.729, allocations: 12.81 MB / 2.587 GB, free: 0.4896 GB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01334/4.742, allocations: 4.186 MB / 2.591 GB, free: 0.4888 GB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/4.77, allocations: 26.76 MB / 2.617 GB, free: 480.2 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003823/4.774, allocations: 5.79 MB / 2.623 GB, free: 475.9 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/4.776, allocations: 0.6918 MB / 2.624 GB, free: 475.3 MB / 1.092 GB Notification: Performance of SimCode: time 6.32e-07/4.776, allocations: 0 / 2.624 GB, free: 475.3 MB / 1.092 GB Notification: Performance of Templates: time 1.601/6.377, allocations: 1.687 GB / 4.31 GB, free: 0.5318 GB / 1.092 GB " [Timeout remaining time 654] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.makefile [Timeout 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10396:160: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24PEoS_24PsetHelmholtzDerivsFirst_24funDERf_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10397:146: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24PEoS_24PsetHelmholtzDerivsFirst_24funDERf_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10400:39: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10401:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10496:161: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24PEoS_24PsetHelmholtzDerivsSecond_24funDERf_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10497:147: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24PEoS_24PsetHelmholtzDerivsSecond_24funDERf_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10500:39: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10501:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10663:39: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10664:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10667:148: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderh_5Fp_24funDERf_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10668:134: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderh_5Fp_24funDERf_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11080:39: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11081:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11084:40: error: use of undeclared identifier 'MM_' fl_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11085:26: error: use of undeclared identifier 'MM_' fl_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11088:40: error: use of undeclared identifier 'MM_' fv_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11089:26: error: use of undeclared identifier 'MM_' fv_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11092:148: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderp_5Fh_24funDERf_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 11.052527123014443] Failed to read output from testmodel.py, exit status != 0: 6.384549968061037 6.393135097 3.891494282 Calling exit ...