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.001262/0.001262, 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.001379/0.001379, allocations: 220.2 kB / 22.26 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.965 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.129/0.129, allocations: 23.89 MB / 336.3 MB, free: 11.14 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_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.00196/0.00196, allocations: 67.89 kB / 471.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3034, allocations: 59.88 MB / 0.5187 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006592/0.31, allocations: 7.072 MB / 0.5256 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02529/0.3353, allocations: 21.94 MB / 0.547 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.3364, allocations: 22.19 kB / 0.547 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.3377, allocations: 450.4 kB / 0.5474 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00464/0.3424, allocations: 1.679 MB / 0.5491 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00841/0.3508, allocations: 2.841 MB / 0.5518 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.3538, allocations: 1.831 MB / 0.5536 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.3549, allocations: 0.7761 MB / 0.5544 GB, free: 204 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3559, allocations: 0.866 MB / 0.5552 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.3572, allocations: 0.9557 MB / 0.5562 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.3574, allocations: 157.1 kB / 0.5563 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007786/0.3652, allocations: 2.345 MB / 0.5586 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.3656, allocations: 368 kB / 0.559 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.3666, allocations: 0.7852 MB / 0.5597 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009635/0.3763, allocations: 4.254 MB / 0.5639 GB, free: 10.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3763, allocations: 5.312 kB / 0.5639 GB, free: 10.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3763, allocations: 0 / 0.5639 GB, free: 10.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.3763, allocations: 4 kB / 0.5639 GB, free: 10.87 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.003962/0.3803, allocations: 2.055 MB / 0.5659 GB, free: 9.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3803, allocations: 10 kB / 0.5659 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.3805, allocations: 180.1 kB / 0.5661 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.3821, allocations: 391.1 kB / 0.5665 GB, free: 8.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.3835, allocations: 0.7041 MB / 0.5671 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.899e-05/0.3836, allocations: 94.84 kB / 0.5672 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.3838, allocations: 124.3 kB / 0.5673 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.3865, allocations: 1.787 MB / 0.5691 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.3866, allocations: 7.922 kB / 0.5691 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.3867, allocations: 52 kB / 0.5692 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.3867, allocations: 32 kB / 0.5692 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.3903, allocations: 2.52 MB / 0.5716 GB, free: 3.492 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.008453/0.3988, allocations: 5.089 MB / 0.5766 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.4021, allocations: 1.882 MB / 0.5785 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.4029, allocations: 498.7 kB / 0.5789 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006146/0.4091, allocations: 2.859 MB / 0.5817 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.4091, allocations: 47.14 kB / 0.5818 GB, free: 8.891 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.174e-06/0.4091, allocations: 0 / 0.5818 GB, free: 8.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01428/0.4234, allocations: 3.226 MB / 0.5849 GB, free: 5.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.4235, allocations: 64.41 kB / 0.585 GB, free: 5.555 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.425, allocations: 1.327 MB / 0.5863 GB, free: 4.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/0.4251, allocations: 41.7 kB / 0.5863 GB, free: 4.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/0.4256, allocations: 0.6944 MB / 0.587 GB, free: 3.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.4259, allocations: 333.2 kB / 0.5873 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.4263, allocations: 291.4 kB / 0.5876 GB, free: 2.832 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4265, allocations: 361.9 kB / 0.5879 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/0.4273, allocations: 0.5232 MB / 0.5884 GB, free: 1.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.4285, allocations: 1.008 MB / 0.5894 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.4305, allocations: 1.449 MB / 0.5908 GB, free: 15.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.4305, allocations: 4 kB / 0.5908 GB, free: 15.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004693/0.4352, allocations: 1.932 MB / 0.5927 GB, free: 13.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.4352, allocations: 12 kB / 0.5927 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.4352, allocations: 16 kB / 0.5928 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.4372, allocations: 249.5 kB / 0.593 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.4383, allocations: 355.5 kB / 0.5933 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.444, allocations: 3.666 MB / 0.5969 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.4451, allocations: 52.12 kB / 0.597 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.4453, allocations: 88.03 kB / 0.597 GB, free: 8.453 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.0005018/0.4458, allocations: 293.8 kB / 0.5973 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.446, allocations: 115.2 kB / 0.5974 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/0.4499, allocations: 1.244 MB / 0.5987 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.4499, allocations: 12 kB / 0.5987 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4499, allocations: 0 / 0.5987 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.45, allocations: 7.969 kB / 0.5987 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.4515, allocations: 1.069 MB / 0.5997 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.4515, allocations: 0 / 0.5997 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/0.4522, allocations: 175.8 kB / 0.5999 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.4541, allocations: 233.5 kB / 0.6001 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/0.4542, allocations: 31.98 kB / 0.6001 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/0.4592, allocations: 3.557 MB / 0.6036 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4592, allocations: 8 kB / 0.6036 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.4634, allocations: 1.6 MB / 0.6052 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.4637, allocations: 103.3 kB / 0.6053 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.4638, allocations: 24 kB / 0.6053 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/0.4643, allocations: 20 kB / 0.6053 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.4645, allocations: 84.73 kB / 0.6054 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.4645, allocations: 35.98 kB / 0.6054 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.4656, allocations: 0.9336 MB / 0.6063 GB, free: 14.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4656, allocations: 0 / 0.6063 GB, free: 14.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002354/0.468, allocations: 0.8491 MB / 0.6072 GB, free: 13.71 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.006332/0.4743, allocations: 3.075 MB / 0.6102 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002321/0.4766, allocations: 1.367 MB / 0.6115 GB, free: 9.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4766, allocations: 0 / 0.6115 GB, free: 9.203 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.4776, allocations: 0.6491 MB / 0.6121 GB, free: 8.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.4788, allocations: 229.2 kB / 0.6124 GB, free: 8.312 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/0.4972, allocations: 10.66 MB / 0.6228 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.4979, allocations: 1.077 MB / 0.6238 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009181/0.4988, allocations: 259.9 kB / 0.6241 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007582/0.4996, allocations: 0.5456 MB / 0.6246 GB, free: 11.15 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4996, allocations: 0 / 0.6246 GB, free: 11.15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08216/0.5818, allocations: 40.09 MB / 0.6638 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.23, allocations: 6.438 kB / 0.6638 GB, free: 3.305 MB / 0.4981 GB " [Timeout remaining time 644] (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: 18.867861350001476] Failed to read output from testmodel.py, exit status != 0: 16.37293094299821 16.389098639 16.009466537 Calling exit ...