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.001245/0.001245, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001415/0.001415, allocations: 219 kB / 22.26 MB, free: 5.125 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.953 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.1383/0.1383, allocations: 23.85 MB / 336.3 MB, free: 11.16 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.001909/0.001909, allocations: 63.91 kB / 471.2 MB, free: 7.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3068, allocations: 59.86 MB / 0.5186 GB, free: 9.602 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.04144/0.3483, allocations: 29.83 MB / 0.5477 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1908/0.5391, allocations: 150.5 MB / 0.6947 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.5409, allocations: 23.88 kB / 0.6947 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.5442, allocations: 1.08 MB / 0.6958 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.5472, allocations: 0.8727 MB / 0.6967 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003811/0.551, allocations: 1.396 MB / 0.698 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004138/0.5552, allocations: 2.282 MB / 0.7002 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.556, allocations: 427.5 kB / 0.7007 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.5571, allocations: 0.7862 MB / 0.7014 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.5584, allocations: 0.9492 MB / 0.7023 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.5587, allocations: 212 kB / 0.7025 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00438/0.5631, allocations: 1.751 MB / 0.7043 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007827/0.5639, allocations: 0.6619 MB / 0.7049 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.5653, allocations: 1.232 MB / 0.7061 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008248/0.5735, allocations: 4.254 MB / 0.7103 GB, free: 5.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5735, allocations: 0 / 0.7103 GB, free: 5.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5735, allocations: 4 kB / 0.7103 GB, free: 5.207 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.213e-05/0.5736, allocations: 3.938 kB / 0.7103 GB, free: 5.203 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.005053/0.5787, allocations: 2.685 MB / 0.7129 GB, free: 2.473 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5787, allocations: 8.031 kB / 0.7129 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004149/0.5791, allocations: 317.8 kB / 0.7132 GB, free: 2.145 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.5804, allocations: 466.8 kB / 0.7136 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.5823, allocations: 1.154 MB / 0.7148 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.5827, allocations: 363.2 kB / 0.7151 GB, free: 116 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.583, allocations: 196.4 kB / 0.7153 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.593, allocations: 8.356 MB / 0.7235 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.5931, allocations: 0 / 0.7235 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.5932, allocations: 83.97 kB / 0.7235 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000383/0.5936, allocations: 336.6 kB / 0.7239 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.235/0.8286, allocations: 13.9 MB / 0.7374 GB, free: 188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.854, allocations: 20.51 MB / 0.7575 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/0.8581, allocations: 3.799 MB / 0.7612 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/0.8605, allocations: 2.639 MB / 0.7638 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001713/0.8623, allocations: 0.6657 MB / 0.7644 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.8623, allocations: 46.77 kB / 0.7645 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.314e-06/0.8623, allocations: 3.562 kB / 0.7645 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.02684/0.8891, allocations: 14.98 MB / 0.7791 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003355/0.8925, allocations: 3.276 MB / 0.7823 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.8955, allocations: 3.189 MB / 0.7854 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002942/0.8958, allocations: 45.64 kB / 0.7854 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005965/0.8964, allocations: 1.042 MB / 0.7865 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.8967, allocations: 368.2 kB / 0.7868 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006963/0.8974, allocations: 385.4 kB / 0.7872 GB, free: 152 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.8975, allocations: 341.9 kB / 0.7875 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002897/0.9004, allocations: 3.264 MB / 0.7907 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002958/0.9033, allocations: 3.484 MB / 0.7941 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0271/0.9304, allocations: 10.33 MB / 0.8042 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9304, allocations: 4 kB / 0.8042 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.007978/0.9384, allocations: 6.688 MB / 0.8107 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.9384, allocations: 4 kB / 0.8107 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.9384, allocations: 8 kB / 0.8107 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006625/0.9391, allocations: 447.7 kB / 0.8112 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008184/0.9473, allocations: 1.068 MB / 0.8122 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.9536, allocations: 8.438 MB / 0.8204 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.9558, allocations: 50.62 kB / 0.8205 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/0.9562, allocations: 279.9 kB / 0.8208 GB, free: 117.2 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.001398/0.9576, allocations: 0.6318 MB / 0.8214 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005593/0.9582, allocations: 272.6 kB / 0.8216 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/0.9641, allocations: 3.224 MB / 0.8248 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.9641, allocations: 8 kB / 0.8248 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.9641, allocations: 4 kB / 0.8248 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.9641, allocations: 6.672 kB / 0.8248 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006946/0.9711, allocations: 5.909 MB / 0.8306 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.9711, allocations: 6.625 kB / 0.8306 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00566/0.9767, allocations: 483.3 kB / 0.831 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.9778, allocations: 222.6 kB / 0.8313 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/0.9778, allocations: 27.98 kB / 0.8313 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005429/0.9833, allocations: 6.504 MB / 0.8376 GB, free: 99.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002182/0.9854, allocations: 1.896 MB / 0.8395 GB, free: 97.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/0.9894, allocations: 2.212 MB / 0.8416 GB, free: 95.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007839/0.9902, allocations: 368.8 kB / 0.842 GB, free: 94.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004403/0.9906, allocations: 31.89 kB / 0.842 GB, free: 94.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/0.9915, allocations: 31.97 kB / 0.8421 GB, free: 94.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.9917, allocations: 103 kB / 0.8422 GB, free: 94.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.9917, allocations: 31.98 kB / 0.8422 GB, free: 94.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003896/0.9956, allocations: 4.007 MB / 0.8461 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9956, allocations: 0 / 0.8461 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002297/0.9979, allocations: 0.6973 MB / 0.8468 GB, free: 89.77 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.004475/1.002, allocations: 3.05 MB / 0.8498 GB, free: 86.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00645/1.009, allocations: 3.977 MB / 0.8536 GB, free: 82.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.009, allocations: 2.688 kB / 0.8536 GB, free: 82.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003546/1.012, allocations: 1.08 MB / 0.8547 GB, free: 81.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.015, allocations: 0.6537 MB / 0.8553 GB, free: 80.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04522/1.061, allocations: 43.09 MB / 0.8974 GB, free: 37.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009516/1.061, allocations: 1.669 MB / 0.899 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001714/1.063, allocations: 0.5503 MB / 0.8996 GB, free: 35.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.065, allocations: 1.058 MB / 0.9006 GB, free: 34.21 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/1.065, allocations: 0 / 0.9006 GB, free: 34.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3596/1.424, allocations: 86.84 MB / 0.9854 GB, free: 186.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.09/19.51, allocations: 0 / 0.9854 GB, free: 186.1 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: 22.27983948700421] Failed to read output from testmodel.py, exit status != 0: 19.667189264000626 19.67625381 19.10054535 Calling exit ...