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.001556/0.001556, allocations: 103 kB / 16.45 MB, free: 6.449 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.001791/0.001791, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.203/0.203, allocations: 23.88 MB / 332.7 MB, free: 12.37 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.00228/0.00228, allocations: 63.91 kB / 466 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3677, allocations: 59.83 MB / 0.5135 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.009228/0.3769, allocations: 7.039 MB / 0.5204 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0284/0.4053, allocations: 21.89 MB / 0.5418 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.407, allocations: 22.09 kB / 0.5418 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.4088, allocations: 450.7 kB / 0.5422 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007221/0.416, allocations: 1.663 MB / 0.5438 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.4274, allocations: 2.815 MB / 0.5466 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004039/0.4315, allocations: 1.835 MB / 0.5484 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.4331, allocations: 0.7679 MB / 0.5491 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.4352, allocations: 0.8691 MB / 0.55 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.4375, allocations: 0.9551 MB / 0.5509 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000436/0.438, allocations: 153.2 kB / 0.5511 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.4489, allocations: 2.34 MB / 0.5533 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008772/0.4498, allocations: 369 kB / 0.5537 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.4514, allocations: 0.7969 MB / 0.5545 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.4657, allocations: 4.254 MB / 0.5586 GB, free: 10.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4657, allocations: 0 / 0.5586 GB, free: 10.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4657, allocations: 0 / 0.5586 GB, free: 10.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.283e-05/0.4657, allocations: 1 kB / 0.5586 GB, free: 10.72 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.005624/0.4714, allocations: 2.126 MB / 0.5607 GB, free: 9.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4714, allocations: 13.88 kB / 0.5607 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003091/0.4717, allocations: 181.2 kB / 0.5609 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.4738, allocations: 389 kB / 0.5613 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.4756, allocations: 0.7601 MB / 0.562 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.304e-05/0.4757, allocations: 92.44 kB / 0.5621 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/0.476, allocations: 134.8 kB / 0.5622 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/0.4797, allocations: 1.759 MB / 0.5639 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.4797, allocations: 1.031 kB / 0.5639 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.4799, allocations: 50.75 kB / 0.564 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.4799, allocations: 29.5 kB / 0.564 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.4843, allocations: 2.486 MB / 0.5665 GB, free: 4.738 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.01097/0.4953, allocations: 5.12 MB / 0.5715 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/0.4993, allocations: 2.179 MB / 0.5736 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.5004, allocations: 495.1 kB / 0.5741 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008892/0.5093, allocations: 5.328 MB / 0.5793 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.5093, allocations: 43.22 kB / 0.5793 GB, free: 6.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.176e-06/0.5093, allocations: 0 / 0.5793 GB, free: 6.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01579/0.5251, allocations: 3.391 MB / 0.5826 GB, free: 3.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.5252, allocations: 64.34 kB / 0.5827 GB, free: 3.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.527, allocations: 1.3 MB / 0.5839 GB, free: 1.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.5271, allocations: 41.7 kB / 0.584 GB, free: 1.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005797/0.5277, allocations: 0.7061 MB / 0.5847 GB, free: 1.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.5281, allocations: 333.2 kB / 0.585 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00045/0.5285, allocations: 291.4 kB / 0.5853 GB, free: 440 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5287, allocations: 357.9 kB / 0.5856 GB, free: 76 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.5296, allocations: 0.5115 MB / 0.5861 GB, free: 15.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.5311, allocations: 1.008 MB / 0.5871 GB, free: 14.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.5334, allocations: 1.426 MB / 0.5885 GB, free: 12.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.5334, allocations: 4 kB / 0.5885 GB, free: 12.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005188/0.5386, allocations: 1.912 MB / 0.5904 GB, free: 10.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.5387, allocations: 12 kB / 0.5904 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/0.5387, allocations: 16 kB / 0.5904 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.5408, allocations: 249.6 kB / 0.5906 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.542, allocations: 347.5 kB / 0.5909 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006295/0.5483, allocations: 3.877 MB / 0.5947 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.5496, allocations: 44 kB / 0.5948 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.5497, allocations: 83.97 kB / 0.5949 GB, free: 5.867 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.0005616/0.5503, allocations: 293.3 kB / 0.5951 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.5506, allocations: 115.2 kB / 0.5952 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/0.5549, allocations: 1.241 MB / 0.5965 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.5549, allocations: 8 kB / 0.5965 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.5549, allocations: 4 kB / 0.5965 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.5549, allocations: 8.062 kB / 0.5965 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.5571, allocations: 1.105 MB / 0.5976 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.5571, allocations: 0 / 0.5976 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/0.5579, allocations: 175.8 kB / 0.5977 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.5599, allocations: 229.5 kB / 0.5979 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.5601, allocations: 35.98 kB / 0.598 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005878/0.5659, allocations: 3.768 MB / 0.6017 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.566, allocations: 4.031 kB / 0.6017 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004995/0.5709, allocations: 1.6 MB / 0.6032 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.5714, allocations: 180.4 kB / 0.6034 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.5717, allocations: 24 kB / 0.6034 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/0.5724, allocations: 20 kB / 0.6034 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.5726, allocations: 80.77 kB / 0.6035 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/0.5727, allocations: 35.98 kB / 0.6035 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001324/0.574, allocations: 0.914 MB / 0.6044 GB, free: 11.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.574, allocations: 4 kB / 0.6044 GB, free: 11.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003254/0.5773, allocations: 0.8491 MB / 0.6053 GB, free: 10.76 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.007751/0.585, allocations: 3.067 MB / 0.6083 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.588, allocations: 1.356 MB / 0.6096 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.588, allocations: 3.938 kB / 0.6096 GB, free: 6.262 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.5892, allocations: 0.6488 MB / 0.6102 GB, free: 5.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5908, allocations: 235.3 kB / 0.6105 GB, free: 5.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/0.613, allocations: 10.6 MB / 0.6208 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008924/0.6139, allocations: 1.077 MB / 0.6219 GB, free: 9.059 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.6149, allocations: 259.9 kB / 0.6221 GB, free: 8.809 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000907/0.6158, allocations: 0.5419 MB / 0.6226 GB, free: 8.266 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6158, allocations: 0 / 0.6226 GB, free: 8.266 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09809/0.7139, allocations: 38.98 MB / 0.6607 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/16.72, allocations: 4 kB / 0.6607 GB, free: 1.547 MB / 0.4981 GB " [Timeout remaining time 643] (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 sys.exit(0), Time elapsed: 19.797064605169] Failed to read output from testmodel.py, exit status != 0: 16.842186752008274 16.864654229 16.394144801 Calling exit ...