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.0006539/0.0006539, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007449/0.0007449, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8296/0.8296, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.02722/0.02722, allocations: 7.51 MB / 267.5 MB, free: 6.188 MB / 250.7 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 1.363e-06/1.363e-06, allocations: 0 / 393 MB, free: 5.844 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.039e-05, allocations: 4.953 kB / 393 MB, free: 5.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 0.618/0.618, allocations: 404.2 MB / 0.7786 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.539/1.157, allocations: 336.3 MB / 1.107 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/1.16, allocations: 146.9 kB / 1.107 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.009208/1.169, allocations: 5.049 MB / 1.112 GB, free: 6.484 MB / 0.7292 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.07691/1.246, allocations: 47.36 MB / 1.158 GB, free: 7.047 MB / 0.7761 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.4898/1.736, allocations: 54.33 MB / 1.211 GB, free: 20.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0155/1.752, allocations: 19.64 MB / 1.231 GB, free: 16.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004906/1.756, allocations: 3.41 MB / 1.234 GB, free: 16.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01977/1.776, allocations: 10.31 MB / 1.244 GB, free: 15.99 MB / 0.7761 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.05478/1.831, allocations: 69.62 MB / 1.312 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001965/1.833, allocations: 0.7109 MB / 1.313 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09505/1.928, allocations: 63.66 MB / 1.375 GB, free: 144 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004796/1.933, allocations: 3.384 MB / 1.378 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.006447/1.939, allocations: 3.634 MB / 1.382 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.09587/2.035, allocations: 46.59 MB / 1.427 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/2.035, allocations: 0 / 1.427 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.343e-06/2.035, allocations: 0 / 1.427 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001167/2.035, allocations: 0 / 1.427 GB, free: 14.35 MB / 0.9011 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.02717/2.062, allocations: 15.61 MB / 1.442 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/2.062, allocations: 8.625 kB / 1.442 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/2.067, allocations: 1.716 MB / 1.444 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009434/2.077, allocations: 8.479 MB / 1.452 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003559/2.077, allocations: 0.5937 MB / 1.453 GB, free: 4.676 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007431/2.078, allocations: 0.6427 MB / 1.454 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/2.094, allocations: 16.2 MB / 1.469 GB, free: 3.406 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.6e-05/2.094, allocations: 17.95 kB / 1.469 GB, free: 3.395 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005313/2.095, allocations: 264.7 kB / 1.47 GB, free: 3.152 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006284/2.095, allocations: 1.044 MB / 1.471 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/2.112, allocations: 15.73 MB / 1.486 GB, free: 2.441 MB / 0.948 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.3698/2.482, allocations: 37.51 MB / 1.523 GB, free: 0.6003 GB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/2.492, allocations: 9.521 MB / 1.532 GB, free: 0.599 GB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006032/2.498, allocations: 6.805 MB / 1.539 GB, free: 0.5965 GB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1885/2.687, allocations: 92.66 MB / 1.629 GB, free: 0.5476 GB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/2.687, allocations: 103.6 kB / 1.629 GB, free: 0.5475 GB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003516/2.691, allocations: 0.6942 MB / 1.63 GB, free: 0.5472 GB / 0.9793 GB Notification: Performance of pre-optimization done (n=1018): time 8.657e-06/2.691, allocations: 0 / 1.63 GB, free: 0.5472 GB / 0.9793 GB Notification: Performance of matching and sorting (n=1120): time 0.09321/2.784, allocations: 64.43 MB / 1.693 GB, free: 497.8 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/2.784, allocations: 125.2 kB / 1.693 GB, free: 497.6 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/2.787, allocations: 3.101 MB / 1.696 GB, free: 494.6 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.0006552/2.788, allocations: 157.7 kB / 1.696 GB, free: 494.4 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009784/2.789, allocations: 2.891 MB / 1.699 GB, free: 492 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.002206/2.791, allocations: 3.838 MB / 1.703 GB, free: 488.7 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/2.793, allocations: 1.803 MB / 1.704 GB, free: 486.9 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 3.109e-05/2.793, allocations: 305.1 kB / 1.705 GB, free: 486.6 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006419/2.8, allocations: 7.138 MB / 1.712 GB, free: 479.4 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00696/2.807, allocations: 8.809 MB / 1.72 GB, free: 470.1 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/2.82, allocations: 16.49 MB / 1.736 GB, free: 453 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/2.82, allocations: 14.41 kB / 1.736 GB, free: 453 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.01886/2.839, allocations: 19.64 MB / 1.756 GB, free: 433.2 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/2.839, allocations: 24.97 kB / 1.756 GB, free: 433.2 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.12e-05/2.839, allocations: 43.94 kB / 1.756 GB, free: 433.1 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01134/2.85, allocations: 7.301 MB / 1.763 GB, free: 425.8 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/2.855, allocations: 1.888 MB / 1.765 GB, free: 423.9 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1541/3.009, allocations: 126.8 MB / 1.888 GB, free: 293.5 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005221/3.014, allocations: 0.6191 MB / 1.889 GB, free: 292.9 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004653/3.014, allocations: 379.9 kB / 1.889 GB, free: 292.5 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008796/3.023, allocations: 9.025 MB / 1.898 GB, free: 283.4 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006314/3.029, allocations: 8.52 MB / 1.907 GB, free: 274.3 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01218/3.042, allocations: 15.84 MB / 1.922 GB, free: 257.9 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.907e-05/3.042, allocations: 16 kB / 1.922 GB, free: 257.8 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.01732/3.059, allocations: 19.03 MB / 1.941 GB, free: 238.7 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/3.059, allocations: 20 kB / 1.941 GB, free: 238.6 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/3.059, allocations: 48.25 kB / 1.941 GB, free: 238.6 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007268/3.066, allocations: 5.73 MB / 1.946 GB, free: 232.8 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/3.07, allocations: 1.896 MB / 1.948 GB, free: 230.9 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1537/3.223, allocations: 129.1 MB / 2.074 GB, free: 97.85 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005606/3.229, allocations: 0.6089 MB / 2.075 GB, free: 97.24 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005768/3.23, allocations: 367.8 kB / 2.075 GB, free: 96.88 MB / 0.9793 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.00165/3.231, allocations: 0.6962 MB / 2.076 GB, free: 96.2 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009763/3.232, allocations: 0.59 MB / 2.076 GB, free: 95.6 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/3.255, allocations: 29.1 MB / 2.105 GB, free: 66.42 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01487/3.27, allocations: 18.15 MB / 2.122 GB, free: 48.19 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/3.27, allocations: 8 kB / 2.122 GB, free: 48.18 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01441/3.284, allocations: 18.08 MB / 2.14 GB, free: 29.96 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2386/3.523, allocations: 30.08 MB / 2.17 GB, free: 0.496 GB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-05/3.523, allocations: 0.8125 kB / 2.17 GB, free: 0.496 GB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007953/3.531, allocations: 2.82 MB / 2.172 GB, free: 0.496 GB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/3.533, allocations: 1.386 MB / 2.174 GB, free: 0.4958 GB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007395/3.534, allocations: 279.2 kB / 2.174 GB, free: 0.4958 GB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/3.548, allocations: 49.72 MB / 2.222 GB, free: 465.7 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/3.548, allocations: 0 / 2.222 GB, free: 465.7 MB / 0.9793 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02625/3.575, allocations: 27.3 MB / 2.249 GB, free: 462.3 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/3.576, allocations: 0.6797 MB / 2.25 GB, free: 462.3 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006064/3.577, allocations: 218.6 kB / 2.25 GB, free: 462.2 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/3.579, allocations: 0.5356 MB / 2.25 GB, free: 462 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/3.58, allocations: 0.8715 MB / 2.251 GB, free: 461.9 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004042/3.581, allocations: 284.5 kB / 2.252 GB, free: 461.9 MB / 0.9793 GB Notification: Performance of sorting global known variables: time 0.00176/3.582, allocations: 1.982 MB / 2.254 GB, free: 461.2 MB / 0.9793 GB Notification: Performance of sort global known variables: time 7e-08/3.582, allocations: 0 / 2.254 GB, free: 461.2 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.02993/3.612, allocations: 16.12 MB / 2.269 GB, free: 460 MB / 0.9793 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.03723/3.649, allocations: 16.63 MB / 2.286 GB, free: 456.9 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.03287/3.682, allocations: 34.07 MB / 2.319 GB, free: 441.5 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/3.682, allocations: 0 / 2.319 GB, free: 441.5 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.01233/3.695, allocations: 12.81 MB / 2.331 GB, free: 435.6 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009535/3.704, allocations: 3.98 MB / 2.335 GB, free: 434.9 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/3.73, allocations: 25.38 MB / 2.36 GB, free: 425.1 MB / 0.9793 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003907/3.733, allocations: 5.341 MB / 2.365 GB, free: 422.4 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002844/3.736, allocations: 0.6612 MB / 2.366 GB, free: 421.8 MB / 0.9793 GB Notification: Performance of SimCode: time 9.72e-07/3.736, allocations: 3.609 kB / 2.366 GB, free: 421.8 MB / 0.9793 GB Notification: Performance of Templates: time 1.476/5.212, allocations: 1.69 GB / 4.056 GB, free: 411.5 MB / 0.9793 GB " [Timeout remaining time 655] 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/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/jenkins/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_' 10396 | _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_' 10397 | _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_' 10400 | f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10401:25: error: use of undeclared identifier 'MM_' 10401 | 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_' 10496 | _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_' 10497 | _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_' 10500 | f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10501:25: error: use of undeclared identifier 'MM_' 10501 | 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_' 10663 | f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10664:25: error: use of undeclared identifier 'MM_' 10664 | 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_' 10667 | _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_' 10668 | _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_' 11080 | f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11081:25: error: use of undeclared identifier 'MM_' 11081 | 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_' 11084 | fl_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11085:26: error: use of undeclared identifier 'MM_' 11085 | 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_' 11088 | fv_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11089:26: error: use of undeclared identifier 'MM_' 11089 | 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_' 11092 | _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: 8.193099020048976] Failed to read output from testmodel.py, exit status != 0: 5.218241849914193 5.224317249 3.187592665 Calling exit ...