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.001702/0.001702, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.002246/0.002246, allocations: 221.6 kB / 22.25 MB, free: 5.098 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.824 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.1628/0.1628, allocations: 23.93 MB / 336.4 MB, free: 10.96 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.001997/0.001997, allocations: 67.88 kB / 471.2 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3622, allocations: 59.88 MB / 0.5186 GB, free: 9.703 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.07529/0.4375, allocations: 28.64 MB / 0.5466 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1788/0.6163, allocations: 128.8 MB / 0.6724 GB, free: 12.11 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.6193, allocations: 39.75 kB / 0.6724 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.003779/0.623, allocations: 0.9399 MB / 0.6733 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.6273, allocations: 0.9038 MB / 0.6742 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.6316, allocations: 1.326 MB / 0.6755 GB, free: 8.883 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.004674/0.6363, allocations: 2.287 MB / 0.6778 GB, free: 6.59 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.6372, allocations: 427.5 kB / 0.6782 GB, free: 6.129 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.6386, allocations: 0.8253 MB / 0.679 GB, free: 5.301 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.6404, allocations: 1.09 MB / 0.68 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0003654/0.6407, allocations: 204 kB / 0.6802 GB, free: 4.008 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.6442, allocations: 1.092 MB / 0.6813 GB, free: 2.914 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0006666/0.6449, allocations: 0.615 MB / 0.6819 GB, free: 2.297 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.6461, allocations: 0.8778 MB / 0.6828 GB, free: 1.414 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.006714/0.6528, allocations: 3.935 MB / 0.6866 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6528, allocations: 0 / 0.6866 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6528, allocations: 4 kB / 0.6866 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.158e-05/0.6529, allocations: 0 / 0.6866 GB, free: 13.46 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.004812/0.6577, allocations: 2.627 MB / 0.6892 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.6577, allocations: 11.97 kB / 0.6892 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004197/0.6582, allocations: 321.8 kB / 0.6895 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.6598, allocations: 0.5105 MB / 0.69 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.6615, allocations: 0.9501 MB / 0.6909 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.6617, allocations: 271.2 kB / 0.6912 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.662, allocations: 196.4 kB / 0.6914 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008745/0.6707, allocations: 6.978 MB / 0.6982 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/0.6708, allocations: 0 / 0.6982 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.6709, allocations: 79.98 kB / 0.6982 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003679/0.6713, allocations: 328.6 kB / 0.6986 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.6854, allocations: 12.19 MB / 0.7105 GB, free: 4.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02143/0.7069, allocations: 12.53 MB / 0.7227 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.71, allocations: 1.802 MB / 0.7245 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.7119, allocations: 1.162 MB / 0.7256 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2527/0.9646, allocations: 6.313 MB / 0.7318 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.9646, allocations: 44.31 kB / 0.7318 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 3.907e-06/0.9646, allocations: 1.25 kB / 0.7318 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.02204/0.9867, allocations: 8.433 MB / 0.7401 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.9867, allocations: 62.31 kB / 0.7401 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.9905, allocations: 2.308 MB / 0.7424 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000321/0.9908, allocations: 41.55 kB / 0.7424 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009531/0.9917, allocations: 1.13 MB / 0.7435 GB, free: 183 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/0.9922, allocations: 339.8 kB / 0.7438 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007285/0.9929, allocations: 354.7 kB / 0.7442 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.993, allocations: 356.5 kB / 0.7445 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.9951, allocations: 1.248 MB / 0.7457 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.9974, allocations: 1.671 MB / 0.7474 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004487/1.002, allocations: 3.005 MB / 0.7503 GB, free: 179 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/1.002, allocations: 5.125 kB / 0.7503 GB, free: 179 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007045/1.009, allocations: 3.477 MB / 0.7537 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/1.009, allocations: 11.03 kB / 0.7537 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.56e-05/1.009, allocations: 15.38 kB / 0.7537 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/1.01, allocations: 198.4 kB / 0.7539 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00747/1.017, allocations: 0.7721 MB / 0.7547 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004646/1.022, allocations: 5.712 MB / 0.7602 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.024, allocations: 63.25 kB / 0.7603 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000423/1.024, allocations: 223.4 kB / 0.7605 GB, free: 172 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.001426/1.025, allocations: 0.6576 MB / 0.7612 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/1.026, allocations: 222.9 kB / 0.7614 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/1.033, allocations: 2.575 MB / 0.7639 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/1.033, allocations: 7.875 kB / 0.7639 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.033, allocations: 5.062 kB / 0.7639 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.033, allocations: 3.75 kB / 0.7639 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008871/1.041, allocations: 3.346 MB / 0.7672 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/1.041, allocations: 4.719 kB / 0.7672 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006172/1.048, allocations: 0.4976 MB / 0.7677 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/1.048, allocations: 164.9 kB / 0.7678 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/1.048, allocations: 25.3 kB / 0.7678 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004388/1.053, allocations: 5.735 MB / 0.7734 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.053, allocations: 4.875 kB / 0.7734 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/1.057, allocations: 1.752 MB / 0.7752 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008903/1.058, allocations: 250 kB / 0.7754 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006974/1.058, allocations: 25.88 kB / 0.7754 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.06, allocations: 38.47 kB / 0.7755 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.06, allocations: 72.06 kB / 0.7755 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/1.06, allocations: 34.39 kB / 0.7756 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003659/1.064, allocations: 2.601 MB / 0.7781 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.064, allocations: 0 / 0.7781 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002485/1.066, allocations: 0.521 MB / 0.7786 GB, free: 159 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.004713/1.071, allocations: 2.585 MB / 0.7811 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005738/1.077, allocations: 2.201 MB / 0.7833 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.077, allocations: 4 kB / 0.7833 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003414/1.08, allocations: 0.9367 MB / 0.7842 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/1.083, allocations: 0.5429 MB / 0.7847 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03702/1.12, allocations: 23.05 MB / 0.8072 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/1.122, allocations: 1.081 MB / 0.8083 GB, free: 128 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001958/1.124, allocations: 0.5813 MB / 0.8089 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/1.125, allocations: 1.009 MB / 0.8098 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.903e-06/1.125, allocations: 0 / 0.8098 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.262, allocations: 66.96 MB / 0.8752 GB, free: 60.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.9, allocations: 0 / 0.8752 GB, free: 60.77 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.88837637301185] Failed to read output from testmodel.py, exit status != 0: 17.057556907995604 17.075231533 16.419265679 Calling exit ...