Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.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.002207/0.002207, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.002124/0.002124, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1497/0.1497, allocations: 23.88 MB / 332.7 MB, free: 12.32 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST",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.002028/0.002028, allocations: 59.91 kB / 466 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4015, allocations: 59.83 MB / 0.5135 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01433/0.4158, allocations: 14.86 MB / 0.528 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06752/0.4833, allocations: 49.32 MB / 0.5762 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00451/0.4878, allocations: 47.44 kB / 0.5763 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004057/0.4919, allocations: 1.107 MB / 0.5773 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01213/0.504, allocations: 3.443 MB / 0.5807 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02599/0.53, allocations: 6.991 MB / 0.5875 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009511/0.5395, allocations: 4.506 MB / 0.5919 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.5429, allocations: 1.909 MB / 0.5938 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004067/0.5469, allocations: 2.1 MB / 0.5958 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/0.5518, allocations: 2.32 MB / 0.5981 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.553, allocations: 383.9 kB / 0.5985 GB, free: 3.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02505/0.578, allocations: 5.585 MB / 0.6039 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002082/0.5801, allocations: 0.884 MB / 0.6048 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004484/0.5846, allocations: 1.956 MB / 0.6067 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0296/0.6142, allocations: 10.25 MB / 0.6167 GB, free: 1.117 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.6142, allocations: 0 / 0.6167 GB, free: 1.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.6142, allocations: 0 / 0.6167 GB, free: 1.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000241/0.6145, allocations: 8 kB / 0.6167 GB, free: 1.109 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.0146/0.6291, allocations: 4.805 MB / 0.6214 GB, free: 12.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.6291, allocations: 12.03 kB / 0.6214 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007922/0.6299, allocations: 418.4 kB / 0.6218 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.6347, allocations: 0.9386 MB / 0.6227 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.6395, allocations: 1.619 MB / 0.6243 GB, free: 9.176 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.6398, allocations: 234.6 kB / 0.6245 GB, free: 8.945 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.6409, allocations: 320.3 kB / 0.6248 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009561/0.6505, allocations: 4.468 MB / 0.6292 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.738e-05/0.6506, allocations: 0 / 0.6292 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004381/0.651, allocations: 132 kB / 0.6293 GB, free: 3.965 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/0.6511, allocations: 72 kB / 0.6294 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.662, allocations: 6.368 MB / 0.6356 GB, free: 13.5 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/0.6874, allocations: 12.65 MB / 0.648 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007878/0.6953, allocations: 4.476 MB / 0.6524 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.6977, allocations: 1.168 MB / 0.6535 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02012/0.7178, allocations: 12.2 MB / 0.6654 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.292e-05/0.7179, allocations: 52.25 kB / 0.6655 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 4.538e-06/0.7179, allocations: 0 / 0.6655 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=227): time 0.04571/0.7636, allocations: 9.881 MB / 0.6751 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.7637, allocations: 124.8 kB / 0.6752 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004964/0.7687, allocations: 3.323 MB / 0.6785 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005037/0.7692, allocations: 61.7 kB / 0.6785 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.7709, allocations: 1.641 MB / 0.6801 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/0.7722, allocations: 0.8251 MB / 0.6809 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/0.7735, allocations: 0.6995 MB / 0.6816 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7737, allocations: 305.1 kB / 0.6819 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.776, allocations: 1.377 MB / 0.6833 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003555/0.7796, allocations: 2.484 MB / 0.6857 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005624/0.7852, allocations: 3.592 MB / 0.6892 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/0.7852, allocations: 11.94 kB / 0.6892 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01397/0.7992, allocations: 4.973 MB / 0.6941 GB, free: 14.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.7993, allocations: 24.03 kB / 0.6941 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.127e-05/0.7993, allocations: 32 kB / 0.6941 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005802/0.8051, allocations: 0.7073 MB / 0.6948 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/0.8084, allocations: 0.8347 MB / 0.6956 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/0.826, allocations: 11.56 MB / 0.7069 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/0.829, allocations: 124.1 kB / 0.707 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005523/0.8296, allocations: 195.9 kB / 0.7072 GB, free: 52 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001317/0.8309, allocations: 0.5474 MB / 0.7078 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/0.8317, allocations: 270.2 kB / 0.708 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/0.8429, allocations: 3.207 MB / 0.7111 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/0.8429, allocations: 31.98 kB / 0.7112 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.8429, allocations: 4 kB / 0.7112 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/0.843, allocations: 11.95 kB / 0.7112 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.8477, allocations: 2.613 MB / 0.7137 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.8477, allocations: 4 kB / 0.7137 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.8495, allocations: 451.8 kB / 0.7142 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005664/0.8552, allocations: 0.6722 MB / 0.7148 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005542/0.8557, allocations: 75.97 kB / 0.7149 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.265/1.121, allocations: 11.28 MB / 0.7259 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.121, allocations: 4.906 kB / 0.7259 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/1.133, allocations: 4.154 MB / 0.73 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.134, allocations: 332.3 kB / 0.7303 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005805/1.135, allocations: 52.09 kB / 0.7303 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.137, allocations: 53.75 kB / 0.7304 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005582/1.137, allocations: 203.8 kB / 0.7306 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.137, allocations: 92.08 kB / 0.7307 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002968/1.14, allocations: 2.341 MB / 0.733 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.14, allocations: 1.906 kB / 0.733 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008402/1.149, allocations: 2.112 MB / 0.735 GB, free: 168.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01794/1.167, allocations: 6.919 MB / 0.7418 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007057/1.174, allocations: 3.609 MB / 0.7453 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.174, allocations: 1.125 kB / 0.7453 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/1.177, allocations: 1.776 MB / 0.747 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/1.18, allocations: 0.5081 MB / 0.7475 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04791/1.228, allocations: 25.92 MB / 0.7729 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.229, allocations: 1.724 MB / 0.7745 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002187/1.231, allocations: 0.6069 MB / 0.7751 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.233, allocations: 1.432 MB / 0.7765 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/1.233, allocations: 0 / 0.7765 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1504/1.383, allocations: 93.94 MB / 0.8683 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.69/22.08, allocations: 8 kB / 0.8683 GB, free: 53.46 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST_res.csv --start-time 0 --stop-time 1e-05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-09 Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.20570683386177] Failed to read output from testmodel.py, exit status != 0: 22.2341924700886 22.25206577 21.633932713 Calling exit ...