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.001282/0.001282, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001481/0.001481, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.399/1.399, 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.1405/0.1405, allocations: 23.92 MB / 336.4 MB, free: 10.92 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.00206/0.00206, allocations: 63.91 kB / 471.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 59.88 MB / 0.5186 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01088/0.3609, allocations: 9.106 MB / 0.5275 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0413/0.4022, allocations: 28.96 MB / 0.5558 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.4046, allocations: 34.91 kB / 0.5558 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.4071, allocations: 0.6284 MB / 0.5564 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.4181, allocations: 2.616 MB / 0.559 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01476/0.4329, allocations: 4.374 MB / 0.5633 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00517/0.4381, allocations: 3.012 MB / 0.5662 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.4404, allocations: 1.374 MB / 0.5675 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003541/0.4439, allocations: 1.492 MB / 0.569 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/0.4485, allocations: 1.631 MB / 0.5706 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009689/0.4494, allocations: 264 kB / 0.5708 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01687/0.4663, allocations: 3.522 MB / 0.5743 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.4677, allocations: 0.5998 MB / 0.5749 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002668/0.4704, allocations: 1.132 MB / 0.576 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01827/0.4887, allocations: 6.809 MB / 0.5826 GB, free: 7.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.4887, allocations: 4 kB / 0.5826 GB, free: 7.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4887, allocations: 0 / 0.5826 GB, free: 7.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.615e-05/0.4888, allocations: 0 / 0.5826 GB, free: 7.957 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.007179/0.496, allocations: 3.223 MB / 0.5858 GB, free: 4.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.496, allocations: 8.031 kB / 0.5858 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003965/0.4964, allocations: 291.9 kB / 0.5861 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.4991, allocations: 0.5919 MB / 0.5866 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.5015, allocations: 1.073 MB / 0.5877 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.5017, allocations: 164.6 kB / 0.5878 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004416/0.5021, allocations: 228.2 kB / 0.5881 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004843/0.507, allocations: 2.818 MB / 0.5908 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.507, allocations: 0 / 0.5908 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.5072, allocations: 84 kB / 0.5909 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.5073, allocations: 52 kB / 0.5909 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006006/0.5133, allocations: 3.788 MB / 0.5946 GB, free: 11.45 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.01474/0.528, allocations: 6.974 MB / 0.6015 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006195/0.5342, allocations: 3.254 MB / 0.6046 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.5359, allocations: 0.9114 MB / 0.6055 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.5475, allocations: 4.677 MB / 0.6101 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.5475, allocations: 59.86 kB / 0.6101 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007023/0.5482, allocations: 182.6 kB / 0.6103 GB, free: 11.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.218e-06/0.5482, allocations: 0 / 0.6103 GB, free: 11.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.0272/0.5754, allocations: 6.189 MB / 0.6164 GB, free: 5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.5755, allocations: 69.41 kB / 0.6164 GB, free: 4.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.5779, allocations: 1.741 MB / 0.6181 GB, free: 3.164 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.5782, allocations: 57.7 kB / 0.6182 GB, free: 3.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008893/0.5791, allocations: 1.073 MB / 0.6192 GB, free: 2.016 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006821/0.5798, allocations: 0.6198 MB / 0.6198 GB, free: 1.391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007103/0.5805, allocations: 476.8 kB / 0.6203 GB, free: 0.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5806, allocations: 313 kB / 0.6206 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.582, allocations: 0.8053 MB / 0.6214 GB, free: 15.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.5842, allocations: 1.608 MB / 0.623 GB, free: 13.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/0.5879, allocations: 2.424 MB / 0.6253 GB, free: 11.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/0.5879, allocations: 11.94 kB / 0.6253 GB, free: 11.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008183/0.5961, allocations: 3.152 MB / 0.6284 GB, free: 7.855 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.5962, allocations: 16 kB / 0.6284 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/0.5962, allocations: 28 kB / 0.6284 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/0.5996, allocations: 487.1 kB / 0.6289 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/0.6017, allocations: 0.5889 MB / 0.6295 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.6126, allocations: 7.251 MB / 0.6366 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.6144, allocations: 83.98 kB / 0.6366 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002914/0.6147, allocations: 140 kB / 0.6368 GB, free: 14.82 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.0008629/0.6155, allocations: 413.4 kB / 0.6372 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.616, allocations: 178.9 kB / 0.6373 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007158/0.6232, allocations: 2.401 MB / 0.6397 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.6232, allocations: 16 kB / 0.6397 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6232, allocations: 0 / 0.6397 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/0.6232, allocations: 7.969 kB / 0.6397 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.6261, allocations: 1.581 MB / 0.6413 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.6261, allocations: 4 kB / 0.6413 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.6275, allocations: 351.8 kB / 0.6416 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003355/0.6308, allocations: 458.8 kB / 0.642 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/0.6311, allocations: 63.97 kB / 0.6421 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.6411, allocations: 7.048 MB / 0.649 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6411, allocations: 0 / 0.649 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008012/0.6491, allocations: 3.008 MB / 0.6519 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/0.6497, allocations: 166.7 kB / 0.6521 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.6499, allocations: 36 kB / 0.6521 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008368/0.6508, allocations: 43.98 kB / 0.6522 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/0.6511, allocations: 153.7 kB / 0.6523 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.6512, allocations: 71.97 kB / 0.6524 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00151/0.6528, allocations: 1.157 MB / 0.6535 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6528, allocations: 0 / 0.6535 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004084/0.6568, allocations: 1.383 MB / 0.6548 GB, free: 11.68 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.01115/0.668, allocations: 4.995 MB / 0.6597 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004487/0.6725, allocations: 2.384 MB / 0.6621 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6725, allocations: 0.9375 kB / 0.6621 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.6746, allocations: 1.275 MB / 0.6633 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.6764, allocations: 371.2 kB / 0.6637 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03148/0.7079, allocations: 16.58 MB / 0.6799 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/0.7088, allocations: 0.8141 MB / 0.6806 GB, free: 44 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001618/0.7104, allocations: 437.5 kB / 0.6811 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.7117, allocations: 0.9517 MB / 0.682 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of SimCode: time 9.01e-07/0.7117, allocations: 0 / 0.682 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3554/1.067, allocations: 66.43 MB / 0.7469 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/16.1, allocations: 7.344 kB / 0.7469 GB, free: 177.9 MB / 0.5606 GB " [Timeout remaining time 644] (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: 18.875490695005283] Failed to read output from testmodel.py, exit status != 0: 16.256555795000168 16.273905104 15.781332292 Calling exit ...