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.001802/0.001802, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002302/0.002302, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.05305/0.05305, allocations: 9.133 MB / 322.3 MB, free: 10.21 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.001997/0.001997, allocations: 71.89 kB / 447.8 MB, free: 12 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 54.93 MB / 0.4909 GB, free: 8.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 0.9866/1.1, allocations: 405 MB / 0.8864 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.8125/1.912, allocations: 336.2 MB / 1.215 GB, free: 3.773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/1.915, allocations: 142.9 kB / 1.215 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01208/1.927, allocations: 4.987 MB / 1.22 GB, free: 14.64 MB / 0.7794 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.1107/2.038, allocations: 46.75 MB / 1.265 GB, free: 15.84 MB / 0.8262 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.1321/2.17, allocations: 52.43 MB / 1.317 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.5241/2.694, allocations: 20.15 MB / 1.336 GB, free: 49 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006012/2.7, allocations: 3.449 MB / 1.34 GB, free: 48.82 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01631/2.717, allocations: 7.998 MB / 1.347 GB, free: 48.82 MB / 0.8731 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.0856/2.802, allocations: 69.3 MB / 1.415 GB, free: 47.34 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00321/2.805, allocations: 0.7107 MB / 1.416 GB, free: 47.34 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1067/2.912, allocations: 63.18 MB / 1.478 GB, free: 28.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004914/2.917, allocations: 3.292 MB / 1.481 GB, free: 26.03 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0114/2.928, allocations: 4.224 MB / 1.485 GB, free: 22.73 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.09872/3.027, allocations: 41.3 MB / 1.525 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/3.027, allocations: 0 / 1.525 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/3.027, allocations: 3.938 kB / 1.525 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003389/3.028, allocations: 0 / 1.525 GB, free: 8.016 MB / 0.8887 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.05214/3.08, allocations: 15.67 MB / 1.541 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/3.08, allocations: 12.03 kB / 1.541 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/3.091, allocations: 1.717 MB / 1.542 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/3.108, allocations: 8.479 MB / 1.55 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008154/3.109, allocations: 0.6056 MB / 1.551 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/3.112, allocations: 0.6296 MB / 1.552 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03678/3.149, allocations: 16.2 MB / 1.568 GB, free: 6.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003758/3.149, allocations: 17.86 kB / 1.568 GB, free: 6.293 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/3.152, allocations: 268.1 kB / 1.568 GB, free: 6.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001442/3.153, allocations: 1.039 MB / 1.569 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03691/3.19, allocations: 15.74 MB / 1.584 GB, free: 8.809 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.09573/3.286, allocations: 37.53 MB / 1.621 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02135/3.307, allocations: 9.52 MB / 1.63 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01422/3.321, allocations: 6.811 MB / 1.637 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7147/4.036, allocations: 92.64 MB / 1.727 GB, free: 0.6377 GB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/4.036, allocations: 108.6 kB / 1.727 GB, free: 0.6377 GB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004755/4.041, allocations: 0.6934 MB / 1.728 GB, free: 0.6377 GB / 1.045 GB Notification: Performance of pre-optimization done (n=1018): time 4.051e-05/4.041, allocations: 7.125 kB / 1.728 GB, free: 0.6377 GB / 1.045 GB Notification: Performance of matching and sorting (n=1120): time 0.187/4.228, allocations: 64.42 MB / 1.791 GB, free: 0.5926 GB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/4.228, allocations: 132.8 kB / 1.791 GB, free: 0.5924 GB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/4.232, allocations: 3.103 MB / 1.794 GB, free: 0.5894 GB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.00201/4.234, allocations: 157.7 kB / 1.794 GB, free: 0.5893 GB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/4.236, allocations: 2.892 MB / 1.797 GB, free: 0.5868 GB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.004137/4.24, allocations: 3.888 MB / 1.801 GB, free: 0.5836 GB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003781/4.244, allocations: 1.811 MB / 1.803 GB, free: 0.5818 GB / 1.045 GB Notification: Performance of setup shared object (initialization): time 5.186e-05/4.244, allocations: 301.1 kB / 1.803 GB, free: 0.5815 GB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01079/4.254, allocations: 7.136 MB / 1.81 GB, free: 0.5746 GB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/4.267, allocations: 8.822 MB / 1.818 GB, free: 0.5654 GB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0253/4.293, allocations: 16.49 MB / 1.835 GB, free: 0.5488 GB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.159e-05/4.293, allocations: 12 kB / 1.835 GB, free: 0.5488 GB / 1.045 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.04646/4.339, allocations: 19.64 MB / 1.854 GB, free: 0.5295 GB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/4.339, allocations: 23.12 kB / 1.854 GB, free: 0.5295 GB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-05/4.34, allocations: 43.98 kB / 1.854 GB, free: 0.5294 GB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02293/4.362, allocations: 7.283 MB / 1.861 GB, free: 0.5223 GB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00866/4.371, allocations: 1.888 MB / 1.863 GB, free: 0.5204 GB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3054/4.676, allocations: 126.9 MB / 1.987 GB, free: 402.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009382/4.686, allocations: 0.6204 MB / 1.987 GB, free: 401.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001579/4.687, allocations: 383.8 kB / 1.988 GB, free: 401.3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01617/4.704, allocations: 9.02 MB / 1.996 GB, free: 392.3 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01276/4.716, allocations: 8.516 MB / 2.005 GB, free: 383.2 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02183/4.738, allocations: 15.84 MB / 2.02 GB, free: 366.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.4e-05/4.738, allocations: 16 kB / 2.02 GB, free: 366.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.0332/4.771, allocations: 19.02 MB / 2.039 GB, free: 347.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/4.771, allocations: 24 kB / 2.039 GB, free: 347.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.926e-05/4.772, allocations: 52.09 kB / 2.039 GB, free: 347.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01492/4.786, allocations: 5.727 MB / 2.045 GB, free: 341.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008196/4.795, allocations: 1.899 MB / 2.046 GB, free: 339.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.305/5.1, allocations: 129.1 MB / 2.172 GB, free: 206.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007503/5.107, allocations: 0.6085 MB / 2.173 GB, free: 206 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/5.108, allocations: 371.8 kB / 2.173 GB, free: 205.7 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 185 * Number of states: 0 () * Number of discrete variables: 74 (boundary4.medium.sat.vap.phase,boundary4.medium.sat.liq.phase,boundary4.medium.state.phase,pipe4.statesFM[7].phase,pipe4.statesFM[6].phase,pipe4.statesFM[5].phase,pipe4.statesFM[4].phase,pipe4.statesFM[3].phase,pipe4.statesFM[2].phase,pipe4.statesFM[1].phase,pipe4.mediums[5].sat.vap.phase,pipe4.mediums[5].sat.liq.phase,pipe4.mediums[4].sat.vap.phase,pipe4.mediums[4].sat.liq.phase,pipe4.mediums[3].sat.vap.phase,pipe4.mediums[3].sat.liq.phase,pipe4.mediums[2].sat.vap.phase,pipe4.mediums[2].sat.liq.phase,pipe4.mediums[1].sat.vap.phase,pipe4.mediums[1].sat.liq.phase,pipe3.statesFM[7].phase,pipe3.statesFM[6].phase,pipe3.statesFM[5].phase,pipe3.statesFM[4].phase,pipe3.statesFM[3].phase,pipe3.statesFM[2].phase,pipe3.statesFM[1].phase,pipe3.mediums[5].sat.vap.phase,pipe3.mediums[5].sat.liq.phase,pipe3.mediums[4].sat.vap.phase,pipe3.mediums[4].sat.liq.phase,pipe3.mediums[3].sat.vap.phase,pipe3.mediums[3].sat.liq.phase,pipe3.mediums[2].sat.vap.phase,pipe3.mediums[2].sat.liq.phase,pipe3.mediums[1].sat.vap.phase,pipe3.mediums[1].sat.liq.phase,pipe2.statesFM[5].phase,pipe2.statesFM[4].phase,pipe2.statesFM[3].phase,pipe2.statesFM[2].phase,pipe2.statesFM[1].phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe2.mediums[5].sat.vap.phase,pipe2.mediums[5].sat.liq.phase,pipe2.mediums[4].sat.vap.phase,pipe2.mediums[4].sat.liq.phase,pipe2.mediums[3].sat.vap.phase,pipe2.mediums[3].sat.liq.phase,pipe2.mediums[2].sat.vap.phase,pipe2.mediums[2].sat.liq.phase,pipe2.mediums[1].sat.vap.phase,pipe2.mediums[1].sat.liq.phase,pipe1.statesFM[7].phase,pipe1.statesFM[6].phase,pipe1.statesFM[5].phase,pipe1.statesFM[4].phase,pipe1.statesFM[3].phase,pipe1.statesFM[2].phase,pipe1.statesFM[1].phase,pipe1.mediums[5].sat.vap.phase,pipe1.mediums[5].sat.liq.phase,pipe1.mediums[4].sat.vap.phase,pipe1.mediums[4].sat.liq.phase,pipe1.mediums[3].sat.vap.phase,pipe1.mediums[3].sat.liq.phase,pipe1.mediums[2].sat.vap.phase,pipe1.mediums[2].sat.liq.phase,pipe1.mediums[1].sat.vap.phase,pipe1.mediums[1].sat.liq.phase,boundary1.medium.sat.vap.phase,boundary1.medium.sat.liq.phase,boundary1.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (890): * Single equations (assignments): 837 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 26 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 25 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,17), (18,89)} Notification: Performance of prepare postOptimizeDAE: time 0.001941/5.11, allocations: 0.7018 MB / 2.174 GB, free: 205 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/5.112, allocations: 0.5822 MB / 2.175 GB, free: 204.4 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03388/5.146, allocations: 29.11 MB / 2.203 GB, free: 175.2 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02393/5.17, allocations: 18.16 MB / 2.221 GB, free: 156.9 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/5.17, allocations: 8 kB / 2.221 GB, free: 156.9 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0246/5.194, allocations: 18.08 MB / 2.238 GB, free: 138.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04521/5.239, allocations: 30.08 MB / 2.268 GB, free: 108.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/5.239, allocations: 3.938 kB / 2.268 GB, free: 108.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01307/5.253, allocations: 2.821 MB / 2.271 GB, free: 105.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003927/5.256, allocations: 1.39 MB / 2.272 GB, free: 104.4 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001251/5.258, allocations: 283.8 kB / 2.272 GB, free: 104.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02362/5.281, allocations: 49.75 MB / 2.321 GB, free: 51.33 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/5.281, allocations: 384 / 2.321 GB, free: 51.33 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03942/5.321, allocations: 27.33 MB / 2.347 GB, free: 23.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/5.322, allocations: 0.6786 MB / 2.348 GB, free: 23.17 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001885/5.324, allocations: 231.8 kB / 2.348 GB, free: 22.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005449/5.33, allocations: 0.5305 MB / 2.349 GB, free: 22.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001685/5.331, allocations: 0.8722 MB / 2.35 GB, free: 21.54 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006762/5.332, allocations: 283.8 kB / 2.35 GB, free: 21.26 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002282/5.334, allocations: 1.982 MB / 2.352 GB, free: 19.28 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/5.334, allocations: 0 / 2.352 GB, free: 19.28 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.03695/5.371, allocations: 16.12 MB / 2.368 GB, free: 3.125 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 62 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe1.mediums[2].p,pipe1.mediums[2].h,pipe1.mediums[3].p,pipe1.mediums[3].h,pipe1.mediums[4].p,pipe1.mediums[4].h,pipe1.mediums[5].p,pipe1.mediums[5].h,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe2.mediums[3].p,pipe2.mediums[3].h,pipe2.mediums[4].p,pipe2.mediums[4].h,pipe2.mediums[5].p,pipe2.mediums[5].h,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],pipe3.mediums[1].p,pipe3.mediums[1].h,pipe3.mediums[2].p,pipe3.mediums[2].h,pipe3.mediums[3].p,pipe3.mediums[3].h,pipe3.mediums[4].p,pipe3.mediums[4].h,pipe3.mediums[5].p,pipe3.mediums[5].h,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],pipe4.mediums[1].p,pipe4.mediums[1].h,pipe4.mediums[2].p,pipe4.mediums[2].h,pipe4.mediums[3].p,pipe4.mediums[3].h,pipe4.mediums[4].p,pipe4.mediums[4].h,pipe4.mediums[5].p,pipe4.mediums[5].h,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 102 (pipe1.statesFM[7].phase,pipe3.statesFM[1].phase,pipe3.statesFM[7].phase,pipe4.statesFM[1].phase,pipe1.statesFM[1].phase,pipe4.statesFM[7].phase,$cse241.phase,$cse242.phase,$cse244.phase,$cse247.phase,$cse250.phase,$cse253.phase,$cse256.phase,$cse264.phase,$cse265.phase,$cse269.phase,$cse272.phase,$cse275.phase,$cse278.phase,$cse281.phase,$cse301.phase,$cse304.phase,$cse307.phase,$cse310.phase,$cse313.phase,$cse321.phase,$cse322.phase,$cse325.phase,$cse328.phase,$cse331.phase,$cse334.phase,$cse337.phase,$cse345.phase,$cse346.phase,$cse347.phase,$cse348.phase,boundary1.medium.state.phase,pipe1.mediums[1].sat.liq.phase,pipe1.mediums[1].sat.vap.phase,pipe1.mediums[2].sat.liq.phase,pipe1.mediums[2].sat.vap.phase,pipe1.mediums[3].sat.liq.phase,pipe1.mediums[3].sat.vap.phase,pipe1.mediums[4].sat.liq.phase,pipe1.mediums[4].sat.vap.phase,pipe1.mediums[5].sat.liq.phase,pipe1.mediums[5].sat.vap.phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.mediums[1].sat.liq.phase,pipe2.mediums[1].sat.vap.phase,pipe2.mediums[2].sat.liq.phase,pipe2.mediums[2].sat.vap.phase,pipe2.mediums[3].sat.liq.phase,pipe2.mediums[3].sat.vap.phase,pipe2.mediums[4].sat.liq.phase,pipe2.mediums[4].sat.vap.phase,pipe2.mediums[5].sat.liq.phase,pipe2.mediums[5].sat.vap.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.mediums[1].sat.liq.phase,pipe3.mediums[1].sat.vap.phase,pipe3.mediums[2].sat.liq.phase,pipe3.mediums[2].sat.vap.phase,pipe3.mediums[3].sat.liq.phase,pipe3.mediums[3].sat.vap.phase,pipe3.mediums[4].sat.liq.phase,pipe3.mediums[4].sat.vap.phase,pipe3.mediums[5].sat.liq.phase,pipe3.mediums[5].sat.vap.phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.mediums[1].sat.liq.phase,pipe4.mediums[1].sat.vap.phase,pipe4.mediums[2].sat.liq.phase,pipe4.mediums[2].sat.vap.phase,pipe4.mediums[3].sat.liq.phase,pipe4.mediums[3].sat.vap.phase,pipe4.mediums[4].sat.liq.phase,pipe4.mediums[4].sat.vap.phase,pipe4.mediums[5].sat.liq.phase,pipe4.mediums[5].sat.vap.phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.state.phase,boundary4.medium.sat.liq.phase,boundary4.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (860): * Single equations (assignments): 760 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 53 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 22 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 25 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2908/5.662, allocations: 15.39 MB / 2.383 GB, free: 0.5253 GB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.05939/5.722, allocations: 34.08 MB / 2.416 GB, free: 0.5183 GB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/5.722, allocations: 5.719 kB / 2.416 GB, free: 0.5183 GB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.02414/5.746, allocations: 12.81 MB / 2.429 GB, free: 0.5155 GB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01799/5.764, allocations: 3.989 MB / 2.432 GB, free: 0.5153 GB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03789/5.802, allocations: 26.65 MB / 2.458 GB, free: 0.5067 GB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006596/5.808, allocations: 5.34 MB / 2.464 GB, free: 0.5056 GB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003672/5.812, allocations: 0.6609 MB / 2.464 GB, free: 0.5056 GB / 1.045 GB Notification: Performance of SimCode: time 1.793e-06/5.812, allocations: 0 / 2.464 GB, free: 0.5056 GB / 1.045 GB Notification: Performance of Templates: time 2.4/8.212, allocations: 1.686 GB / 4.15 GB, free: 441 MB / 1.045 GB " [Timeout remaining time 652] 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/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: 13.69646417396143] Failed to read output from testmodel.py, exit status != 0: 8.22131782118231 8.232598981 5.202563991 Calling exit ...