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.006307/0.006307, allocations: 1.336 MB / 11.14 MB, free: 3.02 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.00774, allocations: 0.8268 MB / 11.97 MB, free: 2.188 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.08355/0.08355, allocations: 18.23 MB / 30.94 MB, free: 4.898 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01479/0.09834, allocations: 7.689 MB / 38.63 MB, free: 8.223 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.0006413/0.0006413, allocations: 80.02 kB / 39.44 MB, free: 7.414 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009952/0.001636, allocations: 443.5 kB / 39.87 MB, free: 6.988 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.0007085/0.0007085, allocations: 153.3 kB / 40.76 MB, free: 6.105 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000938/0.001647, allocations: 477.7 kB / 41.22 MB, free: 5.637 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 1.054/1.054, allocations: 177.2 MB / 219.1 MB, free: 11.39 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.159, allocations: 53.65 MB / 272.8 MB, free: 5.746 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.76/0.76, allocations: 102.4 MB / 376 MB, free: 8.922 MB / 362.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0591/0.8191, allocations: 28.57 MB / 404.5 MB, free: 12.47 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.683e-06/1.683e-06, allocations: 0 / 406.3 MB, free: 10.66 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.58e-05, allocations: 2.312 kB / 406.3 MB, free: 10.66 MB / 394.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers): time 0.0309/0.03092, allocations: 37.71 MB / 444 MB, free: 4.812 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.04803/0.07895, allocations: 32.45 MB / 476.5 MB, free: 4.266 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009507/0.08846, allocations: 226.4 kB / 476.7 MB, free: 4.043 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008516/0.09697, allocations: 4.414 MB / 481.1 MB, free: 15.6 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01507/0.112, allocations: 7.512 MB / 488.6 MB, free: 8.047 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01264/0.1247, allocations: 7.002 MB / 495.6 MB, free: 1.031 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.02247/0.1472, allocations: 21.07 MB / 0.5046 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009224/0.1564, allocations: 6.27 MB / 0.5107 GB, free: 5.508 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4207/0.5771, allocations: 58.85 MB / 0.5682 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01224/0.5893, allocations: 7.251 MB / 0.5753 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003987/0.5933, allocations: 1.265 MB / 0.5765 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008294/0.6016, allocations: 3.262 MB / 0.5797 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003747/0.6053, allocations: 3.763 MB / 0.5834 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004375/0.6097, allocations: 3.414 MB / 0.5867 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.6222, allocations: 11.63 MB / 0.5981 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.286e-05/0.6222, allocations: 1.422 kB / 0.5981 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6222, allocations: 0 / 0.5981 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002401/0.6225, allocations: 0 / 0.5981 GB, free: 16.71 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.01382/0.6363, allocations: 14.4 MB / 0.6121 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6363, allocations: 8.031 kB / 0.6121 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008996/0.6372, allocations: 1.121 MB / 0.6132 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.6393, allocations: 1.384 MB / 0.6146 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006774/0.6461, allocations: 5.374 MB / 0.6198 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.6463, allocations: 465.8 kB / 0.6203 GB, free: 248 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008395/0.6471, allocations: 0.6413 MB / 0.6209 GB, free: 15.8 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.6608, allocations: 12.97 MB / 0.6336 GB, free: 2.098 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.6609, allocations: 63.52 kB / 0.6336 GB, free: 2.07 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005519/0.6614, allocations: 306.7 kB / 0.6339 GB, free: 1.973 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005251/0.662, allocations: 0.7199 MB / 0.6346 GB, free: 1.352 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00956/0.6715, allocations: 5.528 MB / 0.64 GB, free: 12.35 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.04155/0.7131, allocations: 50.13 MB / 0.689 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009654/0.7227, allocations: 5.922 MB / 0.6948 GB, free: 9.406 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.7247, allocations: 1.349 MB / 0.6961 GB, free: 8.098 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.7259, allocations: 0.7369 MB / 0.6968 GB, free: 7.406 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007182/0.7331, allocations: 4.853 MB / 0.7015 GB, free: 2.703 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003372/0.7365, allocations: 1.2 MB / 0.7027 GB, free: 1.5 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1095): time 1.977e-05/0.7365, allocations: 0 / 0.7027 GB, free: 1.5 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1097): time 0.02676/0.7633, allocations: 14.43 MB / 0.7168 GB, free: 3.246 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004146/0.7637, allocations: 0.9962 MB / 0.7178 GB, free: 2.039 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006042/0.7697, allocations: 6.649 MB / 0.7243 GB, free: 12.64 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0004136/0.7701, allocations: 129.7 kB / 0.7244 GB, free: 12.51 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.772, allocations: 3.11 MB / 0.7274 GB, free: 9.703 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.001986/0.774, allocations: 3.75 MB / 0.7311 GB, free: 6.18 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002077/0.776, allocations: 1.998 MB / 0.733 GB, free: 4.418 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.7761, allocations: 305.1 kB / 0.7333 GB, free: 4.117 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002803/0.7789, allocations: 1.591 MB / 0.7349 GB, free: 2.504 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/0.7837, allocations: 6.562 MB / 0.7413 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.7937, allocations: 8.615 MB / 0.7497 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.027e-05/0.7938, allocations: 28 kB / 0.7497 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.01053/0.8043, allocations: 6.676 MB / 0.7562 GB, free: 10.73 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/0.8044, allocations: 51.98 kB / 0.7563 GB, free: 10.68 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003182/0.8047, allocations: 323.7 kB / 0.7566 GB, free: 10.36 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0207/0.8254, allocations: 4.502 MB / 0.761 GB, free: 5.883 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/0.8298, allocations: 2.109 MB / 0.7631 GB, free: 3.895 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006383/0.8361, allocations: 11.33 MB / 0.7741 GB, free: 7.984 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00483/0.841, allocations: 376.3 kB / 0.7745 GB, free: 7.617 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006575/0.8416, allocations: 379.8 kB / 0.7748 GB, free: 7.246 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.004583/0.8462, allocations: 1.805 MB / 0.7766 GB, free: 5.43 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.289/1.135, allocations: 6.538 MB / 0.783 GB, free: 177 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01296/1.148, allocations: 8.556 MB / 0.7913 GB, free: 173.1 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.212e-05/1.148, allocations: 30.19 kB / 0.7914 GB, free: 173.1 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.01079/1.159, allocations: 6.649 MB / 0.7979 GB, free: 172.8 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/1.159, allocations: 51.72 kB / 0.7979 GB, free: 172.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003157/1.159, allocations: 327.7 kB / 0.7982 GB, free: 172.8 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01985/1.179, allocations: 4.076 MB / 0.8022 GB, free: 172.6 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004549/1.184, allocations: 2.053 MB / 0.8042 GB, free: 172.6 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004795/1.189, allocations: 9.544 MB / 0.8135 GB, free: 164.2 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005949/1.195, allocations: 386.7 kB / 0.8139 GB, free: 164.2 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006837/1.195, allocations: 374.9 kB / 0.8143 GB, free: 164.2 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.001743/1.197, allocations: 0.7752 MB / 0.815 GB, free: 164 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/1.198, allocations: 0.6728 MB / 0.8157 GB, free: 164 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.209, allocations: 7.9 MB / 0.8234 GB, free: 162.4 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/1.209, allocations: 76.72 kB / 0.8235 GB, free: 162.4 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/1.209, allocations: 7.219 kB / 0.8235 GB, free: 162.4 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004156/1.213, allocations: 3.183 MB / 0.8266 GB, free: 161.8 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.228, allocations: 10.68 MB / 0.837 GB, free: 160.6 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002181/1.228, allocations: 209.1 kB / 0.8372 GB, free: 160.6 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003162/1.231, allocations: 1.258 MB / 0.8384 GB, free: 160.5 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003331/1.234, allocations: 1.775 MB / 0.8402 GB, free: 160.5 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02035/1.255, allocations: 4.444 MB / 0.8445 GB, free: 160.1 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009362/1.256, allocations: 171 kB / 0.8447 GB, free: 160.1 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005001/1.261, allocations: 11.95 MB / 0.8563 GB, free: 148.8 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.892e-05/1.261, allocations: 12.81 kB / 0.8563 GB, free: 148.8 MB / 0.6668 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008911/1.27, allocations: 6.125 MB / 0.8623 GB, free: 144.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/1.271, allocations: 131.5 kB / 0.8625 GB, free: 144.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/1.273, allocations: 205.7 kB / 0.8627 GB, free: 144.8 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006476/1.274, allocations: 460.2 kB / 0.8631 GB, free: 144.4 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003577/1.274, allocations: 163.2 kB / 0.8632 GB, free: 144.3 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 0.002924/1.277, allocations: 3.289 MB / 0.8665 GB, free: 141.6 MB / 0.6668 GB Notification: Performance of sort global known variables: time 3e-08/1.277, allocations: 0 / 0.8665 GB, free: 141.6 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.009092/1.286, allocations: 4.261 MB / 0.8706 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.01078/1.297, allocations: 8.416 MB / 0.8788 GB, free: 130.6 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.01561/1.313, allocations: 14.76 MB / 0.8933 GB, free: 116.3 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 0.0002189/1.313, allocations: 124.6 kB / 0.8934 GB, free: 116.2 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/1.317, allocations: 4.695 MB / 0.898 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.008841/1.326, allocations: 3.24 MB / 0.9011 GB, free: 108.8 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06507/1.391, allocations: 43.65 MB / 0.9438 GB, free: 67.31 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/1.393, allocations: 2.296 MB / 0.946 GB, free: 64.98 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 0.006509/1.399, allocations: 2.301 MB / 0.9482 GB, free: 62.79 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008244/1.407, allocations: 6.826 MB / 0.9549 GB, free: 55.97 MB / 0.6668 GB Notification: Performance of SimCode: time 2.184e-06/1.407, allocations: 3.844 kB / 0.9549 GB, free: 55.97 MB / 0.6668 GB Notification: FMU-only work: backend 0.007101, simCode 0.02617, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6107/2.018, allocations: 305.6 MB / 1.253 GB, free: 30.41 MB / 0.698 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 7.31/9.328, allocations: 15.42 kB / 1.253 GB, free: 30.39 MB / 0.698 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: 15.250882481224835]