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.001217/0.001217, allocations: 113 kB / 18.94 MB, free: 2.934 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.001342/0.001342, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 8.012 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.1362/0.1362, allocations: 23.89 MB / 336.3 MB, free: 11.14 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.001889/0.001889, allocations: 71.89 kB / 471.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3105, allocations: 59.87 MB / 0.5186 GB, free: 9.543 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1816:5-1816: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:1816:5-1816: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:1697:7-1697: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:1697:7-1697: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.04364/0.3541, allocations: 29.83 MB / 0.5478 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5336, allocations: 150.6 MB / 0.6948 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.5352, allocations: 35.81 kB / 0.6948 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.5383, allocations: 1.014 MB / 0.6958 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.5415, allocations: 0.9115 MB / 0.6967 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.5451, allocations: 1.392 MB / 0.6981 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.5489, allocations: 2.279 MB / 0.7003 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000737/0.5497, allocations: 427.5 kB / 0.7007 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.5508, allocations: 0.8214 MB / 0.7015 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.5523, allocations: 1.101 MB / 0.7026 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.5526, allocations: 204 kB / 0.7028 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.5561, allocations: 1.658 MB / 0.7044 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005092/0.5566, allocations: 0.6112 MB / 0.705 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.5577, allocations: 1.181 MB / 0.7062 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005389/0.5631, allocations: 4.103 MB / 0.7102 GB, free: 5.371 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.5631, allocations: 0 / 0.7102 GB, free: 5.371 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.446e-06/0.5631, allocations: 0 / 0.7102 GB, free: 5.371 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.689e-05/0.5631, allocations: 0 / 0.7102 GB, free: 5.371 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.005082/0.5682, allocations: 2.631 MB / 0.7127 GB, free: 2.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.5683, allocations: 12.03 kB / 0.7127 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003855/0.5687, allocations: 317.8 kB / 0.713 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009736/0.5696, allocations: 422.9 kB / 0.7134 GB, free: 1.949 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.5714, allocations: 0.9501 MB / 0.7144 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.5716, allocations: 271.3 kB / 0.7146 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.5719, allocations: 196.3 kB / 0.7148 GB, free: 488 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007755/0.5797, allocations: 6.946 MB / 0.7216 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.5797, allocations: 0 / 0.7216 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.5798, allocations: 83.97 kB / 0.7217 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003401/0.5802, allocations: 328.6 kB / 0.722 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2385/0.8187, allocations: 12.16 MB / 0.7339 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.8394, allocations: 13.11 MB / 0.7467 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.8421, allocations: 1.775 MB / 0.7484 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.8438, allocations: 1.128 MB / 0.7495 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0121/0.8559, allocations: 6.909 MB / 0.7563 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.8559, allocations: 45.28 kB / 0.7563 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 3.256e-06/0.8559, allocations: 0 / 0.7563 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.01802/0.8739, allocations: 8.271 MB / 0.7644 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.8739, allocations: 66.72 kB / 0.7644 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.8764, allocations: 2.286 MB / 0.7667 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.8765, allocations: 43.05 kB / 0.7667 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005807/0.8771, allocations: 1.135 MB / 0.7678 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.8774, allocations: 349.8 kB / 0.7682 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000486/0.8779, allocations: 346.7 kB / 0.7685 GB, free: 171 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.8779, allocations: 348.8 kB / 0.7688 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.8793, allocations: 1.222 MB / 0.77 GB, free: 170 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.8808, allocations: 1.631 MB / 0.7716 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.8838, allocations: 2.962 MB / 0.7745 GB, free: 165 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.8838, allocations: 8.844 kB / 0.7745 GB, free: 165 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004779/0.8886, allocations: 3.404 MB / 0.7778 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.8886, allocations: 12 kB / 0.7778 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.8886, allocations: 17.5 kB / 0.7779 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004817/0.8891, allocations: 198.3 kB / 0.7781 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007253/0.8963, allocations: 0.7478 MB / 0.7788 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.9005, allocations: 5.73 MB / 0.7844 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.9021, allocations: 43.98 kB / 0.7844 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.9024, allocations: 223.9 kB / 0.7846 GB, free: 154.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (145): * Single equations (assignments): 141 * 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.001124/0.9035, allocations: 0.6488 MB / 0.7853 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/0.9039, allocations: 222.5 kB / 0.7855 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004584/0.9085, allocations: 2.517 MB / 0.7879 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.9085, allocations: 8 kB / 0.7879 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9085, allocations: 7.938 kB / 0.788 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.9085, allocations: 10.59 kB / 0.788 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005555/0.914, allocations: 3.749 MB / 0.7916 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.914, allocations: 6.656 kB / 0.7916 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006465/0.9205, allocations: 491.4 kB / 0.7921 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/0.9209, allocations: 164 kB / 0.7923 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.217e-05/0.921, allocations: 27.98 kB / 0.7923 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/0.925, allocations: 5.761 MB / 0.7979 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.925, allocations: 11.92 kB / 0.7979 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.9282, allocations: 1.65 MB / 0.7995 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/0.9288, allocations: 261.1 kB / 0.7998 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.9292, allocations: 26.89 kB / 0.7998 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.9299, allocations: 30.58 kB / 0.7998 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.9301, allocations: 72.47 kB / 0.7999 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.9301, allocations: 30.64 kB / 0.7999 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002633/0.9328, allocations: 2.599 MB / 0.8025 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9328, allocations: 0 / 0.8025 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001729/0.9345, allocations: 0.5347 MB / 0.803 GB, free: 134.9 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.00345/0.938, allocations: 2.492 MB / 0.8054 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005271/0.9432, allocations: 2.132 MB / 0.8075 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.9432, allocations: 0 / 0.8075 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003437/0.9467, allocations: 0.9016 MB / 0.8084 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.9493, allocations: 0.5388 MB / 0.8089 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02732/0.9767, allocations: 22.87 MB / 0.8313 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.9777, allocations: 1.655 MB / 0.8329 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001733/0.9794, allocations: 0.5772 MB / 0.8334 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.9807, allocations: 1.013 MB / 0.8344 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/0.9807, allocations: 0 / 0.8344 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/1.084, allocations: 62.85 MB / 0.8958 GB, free: 40.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.4/22.48, allocations: 2.656 kB / 0.8958 GB, free: 40.13 MB / 0.5606 GB " [Timeout remaining time 637] (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: 25.128133598002023] Failed to read output from testmodel.py, exit status != 0: 22.639890944999934 22.657725513 22.091175276 Calling exit ...