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.001562/0.001562, allocations: 109.5 kB / 16.46 MB, free: 6.508 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.001566/0.001566, allocations: 213.7 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.574/1.574, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.1562/0.1562, allocations: 23.88 MB / 332.7 MB, free: 12.42 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,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.002408/0.002408, allocations: 75.88 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.367, allocations: 59.82 MB / 0.5135 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01072/0.3777, allocations: 10.4 MB / 0.5237 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04503/0.4227, allocations: 33.05 MB / 0.556 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.4254, allocations: 32.41 kB / 0.556 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.4283, allocations: 0.6968 MB / 0.5567 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.4396, allocations: 2.641 MB / 0.5592 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0163/0.4559, allocations: 4.318 MB / 0.5635 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005969/0.4618, allocations: 3.022 MB / 0.5664 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.4641, allocations: 1.362 MB / 0.5677 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.4674, allocations: 1.485 MB / 0.5692 GB, free: 212 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/0.4713, allocations: 1.634 MB / 0.5708 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006587/0.472, allocations: 263.5 kB / 0.571 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/0.4892, allocations: 3.662 MB / 0.5746 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.4907, allocations: 0.6114 MB / 0.5752 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002462/0.4931, allocations: 1.322 MB / 0.5765 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02028/0.5134, allocations: 6.833 MB / 0.5832 GB, free: 3.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.5134, allocations: 7.938 kB / 0.5832 GB, free: 3.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5134, allocations: 0 / 0.5832 GB, free: 3.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.951e-05/0.5135, allocations: 7.984 kB / 0.5832 GB, free: 3.602 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.007505/0.521, allocations: 3.298 MB / 0.5864 GB, free: 236 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5211, allocations: 12.03 kB / 0.5864 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004562/0.5215, allocations: 295.9 kB / 0.5867 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.5242, allocations: 0.5804 MB / 0.5873 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.5263, allocations: 1.15 MB / 0.5884 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.5265, allocations: 164.6 kB / 0.5886 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003918/0.5268, allocations: 216.3 kB / 0.5888 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/0.5319, allocations: 2.798 MB / 0.5915 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.532, allocations: 0 / 0.5915 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.5322, allocations: 84 kB / 0.5916 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/0.5323, allocations: 52 kB / 0.5916 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007057/0.5393, allocations: 3.792 MB / 0.5953 GB, free: 6.941 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.01596/0.5553, allocations: 8.352 MB / 0.6035 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006607/0.5619, allocations: 3.843 MB / 0.6072 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.5636, allocations: 0.9122 MB / 0.6081 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/0.5779, allocations: 9.244 MB / 0.6172 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.578, allocations: 47.88 kB / 0.6172 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008084/0.5788, allocations: 186.6 kB / 0.6174 GB, free: 14.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=138): time 5.911e-06/0.5788, allocations: 0 / 0.6174 GB, free: 14.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=170): time 0.03039/0.6092, allocations: 6.415 MB / 0.6236 GB, free: 8.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.6093, allocations: 77.34 kB / 0.6237 GB, free: 8.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.6118, allocations: 1.664 MB / 0.6253 GB, free: 6.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.612, allocations: 53.7 kB / 0.6254 GB, free: 6.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008692/0.6129, allocations: 1.073 MB / 0.6264 GB, free: 5.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000728/0.6136, allocations: 0.6159 MB / 0.627 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007729/0.6144, allocations: 480.8 kB / 0.6275 GB, free: 4.312 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6145, allocations: 305.1 kB / 0.6278 GB, free: 4.012 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.616, allocations: 0.7897 MB / 0.6286 GB, free: 3.219 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.6183, allocations: 1.6 MB / 0.6301 GB, free: 1.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/0.6221, allocations: 2.417 MB / 0.6325 GB, free: 14.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.6221, allocations: 8 kB / 0.6325 GB, free: 14.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008777/0.6308, allocations: 3.128 MB / 0.6356 GB, free: 11.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.6309, allocations: 16 kB / 0.6356 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.232e-05/0.6309, allocations: 24 kB / 0.6356 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/0.6348, allocations: 487.1 kB / 0.6361 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.6371, allocations: 0.5928 MB / 0.6366 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.6489, allocations: 7.717 MB / 0.6442 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.6511, allocations: 80 kB / 0.6442 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/0.6514, allocations: 148 kB / 0.6444 GB, free: 1.711 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.001034/0.6524, allocations: 424.8 kB / 0.6448 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/0.653, allocations: 178.8 kB / 0.645 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007921/0.6609, allocations: 2.385 MB / 0.6473 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.6609, allocations: 20 kB / 0.6473 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.6609, allocations: 0 / 0.6473 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/0.661, allocations: 11.95 kB / 0.6473 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.6646, allocations: 1.859 MB / 0.6491 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.6646, allocations: 4 kB / 0.6491 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.6661, allocations: 347.6 kB / 0.6495 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003866/0.67, allocations: 459 kB / 0.6499 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003881/0.6704, allocations: 63.97 kB / 0.65 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.6817, allocations: 7.532 MB / 0.6573 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6817, allocations: 0 / 0.6573 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009004/0.6907, allocations: 3.004 MB / 0.6603 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.6913, allocations: 243.8 kB / 0.6605 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.6915, allocations: 40 kB / 0.6605 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009579/0.6925, allocations: 44.17 kB / 0.6606 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/0.693, allocations: 145.8 kB / 0.6607 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.6931, allocations: 71.91 kB / 0.6608 GB, free: 164 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001604/0.6947, allocations: 1.137 MB / 0.6619 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6947, allocations: 0 / 0.6619 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004947/0.6997, allocations: 1.387 MB / 0.6632 GB, free: 13.63 MB / 0.5137 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.01221/0.7119, allocations: 4.994 MB / 0.6681 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004718/0.7166, allocations: 2.381 MB / 0.6704 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7166, allocations: 4.062 kB / 0.6705 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.7189, allocations: 1.268 MB / 0.6717 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.7208, allocations: 365.7 kB / 0.672 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03439/0.7552, allocations: 16.52 MB / 0.6882 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.7564, allocations: 1.389 MB / 0.6895 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001679/0.758, allocations: 437.4 kB / 0.6899 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/0.7595, allocations: 0.9553 MB / 0.6909 GB, free: 132 kB / 0.5294 GB Notification: Performance of SimCode: time 9.41e-07/0.7595, allocations: 0 / 0.6909 GB, free: 132 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3727/1.132, allocations: 63.22 MB / 0.7526 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.22/21.36, allocations: 10.38 kB / 0.7526 GB, free: 172.1 MB / 0.5606 GB " [Timeout remaining time 639] (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 sys.exit(0), Time elapsed: 24.49625697801821] Failed to read output from testmodel.py, exit status != 0: 21.497021591058 21.511295398 20.994620441 Calling exit ...