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.001292/0.001292, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.00145/0.00145, allocations: 220 kB / 22.24 MB, free: 5.109 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.809 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.142/0.142, allocations: 23.99 MB / 336.4 MB, free: 10.87 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.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.002101/0.002101, allocations: 76.16 kB / 471.3 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.306, allocations: 59.89 MB / 0.5187 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01295/0.319, allocations: 12.93 MB / 0.5314 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06353/0.3825, allocations: 43.18 MB / 0.5735 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.3861, allocations: 51.62 kB / 0.5736 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.3899, allocations: 0.9962 MB / 0.5745 GB, free: 340 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.4017, allocations: 3.438 MB / 0.5779 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0216/0.4233, allocations: 7.071 MB / 0.5848 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007407/0.4307, allocations: 4.505 MB / 0.5892 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/0.4335, allocations: 1.874 MB / 0.591 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.4365, allocations: 2.104 MB / 0.5931 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.4399, allocations: 2.07 MB / 0.5951 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007487/0.4407, allocations: 388 kB / 0.5955 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01597/0.4566, allocations: 5.23 MB / 0.6006 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.4581, allocations: 0.8918 MB / 0.6015 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002649/0.4607, allocations: 1.646 MB / 0.6031 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02543/0.4861, allocations: 10.22 MB / 0.6131 GB, free: 8.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4861, allocations: 0 / 0.6131 GB, free: 8.695 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4861, allocations: 0 / 0.6131 GB, free: 8.695 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001079/0.4862, allocations: 0 / 0.6131 GB, free: 8.695 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.009586/0.4958, allocations: 4.718 MB / 0.6177 GB, free: 3.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4959, allocations: 12.03 kB / 0.6177 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005528/0.4964, allocations: 414.4 kB / 0.6181 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004191/0.5006, allocations: 0.9424 MB / 0.619 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/0.5042, allocations: 1.547 MB / 0.6205 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.5044, allocations: 234.6 kB / 0.6207 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006887/0.5051, allocations: 320.3 kB / 0.621 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007749/0.5129, allocations: 4.539 MB / 0.6255 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.019e-05/0.5129, allocations: 0 / 0.6255 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/0.5132, allocations: 124 kB / 0.6256 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.5133, allocations: 72 kB / 0.6256 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.5235, allocations: 6.419 MB / 0.6319 GB, free: 5.164 MB / 478.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.02241/0.546, allocations: 10.82 MB / 0.6425 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00742/0.5534, allocations: 3.73 MB / 0.6461 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.5555, allocations: 1.174 MB / 0.6473 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01575/0.5713, allocations: 6.326 MB / 0.6534 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.5713, allocations: 52.06 kB / 0.6535 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 6.212e-06/0.5714, allocations: 3.984 kB / 0.6535 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04385/0.6152, allocations: 9.418 MB / 0.6627 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.968e-05/0.6153, allocations: 124.8 kB / 0.6628 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004745/0.6201, allocations: 3.474 MB / 0.6662 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003729/0.6204, allocations: 65.7 kB / 0.6663 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.6218, allocations: 1.638 MB / 0.6679 GB, free: 15.92 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009654/0.6228, allocations: 0.829 MB / 0.6687 GB, free: 15.08 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.6238, allocations: 0.6917 MB / 0.6694 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.624, allocations: 301.1 kB / 0.6696 GB, free: 14.09 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/0.6263, allocations: 1.417 MB / 0.671 GB, free: 12.67 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003483/0.6298, allocations: 2.523 MB / 0.6735 GB, free: 9.664 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005842/0.6357, allocations: 3.619 MB / 0.677 GB, free: 5.551 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.589e-05/0.6357, allocations: 12 kB / 0.677 GB, free: 5.539 MB / 0.5138 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01414/0.6498, allocations: 5.046 MB / 0.682 GB, free: 484 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.6499, allocations: 20 kB / 0.682 GB, free: 464 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.885e-05/0.6499, allocations: 36 kB / 0.682 GB, free: 428 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005857/0.6558, allocations: 0.7075 MB / 0.6827 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/0.6591, allocations: 0.8425 MB / 0.6835 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/0.6767, allocations: 10.85 MB / 0.6941 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/0.6798, allocations: 120 kB / 0.6942 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005342/0.6803, allocations: 200 kB / 0.6944 GB, free: 3.004 MB / 0.5294 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.001232/0.6815, allocations: 0.5474 MB / 0.695 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007747/0.6823, allocations: 270.2 kB / 0.6952 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.6935, allocations: 3.211 MB / 0.6984 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/0.6935, allocations: 24 kB / 0.6984 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.6935, allocations: 4 kB / 0.6984 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.603e-05/0.6936, allocations: 11.95 kB / 0.6984 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/0.6981, allocations: 2.222 MB / 0.7006 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.6981, allocations: 4 kB / 0.7006 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.6999, allocations: 447.8 kB / 0.701 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005656/0.7055, allocations: 0.6644 MB / 0.7017 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003831/0.7059, allocations: 87.95 kB / 0.7017 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/0.7219, allocations: 10.57 MB / 0.7121 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.859e-05/0.7219, allocations: 7.938 kB / 0.7121 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/0.7343, allocations: 4.157 MB / 0.7161 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000772/0.7351, allocations: 262.1 kB / 0.7164 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/0.7355, allocations: 48 kB / 0.7164 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.737, allocations: 51.98 kB / 0.7165 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004542/0.7374, allocations: 209.5 kB / 0.7167 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/0.7376, allocations: 95.95 kB / 0.7168 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003177/0.7408, allocations: 2.393 MB / 0.7191 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7408, allocations: 0 / 0.7191 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006907/0.7477, allocations: 2.111 MB / 0.7212 GB, free: 6.711 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.2272/0.975, allocations: 6.905 MB / 0.7279 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006146/0.9811, allocations: 3.644 MB / 0.7315 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.9811, allocations: 1.062 kB / 0.7315 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.9837, allocations: 1.774 MB / 0.7332 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/0.9864, allocations: 0.5008 MB / 0.7337 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04721/1.034, allocations: 26.11 MB / 0.7592 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.035, allocations: 1.165 MB / 0.7603 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00234/1.037, allocations: 0.6096 MB / 0.7609 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/1.039, allocations: 1.429 MB / 0.7623 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.173e-06/1.039, allocations: 7.938 kB / 0.7623 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/1.202, allocations: 97.56 MB / 0.8576 GB, free: 68.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.1/19.3, allocations: 11.22 kB / 0.8576 GB, free: 68.22 MB / 0.5606 GB " [Timeout remaining time 641] (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 os._exit(0), Time elapsed: 22.223503012675792] Failed to read output from testmodel.py, exit status != 0: 19.48724285699427 19.503619771 19.013846759 Calling exit ...