Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.0103/0.0103, allocations: 1.34 MB / 11.13 MB, free: 3.035 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001786/0.01208, allocations: 0.8268 MB / 11.95 MB, free: 2.203 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09149/0.09149, allocations: 18.24 MB / 30.93 MB, free: 4.926 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01317/0.1047, allocations: 7.683 MB / 38.62 MB, free: 8.23 MB / 44.04 MB " [Timeout remaining time 180] 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.000673/0.000673, allocations: 83.67 kB / 39.43 MB, free: 7.426 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001706, allocations: 450.2 kB / 39.87 MB, free: 6.992 MB / 44.04 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.0007619/0.0007619, allocations: 164.3 kB / 40.76 MB, free: 6.109 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.00179, allocations: 468.5 kB / 41.22 MB, free: 5.648 MB / 44.04 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.9777/0.9777, allocations: 177.2 MB / 219.1 MB, free: 11.4 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07249/1.05, allocations: 53.66 MB / 272.8 MB, free: 5.738 MB / 266.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6975/0.6975, allocations: 102.4 MB / 376 MB, free: 8.914 MB / 362.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04462/0.7421, allocations: 28.57 MB / 404.5 MB, free: 12.46 MB / 394.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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) Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 406.3 MB, free: 10.65 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.236e-06/9.799e-06, allocations: 2.312 kB / 406.3 MB, free: 10.65 MB / 394.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers): time 0.02628/0.02629, allocations: 37.7 MB / 444 MB, free: 4.809 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.04109/0.06738, allocations: 32.45 MB / 476.5 MB, free: 4.262 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006124/0.07351, allocations: 222.4 kB / 476.7 MB, free: 4.043 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006328/0.07984, allocations: 4.414 MB / 481.1 MB, free: 15.6 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.09103, allocations: 7.508 MB / 488.6 MB, free: 8.051 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01021/0.1012, allocations: 7.006 MB / 495.6 MB, free: 1.031 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.01968/0.1209, allocations: 21.07 MB / 0.5046 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007649/0.1286, allocations: 6.278 MB / 0.5107 GB, free: 5.508 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3302/0.4587, allocations: 58.76 MB / 0.5681 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008756/0.4675, allocations: 7.253 MB / 0.5752 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002172/0.4697, allocations: 1.261 MB / 0.5764 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.4743, allocations: 3.27 MB / 0.5796 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002234/0.4765, allocations: 3.768 MB / 0.5833 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002883/0.4794, allocations: 3.416 MB / 0.5866 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008511/0.4879, allocations: 11.62 MB / 0.598 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.4879, allocations: 0 / 0.598 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4879, allocations: 4 kB / 0.598 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001307/0.4881, allocations: 4 kB / 0.598 GB, free: 16.82 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2308 * Number of variables: 2308 Notification: Performance of Generate backend data structure: time 0.01171/0.4998, allocations: 14.39 MB / 0.612 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4998, allocations: 12.03 kB / 0.612 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008694/0.5007, allocations: 1.121 MB / 0.6131 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.5026, allocations: 1.379 MB / 0.6145 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005534/0.5082, allocations: 5.366 MB / 0.6197 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.5084, allocations: 471.2 kB / 0.6202 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/0.509, allocations: 0.6443 MB / 0.6208 GB, free: 15.96 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.5212, allocations: 12.97 MB / 0.6335 GB, free: 2.25 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.612e-05/0.5213, allocations: 60.94 kB / 0.6335 GB, free: 2.227 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005234/0.5219, allocations: 306.9 kB / 0.6338 GB, free: 2.129 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005105/0.5224, allocations: 0.7185 MB / 0.6345 GB, free: 1.508 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00883/0.5312, allocations: 5.526 MB / 0.6399 GB, free: 12.51 MB / 0.5418 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.03294/0.5641, allocations: 50.13 MB / 0.6889 GB, free: 14.89 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009475/0.5736, allocations: 5.925 MB / 0.6947 GB, free: 9.562 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.5754, allocations: 1.343 MB / 0.696 GB, free: 8.258 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.5766, allocations: 0.7315 MB / 0.6967 GB, free: 7.57 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006964/0.5835, allocations: 4.85 MB / 0.7014 GB, free: 2.871 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002284/0.5858, allocations: 1.2 MB / 0.7026 GB, free: 1.668 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1095): time 1.224e-05/0.5858, allocations: 0 / 0.7026 GB, free: 1.668 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1097): time 0.02593/0.6118, allocations: 14.43 MB / 0.7167 GB, free: 3.41 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007633/0.6125, allocations: 2.594 MB / 0.7192 GB, free: 224 kB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006072/0.6186, allocations: 6.647 MB / 0.7257 GB, free: 10.82 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0006219/0.6192, allocations: 129.7 kB / 0.7258 GB, free: 10.69 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.6211, allocations: 3.109 MB / 0.7289 GB, free: 7.887 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.002112/0.6232, allocations: 3.751 MB / 0.7325 GB, free: 4.363 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/0.6254, allocations: 2.004 MB / 0.7345 GB, free: 2.594 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.6255, allocations: 301.1 kB / 0.7348 GB, free: 2.297 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.6284, allocations: 1.587 MB / 0.7363 GB, free: 0.6875 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/0.6332, allocations: 6.561 MB / 0.7427 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009983/0.6432, allocations: 8.618 MB / 0.7512 GB, free: 15.05 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.763e-05/0.6432, allocations: 28 kB / 0.7512 GB, free: 15.02 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.009851/0.6531, allocations: 6.674 MB / 0.7577 GB, free: 8.91 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.6531, allocations: 48 kB / 0.7577 GB, free: 8.863 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003289/0.6535, allocations: 327.7 kB / 0.7581 GB, free: 8.543 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02302/0.6765, allocations: 4.497 MB / 0.7624 GB, free: 4.055 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004781/0.6813, allocations: 2.103 MB / 0.7645 GB, free: 2.074 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/0.6873, allocations: 11.33 MB / 0.7756 GB, free: 6.164 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/0.6919, allocations: 368.3 kB / 0.7759 GB, free: 5.805 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006389/0.6925, allocations: 379.8 kB / 0.7763 GB, free: 5.434 MB / 0.6668 GB Warning: Assuming fixed start value for the following 5 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real headerOut.pipeFlow.h[1]:VARIABLE(start = headerOut.pipeFlow.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] headerIn.pipeFlow.h[1]:VARIABLE(start = headerIn.pipeFlow.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] headerIn.pipeFlow.p[1]:VARIABLE(min = 0.0 start = headerIn.pipeFlow.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004538/0.6971, allocations: 1.812 MB / 0.778 GB, free: 3.613 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.204/0.901, allocations: 6.538 MB / 0.7844 GB, free: 177.2 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01104/0.9121, allocations: 8.555 MB / 0.7928 GB, free: 173.3 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.564e-05/0.9121, allocations: 29.16 kB / 0.7928 GB, free: 173.3 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.009782/0.9219, allocations: 6.645 MB / 0.7993 GB, free: 173 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.9219, allocations: 47.66 kB / 0.7993 GB, free: 173 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003042/0.9222, allocations: 336.6 kB / 0.7997 GB, free: 173 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02142/0.9437, allocations: 4.065 MB / 0.8036 GB, free: 172.8 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/0.9483, allocations: 2.052 MB / 0.8056 GB, free: 172.8 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004269/0.9526, allocations: 9.532 MB / 0.8149 GB, free: 164.4 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005003/0.9576, allocations: 392.2 kB / 0.8153 GB, free: 164.3 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007595/0.9584, allocations: 375.8 kB / 0.8157 GB, free: 164.3 MB / 0.6668 GB Warning: Assuming fixed start value for the following 5 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real headerOut.pipeFlow.h[1]:VARIABLE(start = headerOut.pipeFlow.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] headerIn.pipeFlow.h[1]:VARIABLE(start = headerIn.pipeFlow.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] headerIn.pipeFlow.p[1]:VARIABLE(min = 0.0 start = headerIn.pipeFlow.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.PI.time_lag_I_activation.entryTime,$PRE.PI.switch_OnOff.u2,PI.I_activation.y,PI.time_lag_I_activation.entryTime,PI.switch_OnOff.u2,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1002): * Single equations (assignments): 904 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 88 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 6 * 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): 4 systems {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): 4 systems {(4,3,87.5%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (6,18)} Notification: Performance of prepare postOptimizeDAE: time 0.001577/0.9599, allocations: 0.7847 MB / 0.8164 GB, free: 164.2 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/0.9613, allocations: 0.6735 MB / 0.8171 GB, free: 164.2 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009127/0.9705, allocations: 7.897 MB / 0.8248 GB, free: 162.6 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-05/0.9705, allocations: 76.08 kB / 0.8249 GB, free: 162.6 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.9705, allocations: 6.625 kB / 0.8249 GB, free: 162.6 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003976/0.9745, allocations: 3.174 MB / 0.828 GB, free: 162 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.9872, allocations: 10.69 MB / 0.8384 GB, free: 160.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001858/0.9874, allocations: 206.5 kB / 0.8386 GB, free: 160.8 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/0.9905, allocations: 1.253 MB / 0.8399 GB, free: 160.7 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002222/0.9928, allocations: 1.774 MB / 0.8416 GB, free: 160.7 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02189/1.015, allocations: 4.42 MB / 0.8459 GB, free: 160.3 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005891/1.015, allocations: 176.9 kB / 0.8461 GB, free: 160.2 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004487/1.02, allocations: 11.95 MB / 0.8577 GB, free: 149 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.02, allocations: 14.75 kB / 0.8578 GB, free: 149 MB / 0.6668 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007458/1.027, allocations: 6.114 MB / 0.8637 GB, free: 145 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/1.028, allocations: 137.1 kB / 0.8639 GB, free: 144.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/1.03, allocations: 201.9 kB / 0.8641 GB, free: 144.8 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005899/1.031, allocations: 459.2 kB / 0.8645 GB, free: 144.4 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003279/1.031, allocations: 164.9 kB / 0.8647 GB, free: 144.3 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 0.002504/1.034, allocations: 3.288 MB / 0.8679 GB, free: 141.6 MB / 0.6668 GB Notification: Performance of sort global known variables: time 8e-08/1.034, allocations: 1.859 kB / 0.8679 GB, free: 141.6 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.008033/1.042, allocations: 4.262 MB / 0.872 GB, free: 137.8 MB / 0.6668 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 24 (PI.smoothPIDInput.y_aux,PI.smoothPIDOutput.y_aux,PI.smoothPIDOutput1.y_aux,PI.resetValueI,hex.tubes.h,hex.shell.h_liq,hex.shell.h_vap,hex.shell.volume_vap,hex.shell.p_vap,hex.wall.U[1],hex.wall.U[2],hex.wall.U[3],PI.resetValueP,PI.resetValueID,PI.I.y,headerOut.pipeFlow.h[1],headerOut.pipeWall.U[1],headerOut.pipeWall.U[2],headerOut.pipeWall.U[3],headerIn.pipeFlow.h[1],headerIn.pipeFlow.p[1],headerIn.pipeWall.U[1],headerIn.pipeWall.U[2],headerIn.pipeWall.U[3]) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,PI.switch_OnOff.u2,PI.time_lag_I_activation.entryTime,PI.I_activation.y) * Number of discrete states: 2 (PI.switch_OnOff.u2,PI.toPU.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (537): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 65 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 8 * 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): 3 systems {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): 5 systems {(4,3,87.5%), (1,5,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,3), (4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01004/1.052, allocations: 8.389 MB / 0.8802 GB, free: 130.7 MB / 0.6668 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/Basics/ControlVolumes/FluidVolumes/VolumeVLE_L3_TwoZonesNPort.mo:130:3-130:139:writable] Warning: Variable $DER.hex.shell.volume_vap has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01354/1.065, allocations: 14.77 MB / 0.8946 GB, free: 116.4 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 0.0001411/1.066, allocations: 120.6 kB / 0.8948 GB, free: 116.2 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 0.003276/1.069, allocations: 4.693 MB / 0.8993 GB, free: 111.4 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00606/1.075, allocations: 3.246 MB / 0.9025 GB, free: 108.9 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0414/1.116, allocations: 43.79 MB / 0.9453 GB, free: 67.23 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.118, allocations: 2.291 MB / 0.9475 GB, free: 64.9 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 0.005362/1.123, allocations: 2.3 MB / 0.9498 GB, free: 62.71 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007682/1.131, allocations: 6.834 MB / 0.9564 GB, free: 55.89 MB / 0.6668 GB Notification: Performance of SimCode: time 1.293e-06/1.131, allocations: 2.297 kB / 0.9564 GB, free: 55.89 MB / 0.6668 GB Notification: FMU-only work: backend 0.006753, simCode 0.02198, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5132/1.644, allocations: 297.8 MB / 1.247 GB, free: 7.031 MB / 0.6824 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 6.71/8.355, allocations: 13.17 kB / 1.247 GB, free: 7.02 MB / 0.6824 GB " [Timeout remaining time 791] (rm -f ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.pipe ; mkfifo ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.pipe >> ../files/ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_res.mat --stripRoot --tempDir=temp_ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmu --startTime=0 --stopTime=12000 --stepSize=4.8 --mode=me --timeout=240 --tolerance=1e-05 ../ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers.fmu) > ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches (rm -f ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-cvode.pipe ; mkfifo ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12000 --stepSize=4.8 --mode=cs --timeout=240 --tolerance=1e-05 ../ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-cvode.fmu) > ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches (rm -f ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-euler.pipe ; mkfifo ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-euler.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12000 --stepSize=4.8 --mode=cs --timeout=240 --tolerance=1e-05 ../ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-euler.fmu) > ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-euler timed out simulating the FMU (rm -f ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy.pipe ; mkfifo ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy_res.csv --output-variables PI.I.y PI.resetValueI PI.resetValueID PI.resetValueP PI.smoothPIDInput.y_aux PI.smoothPIDOutput.y_aux PI.smoothPIDOutput1.y_aux 'headerIn.pipeFlow.h[1]' 'headerIn.pipeFlow.p[1]' 'headerIn.pipeWall.U[1]' 'headerIn.pipeWall.U[2]' 'headerIn.pipeWall.U[3]' 'headerOut.pipeFlow.h[1]' 'headerOut.pipeWall.U[1]' 'headerOut.pipeWall.U[2]' 'headerOut.pipeWall.U[3]' hex.shell.h_liq hex.shell.h_vap hex.shell.p_vap hex.shell.volume_vap hex.tubes.h 'hex.wall.U[1]' 'hex.wall.U[2]' 'hex.wall.U[3]' --start-time 0 --stop-time 12000 --timeout 240 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 4.8 ../ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers.fmu) > ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches (rm -f ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy-fmi3-cs-cvode.pipe ; mkfifo ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy-fmi3-cs-cvode_res.csv --output-variables PI.I.y PI.resetValueI PI.resetValueID PI.resetValueP PI.smoothPIDInput.y_aux PI.smoothPIDOutput.y_aux PI.smoothPIDOutput1.y_aux 'headerIn.pipeFlow.h[1]' 'headerIn.pipeFlow.p[1]' 'headerIn.pipeWall.U[1]' 'headerIn.pipeWall.U[2]' 'headerIn.pipeWall.U[3]' 'headerOut.pipeFlow.h[1]' 'headerOut.pipeWall.U[1]' 'headerOut.pipeWall.U[2]' 'headerOut.pipeWall.U[3]' hex.shell.h_liq hex.shell.h_vap hex.shell.p_vap hex.shell.volume_vap hex.tubes.h 'hex.wall.U[1]' 'hex.wall.U[2]' 'hex.wall.U[3]' headerIn.pipeFlow.h headerIn.pipeFlow.p headerIn.pipeWall.U headerOut.pipeFlow.h headerOut.pipeWall.U hex.wall.U --start-time 0 --stop-time 12000 --timeout 240 --relative-tolerance 1e-05 --interface-type CoSimulation --output-interval 4.8 ../ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy-fmi3-cs-cvode.fmu) > ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 14.257174552418292]