Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001509/0.001509, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001533/0.001533, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.992 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.1302/0.1302, allocations: 23.86 MB / 336.3 MB, free: 11.19 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_blood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_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.001935/0.001935, allocations: 63.91 kB / 471.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2887, allocations: 59.86 MB / 0.5186 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006176/0.2949, allocations: 7.089 MB / 0.5255 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02385/0.3187, allocations: 21.94 MB / 0.5469 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.3199, allocations: 17.38 kB / 0.5469 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.3211, allocations: 459.7 kB / 0.5474 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.326, allocations: 1.674 MB / 0.549 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008798/0.3348, allocations: 2.844 MB / 0.5518 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00296/0.3378, allocations: 1.832 MB / 0.5536 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.3388, allocations: 0.7684 MB / 0.5543 GB, free: 240 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.3399, allocations: 0.8745 MB / 0.5552 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.3412, allocations: 0.9485 MB / 0.5561 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.3414, allocations: 151.5 kB / 0.5562 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008015/0.3494, allocations: 2.35 MB / 0.5585 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.3498, allocations: 360.4 kB / 0.5589 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.3508, allocations: 0.7925 MB / 0.5597 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.3616, allocations: 4.266 MB / 0.5638 GB, free: 10.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3617, allocations: 0 / 0.5638 GB, free: 10.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3617, allocations: 1.188 kB / 0.5638 GB, free: 10.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.3617, allocations: 0 / 0.5638 GB, free: 10.9 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.004162/0.3658, allocations: 2.051 MB / 0.5658 GB, free: 9.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3659, allocations: 9.312 kB / 0.5658 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.3661, allocations: 185.4 kB / 0.566 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.3677, allocations: 391.4 kB / 0.5664 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.3691, allocations: 0.6964 MB / 0.5671 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.3692, allocations: 94.84 kB / 0.5672 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.3694, allocations: 128.3 kB / 0.5673 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.3721, allocations: 1.783 MB / 0.569 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.3721, allocations: 0 / 0.569 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.3722, allocations: 52 kB / 0.5691 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.3722, allocations: 28 kB / 0.5691 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003518/0.3758, allocations: 2.52 MB / 0.5716 GB, free: 3.562 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.008435/0.3842, allocations: 5.101 MB / 0.5765 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.3875, allocations: 1.882 MB / 0.5784 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007687/0.3883, allocations: 498.6 kB / 0.5789 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006275/0.3946, allocations: 2.87 MB / 0.5817 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.3946, allocations: 39.22 kB / 0.5817 GB, free: 8.945 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.726e-06/0.3946, allocations: 7.938 kB / 0.5817 GB, free: 8.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01484/0.4095, allocations: 3.226 MB / 0.5849 GB, free: 5.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.4095, allocations: 60.41 kB / 0.5849 GB, free: 5.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.4111, allocations: 1.323 MB / 0.5862 GB, free: 4.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.4112, allocations: 41.7 kB / 0.5862 GB, free: 4.211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/0.4117, allocations: 0.6983 MB / 0.5869 GB, free: 3.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.412, allocations: 337.2 kB / 0.5872 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004331/0.4124, allocations: 287.4 kB / 0.5875 GB, free: 2.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4126, allocations: 365.9 kB / 0.5879 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008115/0.4134, allocations: 0.5232 MB / 0.5884 GB, free: 1.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.4147, allocations: 1.008 MB / 0.5894 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.4167, allocations: 1.441 MB / 0.5908 GB, free: 15.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.4167, allocations: 8 kB / 0.5908 GB, free: 15.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004758/0.4214, allocations: 1.936 MB / 0.5927 GB, free: 13.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.4215, allocations: 12 kB / 0.5927 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.4215, allocations: 12.09 kB / 0.5927 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/0.4235, allocations: 245.5 kB / 0.5929 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.4246, allocations: 355.5 kB / 0.5933 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.4302, allocations: 3.67 MB / 0.5968 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.4313, allocations: 47.94 kB / 0.5969 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.4314, allocations: 83.92 kB / 0.597 GB, free: 8.512 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.0004896/0.4319, allocations: 293.8 kB / 0.5973 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.4321, allocations: 119.2 kB / 0.5974 GB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/0.4361, allocations: 1.244 MB / 0.5986 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4361, allocations: 15.98 kB / 0.5986 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4361, allocations: 0 / 0.5986 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4361, allocations: 7.984 kB / 0.5986 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.4377, allocations: 1.062 MB / 0.5996 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.4377, allocations: 4 kB / 0.5996 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.4384, allocations: 175.9 kB / 0.5998 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.4404, allocations: 237.4 kB / 0.6 GB, free: 5.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.4404, allocations: 31.98 kB / 0.6001 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005201/0.4456, allocations: 3.557 MB / 0.6035 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.4456, allocations: 4.031 kB / 0.6036 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.4499, allocations: 1.611 MB / 0.6051 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.4501, allocations: 99.34 kB / 0.6052 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.4503, allocations: 16 kB / 0.6052 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005283/0.4508, allocations: 27.98 kB / 0.6053 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.451, allocations: 80.8 kB / 0.6053 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.451, allocations: 39.98 kB / 0.6054 GB, free: 15.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00109/0.4521, allocations: 0.9258 MB / 0.6063 GB, free: 14.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4521, allocations: 0 / 0.6063 GB, free: 14.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002718/0.4548, allocations: 0.8491 MB / 0.6071 GB, free: 13.77 MB / 462.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.006307/0.4611, allocations: 3.067 MB / 0.6101 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.4635, allocations: 1.352 MB / 0.6114 GB, free: 9.281 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4635, allocations: 0 / 0.6114 GB, free: 9.281 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000977/0.4644, allocations: 0.66 MB / 0.6121 GB, free: 8.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4655, allocations: 245.4 kB / 0.6123 GB, free: 8.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/0.484, allocations: 10.66 MB / 0.6227 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.4847, allocations: 1.077 MB / 0.6238 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000864/0.4856, allocations: 264 kB / 0.624 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/0.4863, allocations: 0.5416 MB / 0.6245 GB, free: 11.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4863, allocations: 0 / 0.6245 GB, free: 11.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09034/0.5767, allocations: 40.08 MB / 0.6637 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/15.9, allocations: 8 kB / 0.6637 GB, free: 3.355 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_GasSolubility_blood.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.55388935800147] Failed to read output from testmodel.py, exit status != 0: 16.04281628800527 16.069672097 15.702837625999999 Calling exit ...