Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility.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.001377/0.001377, allocations: 114.3 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.001565/0.001565, allocations: 215 kB / 22.26 MB, free: 5.082 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1309/0.1309, allocations: 23.85 MB / 336.3 MB, free: 11.2 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility",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.001926/0.001926, allocations: 72.11 kB / 471.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2892, allocations: 59.86 MB / 0.5186 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009025/0.2982, allocations: 10.45 MB / 0.5288 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03916/0.3373, allocations: 33.12 MB / 0.5611 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.3407, allocations: 35.38 kB / 0.5612 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.3431, allocations: 0.6954 MB / 0.5618 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009322/0.3525, allocations: 2.663 MB / 0.5644 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.3658, allocations: 4.369 MB / 0.5687 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005356/0.3711, allocations: 3.019 MB / 0.5717 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.3735, allocations: 1.37 MB / 0.573 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.3761, allocations: 1.482 MB / 0.5744 GB, free: 484 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.379, allocations: 1.638 MB / 0.576 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004781/0.3795, allocations: 264 kB / 0.5763 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01322/0.3927, allocations: 3.662 MB / 0.5799 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009758/0.3937, allocations: 0.6076 MB / 0.5805 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.3957, allocations: 1.326 MB / 0.5818 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0167/0.4124, allocations: 6.829 MB / 0.5884 GB, free: 2.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4124, allocations: 0 / 0.5884 GB, free: 2.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4124, allocations: 0 / 0.5884 GB, free: 2.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.27e-05/0.4124, allocations: 4 kB / 0.5884 GB, free: 2.324 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.006346/0.4188, allocations: 3.234 MB / 0.5916 GB, free: 15.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4188, allocations: 12.03 kB / 0.5916 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/0.4191, allocations: 295.9 kB / 0.5919 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.4216, allocations: 0.5765 MB / 0.5924 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.4236, allocations: 1.077 MB / 0.5935 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.4237, allocations: 160.6 kB / 0.5937 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/0.4241, allocations: 228.2 kB / 0.5939 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004522/0.4286, allocations: 2.818 MB / 0.5966 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.4286, allocations: 0 / 0.5966 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.4288, allocations: 80 kB / 0.5967 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.4289, allocations: 52 kB / 0.5967 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005734/0.4346, allocations: 3.831 MB / 0.6005 GB, free: 5.781 MB / 446.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.01462/0.4492, allocations: 8.308 MB / 0.6086 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006024/0.4552, allocations: 3.326 MB / 0.6118 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.4569, allocations: 0.9153 MB / 0.6127 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.4681, allocations: 4.965 MB / 0.6176 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/0.4682, allocations: 47.88 kB / 0.6176 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006375/0.4688, allocations: 186.6 kB / 0.6178 GB, free: 3.668 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.366e-06/0.4688, allocations: 3.938 kB / 0.6178 GB, free: 3.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02959/0.4984, allocations: 6.185 MB / 0.6239 GB, free: 13.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.4984, allocations: 73.41 kB / 0.6239 GB, free: 13.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.5006, allocations: 1.691 MB / 0.6256 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.5008, allocations: 57.7 kB / 0.6256 GB, free: 11.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000785/0.5016, allocations: 1.069 MB / 0.6267 GB, free: 10.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005822/0.5022, allocations: 0.6237 MB / 0.6273 GB, free: 9.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006551/0.5028, allocations: 476.8 kB / 0.6277 GB, free: 9.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.503, allocations: 305.1 kB / 0.628 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.5043, allocations: 0.8053 MB / 0.6288 GB, free: 8.305 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.5065, allocations: 1.612 MB / 0.6304 GB, free: 6.328 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/0.51, allocations: 2.428 MB / 0.6328 GB, free: 3.539 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.51, allocations: 11.94 kB / 0.6328 GB, free: 3.527 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008766/0.5188, allocations: 3.152 MB / 0.6359 GB, free: 364 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.5188, allocations: 16 kB / 0.6359 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.743e-05/0.5188, allocations: 24 kB / 0.6359 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/0.5228, allocations: 487.1 kB / 0.6364 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.5248, allocations: 0.5928 MB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.5361, allocations: 7.297 MB / 0.6441 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.538, allocations: 80 kB / 0.6441 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.5382, allocations: 140 kB / 0.6443 GB, free: 7.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008273/0.5391, allocations: 431.3 kB / 0.6447 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.5394, allocations: 175.1 kB / 0.6449 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007627/0.547, allocations: 2.4 MB / 0.6472 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.5471, allocations: 24 kB / 0.6472 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5471, allocations: 0 / 0.6472 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.5471, allocations: 11.95 kB / 0.6472 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.5501, allocations: 1.839 MB / 0.649 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5501, allocations: 4 kB / 0.649 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.5514, allocations: 339.6 kB / 0.6494 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003767/0.5552, allocations: 455.1 kB / 0.6498 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.5553, allocations: 67.91 kB / 0.6499 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.5656, allocations: 7.119 MB / 0.6568 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.5656, allocations: 7.969 kB / 0.6568 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008633/0.5743, allocations: 3.004 MB / 0.6597 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.5748, allocations: 166.8 kB / 0.6599 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.575, allocations: 36 kB / 0.6599 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/0.5759, allocations: 43.98 kB / 0.66 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.5762, allocations: 153.7 kB / 0.6601 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.5763, allocations: 71.97 kB / 0.6602 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00147/0.5778, allocations: 1.153 MB / 0.6613 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5778, allocations: 0 / 0.6613 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003676/0.5815, allocations: 1.387 MB / 0.6627 GB, free: 3.789 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01168/0.5932, allocations: 4.987 MB / 0.6675 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004408/0.5976, allocations: 2.385 MB / 0.6699 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5976, allocations: 0 / 0.6699 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.5996, allocations: 1.287 MB / 0.6711 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.6014, allocations: 367.8 kB / 0.6715 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/0.6348, allocations: 16.59 MB / 0.6877 GB, free: 9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.6359, allocations: 1.378 MB / 0.689 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001502/0.6374, allocations: 437.8 kB / 0.6894 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/0.6387, allocations: 0.9595 MB / 0.6904 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of SimCode: time 8.81e-07/0.6387, allocations: 0 / 0.6904 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3207/0.9594, allocations: 65.18 MB / 0.754 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.1/20.06, allocations: 14.02 kB / 0.754 GB, free: 174.1 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.GasSolubility_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_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.719665912998607] Failed to read output from testmodel.py, exit status != 0: 20.222302645001037 20.231798811 19.817107305 Calling exit ...