Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001218/0.001218, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0014/0.0014, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.797 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.1403/0.1403, allocations: 23.98 MB / 336.4 MB, free: 10.84 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,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_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.002207/0.002207, allocations: 71.89 kB / 471.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3053, allocations: 59.9 MB / 0.5187 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009893/0.3152, allocations: 9.115 MB / 0.5276 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04091/0.3561, allocations: 28.97 MB / 0.5559 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.3582, allocations: 35.09 kB / 0.556 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.3606, allocations: 0.6242 MB / 0.5566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009539/0.3702, allocations: 2.616 MB / 0.5591 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01504/0.3852, allocations: 4.37 MB / 0.5634 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005965/0.3912, allocations: 3.024 MB / 0.5663 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002714/0.3939, allocations: 1.336 MB / 0.5676 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.3972, allocations: 1.491 MB / 0.5691 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003258/0.4005, allocations: 1.459 MB / 0.5705 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.4015, allocations: 264 kB / 0.5708 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/0.413, allocations: 3.432 MB / 0.5741 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.414, allocations: 0.6114 MB / 0.5747 GB, free: 72 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.4161, allocations: 1.121 MB / 0.5758 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.4321, allocations: 6.805 MB / 0.5825 GB, free: 8.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4321, allocations: 4 kB / 0.5825 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4321, allocations: 0 / 0.5825 GB, free: 8.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.849e-05/0.4322, allocations: 4 kB / 0.5825 GB, free: 8.105 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.006753/0.4389, allocations: 3.227 MB / 0.5856 GB, free: 4.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.439, allocations: 8.031 kB / 0.5856 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003937/0.4394, allocations: 295.9 kB / 0.5859 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.4421, allocations: 0.5763 MB / 0.5865 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.4446, allocations: 1.081 MB / 0.5875 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.4447, allocations: 156.6 kB / 0.5877 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004583/0.4452, allocations: 228.3 kB / 0.5879 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005111/0.4503, allocations: 2.814 MB / 0.5906 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.4503, allocations: 3.938 kB / 0.5907 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.4505, allocations: 84 kB / 0.5907 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.4506, allocations: 52 kB / 0.5908 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006506/0.4571, allocations: 3.796 MB / 0.5945 GB, free: 11.6 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.01544/0.4725, allocations: 6.974 MB / 0.6013 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006171/0.4787, allocations: 3.253 MB / 0.6045 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.4804, allocations: 0.9114 MB / 0.6054 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.4922, allocations: 4.684 MB / 0.6099 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.4922, allocations: 47.88 kB / 0.61 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007383/0.493, allocations: 190.6 kB / 0.6102 GB, free: 11.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 6.692e-06/0.493, allocations: 3.984 kB / 0.6102 GB, free: 11.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02967/0.5227, allocations: 6.182 MB / 0.6162 GB, free: 5.148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.5227, allocations: 73.41 kB / 0.6163 GB, free: 5.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.5251, allocations: 1.737 MB / 0.618 GB, free: 3.312 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.5253, allocations: 49.7 kB / 0.618 GB, free: 3.258 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008729/0.5262, allocations: 1.073 MB / 0.6191 GB, free: 2.172 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006905/0.5269, allocations: 0.6198 MB / 0.6197 GB, free: 1.547 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007993/0.5277, allocations: 488.8 kB / 0.6201 GB, free: 1.062 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5278, allocations: 305.1 kB / 0.6204 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.5293, allocations: 0.8014 MB / 0.6212 GB, free: 15.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.5315, allocations: 1.612 MB / 0.6228 GB, free: 13.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003778/0.5353, allocations: 2.424 MB / 0.6252 GB, free: 11.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/0.5353, allocations: 8 kB / 0.6252 GB, free: 11.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008873/0.5442, allocations: 3.152 MB / 0.6282 GB, free: 8.016 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.5442, allocations: 16 kB / 0.6283 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.637e-05/0.5443, allocations: 28 kB / 0.6283 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003875/0.5482, allocations: 491 kB / 0.6288 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/0.5504, allocations: 0.5889 MB / 0.6293 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.5621, allocations: 7.242 MB / 0.6364 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.5639, allocations: 80 kB / 0.6365 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/0.5642, allocations: 140 kB / 0.6366 GB, free: 14.98 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.0009468/0.5652, allocations: 425.5 kB / 0.637 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/0.5656, allocations: 178.8 kB / 0.6372 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007764/0.5734, allocations: 2.389 MB / 0.6395 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.5734, allocations: 16 kB / 0.6395 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.5734, allocations: 0 / 0.6395 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/0.5734, allocations: 15.95 kB / 0.6396 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.5766, allocations: 1.597 MB / 0.6411 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.5767, allocations: 4 kB / 0.6411 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.578, allocations: 343.5 kB / 0.6414 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003681/0.5817, allocations: 459.2 kB / 0.6419 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.5819, allocations: 59.97 kB / 0.6419 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.5927, allocations: 7.044 MB / 0.6488 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5927, allocations: 3.938 kB / 0.6488 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008687/0.6014, allocations: 3.008 MB / 0.6518 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.6019, allocations: 166.9 kB / 0.6519 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/0.6022, allocations: 44 kB / 0.652 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/0.6032, allocations: 40 kB / 0.652 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.6035, allocations: 161.6 kB / 0.6521 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.6036, allocations: 75.91 kB / 0.6522 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001512/0.6052, allocations: 1.145 MB / 0.6533 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6052, allocations: 0 / 0.6533 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003967/0.6091, allocations: 1.383 MB / 0.6547 GB, free: 11.83 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.01203/0.6212, allocations: 4.995 MB / 0.6596 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004688/0.6258, allocations: 2.392 MB / 0.6619 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.6258, allocations: 4 kB / 0.6619 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.628, allocations: 1.28 MB / 0.6632 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.6299, allocations: 374 kB / 0.6635 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/0.6633, allocations: 16.57 MB / 0.6797 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.6644, allocations: 0.8024 MB / 0.6805 GB, free: 212 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001767/0.6662, allocations: 437.7 kB / 0.6809 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/0.6677, allocations: 0.9555 MB / 0.6818 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.6677, allocations: 0 / 0.6818 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4355/1.103, allocations: 65.68 MB / 0.746 GB, free: 178 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.39/17.49, allocations: 1.156 kB / 0.746 GB, free: 178 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.36895519401878] Failed to read output from testmodel.py, exit status != 0: 17.652274089865386 17.673128181 17.237084225 Calling exit ...