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.001275/0.001275, 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.001468/0.001468, allocations: 216 kB / 22.25 MB, free: 5.102 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.801 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.1321/0.1321, allocations: 23.89 MB / 336.3 MB, free: 10.96 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.002011/0.002011, allocations: 71.89 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3091, allocations: 59.85 MB / 0.5185 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009016/0.3181, allocations: 9.12 MB / 0.5274 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03913/0.3572, allocations: 28.96 MB / 0.5557 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.3593, allocations: 35.5 kB / 0.5557 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.3614, allocations: 0.6245 MB / 0.5564 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007974/0.3694, allocations: 2.62 MB / 0.5589 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01313/0.3825, allocations: 4.37 MB / 0.5632 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005193/0.3877, allocations: 3.024 MB / 0.5661 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.3904, allocations: 1.367 MB / 0.5675 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.3937, allocations: 1.484 MB / 0.5689 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.3973, allocations: 1.639 MB / 0.5705 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007909/0.3981, allocations: 264 kB / 0.5708 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/0.4092, allocations: 3.518 MB / 0.5742 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.4103, allocations: 0.6075 MB / 0.5748 GB, free: 8 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.4122, allocations: 1.132 MB / 0.5759 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01799/0.4302, allocations: 6.805 MB / 0.5826 GB, free: 8.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4302, allocations: 0 / 0.5826 GB, free: 8.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4302, allocations: 0 / 0.5826 GB, free: 8.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.585e-05/0.4303, allocations: 0 / 0.5826 GB, free: 8.039 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.007985/0.4383, allocations: 3.231 MB / 0.5857 GB, free: 4.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.4383, allocations: 12.03 kB / 0.5857 GB, free: 4.742 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004288/0.4388, allocations: 291.9 kB / 0.586 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.4415, allocations: 0.5804 MB / 0.5866 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.4437, allocations: 1.077 MB / 0.5876 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.4438, allocations: 160.6 kB / 0.5878 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003641/0.4442, allocations: 220.3 kB / 0.588 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/0.4487, allocations: 2.818 MB / 0.5907 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/0.4488, allocations: 0 / 0.5907 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.449, allocations: 84 kB / 0.5908 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.449, allocations: 52 kB / 0.5909 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005986/0.455, allocations: 3.795 MB / 0.5946 GB, free: 11.53 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.01417/0.4692, allocations: 6.978 MB / 0.6014 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005825/0.475, allocations: 3.261 MB / 0.6046 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.4765, allocations: 0.9075 MB / 0.6055 GB, free: 260 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/0.4874, allocations: 4.688 MB / 0.61 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.4874, allocations: 43.88 kB / 0.6101 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006245/0.4881, allocations: 186.6 kB / 0.6102 GB, free: 11.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.486e-06/0.4881, allocations: 4 kB / 0.6103 GB, free: 11.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02672/0.5148, allocations: 6.189 MB / 0.6163 GB, free: 5.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.5148, allocations: 69.41 kB / 0.6164 GB, free: 4.988 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.5171, allocations: 1.737 MB / 0.6181 GB, free: 3.238 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.5173, allocations: 53.7 kB / 0.6181 GB, free: 3.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008223/0.5181, allocations: 1.081 MB / 0.6192 GB, free: 2.086 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006008/0.5187, allocations: 0.6159 MB / 0.6198 GB, free: 1.465 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000678/0.5194, allocations: 480.8 kB / 0.6202 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5195, allocations: 305.1 kB / 0.6205 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.5209, allocations: 0.8093 MB / 0.6213 GB, free: 15.87 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.5229, allocations: 1.612 MB / 0.6229 GB, free: 13.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.5264, allocations: 2.428 MB / 0.6253 GB, free: 11.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.5264, allocations: 8 kB / 0.6253 GB, free: 11.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007881/0.5343, allocations: 3.144 MB / 0.6283 GB, free: 7.934 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.5343, allocations: 16 kB / 0.6283 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/0.5343, allocations: 31.94 kB / 0.6284 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/0.5377, allocations: 487.1 kB / 0.6288 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.5398, allocations: 0.5889 MB / 0.6294 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.5503, allocations: 7.247 MB / 0.6365 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.5521, allocations: 80 kB / 0.6366 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.5524, allocations: 143.9 kB / 0.6367 GB, free: 14.89 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.0008155/0.5532, allocations: 421.5 kB / 0.6371 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.5535, allocations: 174.9 kB / 0.6373 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007227/0.5608, allocations: 2.396 MB / 0.6396 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.5608, allocations: 20 kB / 0.6396 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5608, allocations: 0 / 0.6396 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.5608, allocations: 7.969 kB / 0.6396 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.5636, allocations: 1.582 MB / 0.6412 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5636, allocations: 3.938 kB / 0.6412 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.5649, allocations: 347.6 kB / 0.6415 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003346/0.5683, allocations: 451.1 kB / 0.642 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.5684, allocations: 63.97 kB / 0.642 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009835/0.5783, allocations: 7.052 MB / 0.6489 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5783, allocations: 4.031 kB / 0.6489 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007904/0.5862, allocations: 3.008 MB / 0.6518 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/0.5868, allocations: 170.7 kB / 0.652 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.587, allocations: 39.98 kB / 0.652 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008295/0.5878, allocations: 47.94 kB / 0.6521 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/0.5882, allocations: 157.7 kB / 0.6522 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.5883, allocations: 71.97 kB / 0.6523 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001448/0.5898, allocations: 1.153 MB / 0.6534 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5898, allocations: 0 / 0.6534 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004033/0.5938, allocations: 1.383 MB / 0.6548 GB, free: 11.75 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.011/0.6048, allocations: 4.977 MB / 0.6596 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004378/0.6092, allocations: 2.392 MB / 0.662 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.6092, allocations: 0 / 0.662 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.6112, allocations: 1.28 MB / 0.6632 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.613, allocations: 377.4 kB / 0.6636 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/0.6456, allocations: 16.58 MB / 0.6798 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.6467, allocations: 0.8024 MB / 0.6806 GB, free: 124 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001893/0.6485, allocations: 437.4 kB / 0.681 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/0.6501, allocations: 0.9595 MB / 0.6819 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.6501, allocations: 0 / 0.6819 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3606/1.011, allocations: 66.43 MB / 0.7468 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.92, allocations: 9.453 kB / 0.7468 GB, free: 177.9 MB / 0.5606 GB " [Timeout remaining time 644] (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 os._exit(0), Time elapsed: 18.58689518898609] Failed to read output from testmodel.py, exit status != 0: 16.07323813100811 16.093237999 15.658950306 Calling exit ...