Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.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.001312/0.001312, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001444/0.001444, allocations: 216.7 kB / 22.24 MB, free: 5.258 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.781 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.1401/0.1401, allocations: 23.93 MB / 336.4 MB, free: 10.9 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_blood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood",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.002038/0.002038, allocations: 67.91 kB / 471.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 59.88 MB / 0.5186 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008087/0.368, allocations: 6.257 MB / 0.5247 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0277/0.3957, allocations: 19.19 MB / 0.5435 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.3972, allocations: 21 kB / 0.5435 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.3987, allocations: 412.3 kB / 0.5439 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005689/0.4044, allocations: 1.635 MB / 0.5455 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009805/0.4142, allocations: 2.842 MB / 0.5482 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.4175, allocations: 1.83 MB / 0.55 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.4188, allocations: 0.7736 MB / 0.5508 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.4202, allocations: 0.8748 MB / 0.5516 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.4219, allocations: 0.9514 MB / 0.5526 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.4222, allocations: 153.1 kB / 0.5527 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008771/0.431, allocations: 2.252 MB / 0.5549 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007455/0.4317, allocations: 371.9 kB / 0.5553 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.433, allocations: 0.6692 MB / 0.5559 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.4456, allocations: 4.238 MB / 0.5601 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.4456, allocations: 3.984 kB / 0.5601 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4456, allocations: 0.8438 kB / 0.5601 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.742e-05/0.4457, allocations: 0 / 0.5601 GB, free: 14.77 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00467/0.4503, allocations: 2.052 MB / 0.5621 GB, free: 12.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4504, allocations: 12.03 kB / 0.5621 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.4506, allocations: 182 kB / 0.5623 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.4523, allocations: 395.1 kB / 0.5626 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.454, allocations: 0.6964 MB / 0.5633 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/0.4541, allocations: 94.84 kB / 0.5634 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.4544, allocations: 128.3 kB / 0.5635 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/0.4573, allocations: 1.779 MB / 0.5653 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.4573, allocations: 3.938 kB / 0.5653 GB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.4575, allocations: 52 kB / 0.5653 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4575, allocations: 28 kB / 0.5653 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.4612, allocations: 2.496 MB / 0.5678 GB, free: 7.008 MB / 414.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.008807/0.4701, allocations: 4.328 MB / 0.572 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.4735, allocations: 1.839 MB / 0.5738 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/0.4743, allocations: 0.4903 MB / 0.5743 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006529/0.4809, allocations: 2.699 MB / 0.5769 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.4809, allocations: 43.2 kB / 0.577 GB, free: 13.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.4809, allocations: 0 / 0.577 GB, free: 13.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01373/0.4946, allocations: 3.236 MB / 0.5801 GB, free: 10.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4947, allocations: 64.34 kB / 0.5802 GB, free: 10.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.4964, allocations: 1.354 MB / 0.5815 GB, free: 8.758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-05/0.4965, allocations: 41.7 kB / 0.5815 GB, free: 8.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000553/0.4971, allocations: 0.6983 MB / 0.5822 GB, free: 8.004 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.4974, allocations: 341.2 kB / 0.5825 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.4978, allocations: 287.4 kB / 0.5828 GB, free: 7.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.498, allocations: 369.8 kB / 0.5832 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.4988, allocations: 0.5193 MB / 0.5837 GB, free: 6.492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.5001, allocations: 1.012 MB / 0.5847 GB, free: 5.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.5022, allocations: 1.449 MB / 0.5861 GB, free: 3.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.5022, allocations: 4 kB / 0.5861 GB, free: 3.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00458/0.5068, allocations: 1.928 MB / 0.588 GB, free: 1.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.5068, allocations: 12 kB / 0.588 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.5068, allocations: 16 kB / 0.588 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.5086, allocations: 249.5 kB / 0.5882 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.5098, allocations: 351.5 kB / 0.5886 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00553/0.5153, allocations: 3.635 MB / 0.5921 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.5164, allocations: 48 kB / 0.5922 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.5166, allocations: 88.03 kB / 0.5923 GB, free: 13.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005352/0.5171, allocations: 289.3 kB / 0.5925 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.5174, allocations: 115.2 kB / 0.5926 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.5212, allocations: 1.252 MB / 0.5939 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5212, allocations: 8 kB / 0.5939 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5212, allocations: 4 kB / 0.5939 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.5212, allocations: 7.969 kB / 0.5939 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.5228, allocations: 0.9328 MB / 0.5948 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5228, allocations: 0 / 0.5948 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/0.5235, allocations: 175.8 kB / 0.595 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.5252, allocations: 233.4 kB / 0.5952 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.5253, allocations: 31.98 kB / 0.5952 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/0.5302, allocations: 3.522 MB / 0.5987 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5302, allocations: 3.938 kB / 0.5987 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/0.5342, allocations: 1.6 MB / 0.6002 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.5345, allocations: 99.33 kB / 0.6003 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.5346, allocations: 23.94 kB / 0.6003 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.5351, allocations: 20 kB / 0.6004 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.5353, allocations: 88.73 kB / 0.6004 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.5354, allocations: 39.98 kB / 0.6005 GB, free: 4.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.5365, allocations: 0.9297 MB / 0.6014 GB, free: 3.328 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5365, allocations: 0 / 0.6014 GB, free: 3.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002554/0.5391, allocations: 0.8491 MB / 0.6022 GB, free: 2.477 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006375/0.5454, allocations: 3.072 MB / 0.6052 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.5479, allocations: 1.364 MB / 0.6065 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5479, allocations: 0 / 0.6065 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5489, allocations: 0.6483 MB / 0.6072 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5501, allocations: 229.9 kB / 0.6074 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.5691, allocations: 10.66 MB / 0.6178 GB, free: 1.801 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.5697, allocations: 496.2 kB / 0.6183 GB, free: 1.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008984/0.5706, allocations: 263.2 kB / 0.6185 GB, free: 1.031 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/0.5713, allocations: 0.5456 MB / 0.6191 GB, free: 496 kB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5713, allocations: 0 / 0.6191 GB, free: 496 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0895/0.6608, allocations: 41.14 MB / 0.6592 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.44, allocations: 21.48 kB / 0.6593 GB, free: 7.668 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood_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_blood.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.228267372993287] Failed to read output from testmodel.py, exit status != 0: 14.571121098997537 14.584719095 14.135952511 Calling exit ...