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.001309/0.001309, allocations: 108.2 kB / 16.45 MB, free: 6.453 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.002622/0.002622, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.1566/0.1566, allocations: 23.86 MB / 332.7 MB, free: 12.38 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.002066/0.002066, allocations: 71.88 kB / 466 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3894, allocations: 59.82 MB / 0.5135 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01217/0.4015, allocations: 10.4 MB / 0.5236 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04826/0.4498, allocations: 33.05 MB / 0.5559 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003245/0.453, allocations: 34.66 kB / 0.5559 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003024/0.4561, allocations: 0.6908 MB / 0.5566 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009742/0.4658, allocations: 2.639 MB / 0.5592 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01879/0.4846, allocations: 4.325 MB / 0.5634 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006073/0.4907, allocations: 3.02 MB / 0.5664 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.4939, allocations: 1.365 MB / 0.5677 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.4981, allocations: 1.478 MB / 0.5691 GB, free: 272 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/0.502, allocations: 1.631 MB / 0.5707 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007428/0.5027, allocations: 262.6 kB / 0.571 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/0.5152, allocations: 3.662 MB / 0.5746 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009458/0.5162, allocations: 0.6114 MB / 0.5752 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002118/0.5183, allocations: 1.326 MB / 0.5764 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.5348, allocations: 6.836 MB / 0.5831 GB, free: 3.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5348, allocations: 0 / 0.5831 GB, free: 3.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.5348, allocations: 0 / 0.5831 GB, free: 3.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.345e-05/0.5349, allocations: 0 / 0.5831 GB, free: 3.676 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.00727/0.5422, allocations: 3.306 MB / 0.5864 GB, free: 304 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5422, allocations: 8.031 kB / 0.5864 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004218/0.5426, allocations: 299.9 kB / 0.5866 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/0.5455, allocations: 0.5843 MB / 0.5872 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.5478, allocations: 1.146 MB / 0.5883 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.548, allocations: 160.6 kB / 0.5885 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004097/0.5484, allocations: 220.3 kB / 0.5887 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005579/0.5539, allocations: 2.79 MB / 0.5914 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.554, allocations: 3.938 kB / 0.5914 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/0.5542, allocations: 88 kB / 0.5915 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/0.5543, allocations: 48 kB / 0.5916 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007349/0.5617, allocations: 3.799 MB / 0.5953 GB, free: 7.004 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.01595/0.5776, allocations: 8.352 MB / 0.6034 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006517/0.5841, allocations: 3.845 MB / 0.6072 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.5858, allocations: 0.9084 MB / 0.6081 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01391/0.5997, allocations: 9.247 MB / 0.6171 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.5997, allocations: 43.88 kB / 0.6171 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006794/0.6004, allocations: 190.6 kB / 0.6173 GB, free: 14.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=138): time 3.787e-06/0.6004, allocations: 4 kB / 0.6173 GB, free: 14.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=170): time 0.03069/0.6311, allocations: 6.415 MB / 0.6236 GB, free: 8.379 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.6311, allocations: 69.41 kB / 0.6237 GB, free: 8.297 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.6335, allocations: 1.664 MB / 0.6253 GB, free: 6.621 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.6337, allocations: 53.64 kB / 0.6253 GB, free: 6.562 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008001/0.6345, allocations: 1.081 MB / 0.6264 GB, free: 5.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006162/0.6352, allocations: 0.612 MB / 0.627 GB, free: 4.852 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007425/0.6359, allocations: 484.8 kB / 0.6274 GB, free: 4.371 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.636, allocations: 305.1 kB / 0.6277 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.6375, allocations: 0.7936 MB / 0.6285 GB, free: 3.273 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.6397, allocations: 1.593 MB / 0.6301 GB, free: 1.312 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00377/0.6435, allocations: 2.417 MB / 0.6324 GB, free: 14.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.6435, allocations: 8 kB / 0.6324 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00888/0.6524, allocations: 3.124 MB / 0.6355 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.6524, allocations: 16 kB / 0.6355 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.34e-05/0.6525, allocations: 27.98 kB / 0.6355 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003986/0.6564, allocations: 483.1 kB / 0.636 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/0.6587, allocations: 0.5967 MB / 0.6366 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.6706, allocations: 7.718 MB / 0.6441 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.6725, allocations: 83.98 kB / 0.6442 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/0.6728, allocations: 140 kB / 0.6443 GB, free: 1.773 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.0009097/0.6737, allocations: 420.8 kB / 0.6447 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/0.6742, allocations: 183.1 kB / 0.6449 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008099/0.6823, allocations: 2.393 MB / 0.6472 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/0.6823, allocations: 20 kB / 0.6473 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6823, allocations: 0 / 0.6473 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-05/0.6824, allocations: 7.969 kB / 0.6473 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.6862, allocations: 1.863 MB / 0.6491 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.6862, allocations: 0 / 0.6491 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.6877, allocations: 339.6 kB / 0.6494 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003912/0.6916, allocations: 463.1 kB / 0.6498 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.6919, allocations: 59.97 kB / 0.6499 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.7026, allocations: 7.54 MB / 0.6573 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7026, allocations: 4 kB / 0.6573 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00899/0.7116, allocations: 3 MB / 0.6602 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/0.7121, allocations: 239.8 kB / 0.6604 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.7123, allocations: 43.98 kB / 0.6605 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/0.7133, allocations: 36 kB / 0.6605 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/0.7137, allocations: 157.8 kB / 0.6607 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.7138, allocations: 71.97 kB / 0.6607 GB, free: 220 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001621/0.7155, allocations: 1.126 MB / 0.6618 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7155, allocations: 0 / 0.6618 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004922/0.7204, allocations: 1.383 MB / 0.6632 GB, free: 13.7 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.01434/0.7347, allocations: 4.99 MB / 0.668 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005674/0.7404, allocations: 2.395 MB / 0.6704 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7404, allocations: 4 kB / 0.6704 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.7426, allocations: 1.265 MB / 0.6716 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.7445, allocations: 373 kB / 0.672 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/0.7772, allocations: 16.52 MB / 0.6881 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.7783, allocations: 1.378 MB / 0.6895 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00159/0.7799, allocations: 441.5 kB / 0.6899 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.7813, allocations: 0.9592 MB / 0.6908 GB, free: 196 kB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.7813, allocations: 4 kB / 0.6908 GB, free: 192 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3714/1.153, allocations: 63.21 MB / 0.7526 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.49/20.64, allocations: 7.219 kB / 0.7526 GB, free: 172.1 MB / 0.5606 GB " [Timeout remaining time 639] (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: 23.647575463997782] Failed to read output from testmodel.py, exit status != 0: 20.777032088997657 20.795920926 20.25720343 Calling exit ...