Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST_2.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.001444/0.001444, allocations: 103 kB / 16.45 MB, free: 6.449 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.001471/0.001471, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.539/1.539, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1705/0.1705, allocations: 23.85 MB / 332.7 MB, free: 12.37 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.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) Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 466 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4291, allocations: 59.81 MB / 0.5135 GB, free: 8.848 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST_2): time 0.04637/0.4754, allocations: 29.65 MB / 0.5424 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2086/0.6841, allocations: 150.5 MB / 0.6894 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.6864, allocations: 23.88 kB / 0.6894 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003706/0.6901, allocations: 1.088 MB / 0.6905 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.6937, allocations: 0.8921 MB / 0.6914 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.6977, allocations: 1.412 MB / 0.6927 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004806/0.7025, allocations: 2.295 MB / 0.695 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009586/0.7035, allocations: 495 kB / 0.6955 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.7048, allocations: 0.7863 MB / 0.6962 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.7059, allocations: 0.9453 MB / 0.6971 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.7061, allocations: 216 kB / 0.6973 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004859/0.711, allocations: 1.755 MB / 0.6991 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.7117, allocations: 0.6619 MB / 0.6997 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.7131, allocations: 1.216 MB / 0.7009 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008404/0.7215, allocations: 4.262 MB / 0.7051 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7215, allocations: 0 / 0.7051 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7215, allocations: 4 kB / 0.7051 GB, free: 6.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.064e-05/0.7215, allocations: 0 / 0.7051 GB, free: 6.539 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.005207/0.7267, allocations: 2.753 MB / 0.7078 GB, free: 3.723 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.7268, allocations: 16.03 kB / 0.7078 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004352/0.7272, allocations: 317.8 kB / 0.7081 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.7285, allocations: 462.8 kB / 0.7085 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.7305, allocations: 1.215 MB / 0.7097 GB, free: 1.664 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/0.7309, allocations: 303.9 kB / 0.71 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.7312, allocations: 196.3 kB / 0.7102 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.7418, allocations: 8.001 MB / 0.718 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.7418, allocations: 0 / 0.718 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.742, allocations: 83.98 kB / 0.7181 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004371/0.7424, allocations: 340.5 kB / 0.7184 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2885/1.031, allocations: 13.32 MB / 0.7314 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/1.06, allocations: 20.17 MB / 0.7511 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004751/1.065, allocations: 3.748 MB / 0.7548 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/1.068, allocations: 2.602 MB / 0.7573 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/1.071, allocations: 1.629 MB / 0.7589 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/1.071, allocations: 41.38 kB / 0.7589 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.266e-06/1.071, allocations: 0 / 0.7589 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03114/1.102, allocations: 15.1 MB / 0.7737 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003726/1.105, allocations: 3.322 MB / 0.7769 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/1.109, allocations: 3.185 MB / 0.78 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005697/1.109, allocations: 41.7 kB / 0.7801 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006777/1.11, allocations: 1.047 MB / 0.7811 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/1.111, allocations: 363.9 kB / 0.7814 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008218/1.111, allocations: 378.8 kB / 0.7818 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.386e-05/1.111, allocations: 345.7 kB / 0.7821 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/1.115, allocations: 3.204 MB / 0.7853 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003215/1.118, allocations: 3.415 MB / 0.7886 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03123/1.149, allocations: 10.27 MB / 0.7986 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/1.149, allocations: 4 kB / 0.7986 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008962/1.158, allocations: 6.581 MB / 0.805 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.158, allocations: 10.62 kB / 0.8051 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.158, allocations: 7.984 kB / 0.8051 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007619/1.159, allocations: 439.6 kB / 0.8055 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00906/1.168, allocations: 1.062 MB / 0.8065 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006818/1.175, allocations: 8.648 MB / 0.815 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.176, allocations: 39.98 kB / 0.815 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/1.177, allocations: 279.9 kB / 0.8153 GB, free: 119.7 MB / 0.5606 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001299/1.178, allocations: 0.629 MB / 0.8159 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006178/1.179, allocations: 274.2 kB / 0.8161 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006557/1.185, allocations: 3.213 MB / 0.8193 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.185, allocations: 8 kB / 0.8193 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.185, allocations: 0 / 0.8193 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.185, allocations: 3.984 kB / 0.8193 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007922/1.193, allocations: 5.865 MB / 0.825 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.193, allocations: 4 kB / 0.825 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005559/1.199, allocations: 486.1 kB / 0.8255 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/1.2, allocations: 219.9 kB / 0.8257 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.498e-05/1.2, allocations: 30.64 kB / 0.8257 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005576/1.206, allocations: 6.909 MB / 0.8325 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002317/1.208, allocations: 1.993 MB / 0.8344 GB, free: 99.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00431/1.212, allocations: 2.185 MB / 0.8366 GB, free: 96.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008671/1.213, allocations: 447.2 kB / 0.837 GB, free: 96.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004857/1.214, allocations: 30.61 kB / 0.837 GB, free: 96.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008845/1.214, allocations: 27.98 kB / 0.837 GB, free: 96.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/1.215, allocations: 101.9 kB / 0.8371 GB, free: 96.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/1.215, allocations: 27.98 kB / 0.8372 GB, free: 96.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004039/1.219, allocations: 4.008 MB / 0.8411 GB, free: 92.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.219, allocations: 0 / 0.8411 GB, free: 92.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00239/1.221, allocations: 0.6987 MB / 0.8418 GB, free: 91.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 2 ($cse18,$cse11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004738/1.226, allocations: 3.023 MB / 0.8447 GB, free: 88.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006614/1.232, allocations: 3.904 MB / 0.8485 GB, free: 84.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.232, allocations: 4 kB / 0.8485 GB, free: 84.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00359/1.236, allocations: 1.064 MB / 0.8496 GB, free: 83.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/1.239, allocations: 0.6582 MB / 0.8502 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04617/1.285, allocations: 42.56 MB / 0.8918 GB, free: 39.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.286, allocations: 1.669 MB / 0.8934 GB, free: 38.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00161/1.288, allocations: 0.5517 MB / 0.8939 GB, free: 37.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.289, allocations: 1.058 MB / 0.895 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.289, allocations: 0 / 0.895 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5027/1.792, allocations: 86.03 MB / 0.979 GB, free: 191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.56/20.35, allocations: 7.875 kB / 0.979 GB, free: 190.9 MB / 0.5762 GB " [Timeout remaining time 640] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST_2.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Examples.GasSolubility_NIST_2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_Chemical_Examples_GasSolubility_NIST_2.fmu > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.47095106600318] Failed to read output from testmodel.py, exit status != 0: 20.490944758988917 20.499540671 19.775889128 Calling exit ...