Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001745/0.001745, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002455/0.002455, allocations: 208 kB / 22.24 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1571/0.1571, allocations: 23.99 MB / 336.4 MB, free: 10.84 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_master_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.002426/0.002426, allocations: 71.91 kB / 471.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4221, allocations: 59.89 MB / 0.5187 GB, free: 9.52 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1841:5-1841: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 master/Interfaces.mo:1841:5-1841: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 master/Interfaces.mo:1730:7-1730: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 master/Interfaces.mo:1730:7-1730: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.08134/0.5035, allocations: 28.86 MB / 0.5469 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1857/0.6892, allocations: 129.1 MB / 0.673 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/0.6924, allocations: 35.81 kB / 0.673 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.6964, allocations: 0.9398 MB / 0.6739 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004508/0.701, allocations: 0.9193 MB / 0.6748 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00502/0.706, allocations: 1.404 MB / 0.6762 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005301/0.7113, allocations: 2.299 MB / 0.6784 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009252/0.7122, allocations: 419.6 kB / 0.6788 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.7138, allocations: 0.8369 MB / 0.6797 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.7159, allocations: 0.9841 MB / 0.6806 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006117/0.7165, allocations: 204 kB / 0.6808 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.7201, allocations: 1.123 MB / 0.6819 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008249/0.721, allocations: 0.6189 MB / 0.6825 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.7228, allocations: 0.8895 MB / 0.6834 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009563/0.7323, allocations: 4.001 MB / 0.6873 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.7323, allocations: 0 / 0.6873 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.386e-06/0.7323, allocations: 4 kB / 0.6873 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001709/0.7325, allocations: 0 / 0.6873 GB, free: 12.55 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 622 * Number of variables: 622 Notification: Performance of Generate backend data structure: time 0.006151/0.7387, allocations: 2.654 MB / 0.6899 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.7387, allocations: 8.031 kB / 0.6899 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004021/0.7391, allocations: 326 kB / 0.6902 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.7407, allocations: 0.4988 MB / 0.6907 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.7424, allocations: 0.9657 MB / 0.6916 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.7427, allocations: 275.3 kB / 0.6919 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002857/0.743, allocations: 200.2 kB / 0.6921 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009255/0.7523, allocations: 7.221 MB / 0.6991 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.7523, allocations: 7.938 kB / 0.6991 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.7525, allocations: 87.98 kB / 0.6992 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003811/0.7528, allocations: 324.7 kB / 0.6995 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.768, allocations: 12.91 MB / 0.7121 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.7901, allocations: 12.99 MB / 0.7248 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/0.7935, allocations: 1.85 MB / 0.7266 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/0.7955, allocations: 1.214 MB / 0.7278 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3121/1.108, allocations: 6.598 MB / 0.7343 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/1.108, allocations: 48.09 kB / 0.7343 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.976e-06/1.108, allocations: 0.9688 kB / 0.7343 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.02166/1.129, allocations: 8.683 MB / 0.7428 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/1.129, allocations: 62.03 kB / 0.7429 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003606/1.133, allocations: 2.328 MB / 0.7451 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/1.133, allocations: 45.64 kB / 0.7452 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/1.134, allocations: 1.148 MB / 0.7463 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/1.135, allocations: 340 kB / 0.7466 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007127/1.135, allocations: 369.4 kB / 0.747 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.135, allocations: 358.2 kB / 0.7473 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/1.138, allocations: 1.297 MB / 0.7486 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/1.14, allocations: 1.735 MB / 0.7503 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/1.145, allocations: 3.137 MB / 0.7533 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/1.145, allocations: 4.625 kB / 0.7533 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00713/1.152, allocations: 3.583 MB / 0.7568 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/1.152, allocations: 11 kB / 0.7568 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/1.152, allocations: 15.09 kB / 0.7569 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/1.152, allocations: 193.4 kB / 0.757 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007756/1.16, allocations: 0.8748 MB / 0.7579 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/1.165, allocations: 5.681 MB / 0.7634 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.166, allocations: 73.25 kB / 0.7635 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000487/1.167, allocations: 236 kB / 0.7637 GB, free: 170.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 2 (CO2_g_25.substanceDefinitionVar.SelfClustering,CO2_g_25.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 146 * 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,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001521/1.168, allocations: 0.6551 MB / 0.7644 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006951/1.169, allocations: 225.3 kB / 0.7646 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005671/1.175, allocations: 2.633 MB / 0.7672 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/1.175, allocations: 11.5 kB / 0.7672 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.175, allocations: 0 / 0.7672 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/1.175, allocations: 3.984 kB / 0.7672 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006831/1.182, allocations: 3.364 MB / 0.7705 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.182, allocations: 3.625 kB / 0.7705 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006662/1.188, allocations: 0.6005 MB / 0.7711 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/1.189, allocations: 161.1 kB / 0.7712 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-05/1.189, allocations: 25.8 kB / 0.7712 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/1.193, allocations: 5.717 MB / 0.7768 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.193, allocations: 10.66 kB / 0.7768 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/1.196, allocations: 1.78 MB / 0.7786 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000856/1.197, allocations: 258.5 kB / 0.7788 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007186/1.198, allocations: 25.39 kB / 0.7788 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.199, allocations: 42.62 kB / 0.7789 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.199, allocations: 76.41 kB / 0.779 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/1.2, allocations: 31.97 kB / 0.779 GB, free: 158 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003427/1.203, allocations: 2.674 MB / 0.7816 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.203, allocations: 0 / 0.7816 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002168/1.205, allocations: 0.5355 MB / 0.7821 GB, free: 154.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (CO2_dissolutionP.rear.n_flow,CO2_25.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * 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,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004406/1.21, allocations: 2.629 MB / 0.7847 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005819/1.215, allocations: 2.257 MB / 0.7869 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.215, allocations: 4 kB / 0.7869 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003378/1.219, allocations: 0.9379 MB / 0.7878 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/1.222, allocations: 0.542 MB / 0.7883 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03769/1.259, allocations: 23.55 MB / 0.8113 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/1.261, allocations: 1.091 MB / 0.8124 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002072/1.263, allocations: 0.588 MB / 0.813 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/1.264, allocations: 1.052 MB / 0.814 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.824e-06/1.264, allocations: 3.938 kB / 0.814 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/1.411, allocations: 67.81 MB / 0.8802 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/18.02, allocations: 7.281 kB / 0.8802 GB, free: 55.04 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_master_Chemical.Examples.GasSolubility_NIST_2.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Examples_GasSolubility_NIST_2.fmu > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.037010516040027] Failed to read output from testmodel.py, exit status != 0: 18.186390463262796 18.19630346 17.461268904 Calling exit ...