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.001318/0.001318, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001505/0.001505, allocations: 214.2 kB / 22.25 MB, free: 5.262 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.797 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.1383/0.1383, allocations: 23.88 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_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.002139/0.002139, allocations: 75.88 kB / 471.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 59.86 MB / 0.5185 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.00776/0.3214, allocations: 6.268 MB / 0.5246 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02426/0.3457, allocations: 19.18 MB / 0.5434 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.3469, allocations: 25.44 kB / 0.5434 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3482, allocations: 403.7 kB / 0.5438 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.3535, allocations: 1.635 MB / 0.5454 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008879/0.3624, allocations: 2.856 MB / 0.5482 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003324/0.3657, allocations: 1.827 MB / 0.55 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.367, allocations: 0.7495 MB / 0.5507 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.3682, allocations: 0.8705 MB / 0.5515 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.3695, allocations: 0.8585 MB / 0.5524 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.3698, allocations: 151.8 kB / 0.5525 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007904/0.3777, allocations: 2.202 MB / 0.5547 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005006/0.3782, allocations: 365.4 kB / 0.555 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.3793, allocations: 0.6723 MB / 0.5557 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.3921, allocations: 4.234 MB / 0.5598 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3921, allocations: 0 / 0.5598 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3921, allocations: 1.438 kB / 0.5598 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.273e-05/0.3922, allocations: 0 / 0.5598 GB, free: 15.13 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.004521/0.3967, allocations: 2.052 MB / 0.5618 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3967, allocations: 19.91 kB / 0.5618 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002357/0.397, allocations: 182 kB / 0.562 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.3987, allocations: 387.3 kB / 0.5624 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.4001, allocations: 0.7003 MB / 0.5631 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/0.4002, allocations: 98.84 kB / 0.5632 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.4005, allocations: 128.3 kB / 0.5633 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/0.4033, allocations: 1.783 MB / 0.565 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.4033, allocations: 0 / 0.565 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.4034, allocations: 55.98 kB / 0.5651 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.4035, allocations: 28 kB / 0.5651 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.4072, allocations: 2.493 MB / 0.5675 GB, free: 7.363 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.008643/0.4159, allocations: 4.332 MB / 0.5718 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003592/0.4195, allocations: 1.839 MB / 0.5736 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/0.4203, allocations: 490.7 kB / 0.574 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00715/0.4274, allocations: 2.715 MB / 0.5767 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4275, allocations: 35.22 kB / 0.5767 GB, free: 13.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.166e-06/0.4275, allocations: 4 kB / 0.5767 GB, free: 13.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01486/0.4423, allocations: 3.232 MB / 0.5799 GB, free: 10.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4424, allocations: 64.41 kB / 0.5799 GB, free: 10.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.4442, allocations: 1.346 MB / 0.5813 GB, free: 9.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.532e-05/0.4443, allocations: 41.7 kB / 0.5813 GB, free: 9.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/0.4448, allocations: 0.7022 MB / 0.582 GB, free: 8.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.4451, allocations: 345.1 kB / 0.5823 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/0.4455, allocations: 291.4 kB / 0.5826 GB, free: 7.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4457, allocations: 357.9 kB / 0.5829 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008848/0.4466, allocations: 0.5309 MB / 0.5834 GB, free: 6.844 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.448, allocations: 1.008 MB / 0.5844 GB, free: 5.621 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.45, allocations: 1.441 MB / 0.5858 GB, free: 3.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.4501, allocations: 4 kB / 0.5858 GB, free: 3.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004839/0.4549, allocations: 1.928 MB / 0.5877 GB, free: 2.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.4549, allocations: 12 kB / 0.5877 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/0.455, allocations: 19.98 kB / 0.5878 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.4569, allocations: 257.5 kB / 0.588 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4581, allocations: 343.5 kB / 0.5883 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005903/0.464, allocations: 3.642 MB / 0.5919 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.4652, allocations: 48.06 kB / 0.5919 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.4653, allocations: 79.98 kB / 0.592 GB, free: 13.39 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.0005285/0.4658, allocations: 293.3 kB / 0.5923 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.4661, allocations: 115.2 kB / 0.5924 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.4701, allocations: 1.252 MB / 0.5936 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4701, allocations: 8 kB / 0.5936 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4701, allocations: 4 kB / 0.5936 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4701, allocations: 3.984 kB / 0.5936 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.4718, allocations: 0.933 MB / 0.5945 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4718, allocations: 0 / 0.5945 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.4725, allocations: 183.7 kB / 0.5947 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.4744, allocations: 229.5 kB / 0.5949 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/0.4744, allocations: 35.98 kB / 0.595 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/0.4797, allocations: 3.522 MB / 0.5984 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4797, allocations: 4 kB / 0.5984 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/0.484, allocations: 1.6 MB / 0.6 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.4844, allocations: 99.34 kB / 0.6001 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.4845, allocations: 19.98 kB / 0.6001 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/0.485, allocations: 28 kB / 0.6001 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.4852, allocations: 80.8 kB / 0.6002 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.71e-05/0.4853, allocations: 39.98 kB / 0.6002 GB, free: 4.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001204/0.4865, allocations: 0.9258 MB / 0.6011 GB, free: 3.688 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4865, allocations: 0 / 0.6011 GB, free: 3.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002905/0.4894, allocations: 0.853 MB / 0.602 GB, free: 2.832 MB / 446.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.00723/0.4967, allocations: 3.071 MB / 0.605 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002613/0.4993, allocations: 1.364 MB / 0.6063 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4993, allocations: 0 / 0.6063 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.5003, allocations: 0.6476 MB / 0.6069 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5016, allocations: 226.1 kB / 0.6072 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/0.5211, allocations: 10.66 MB / 0.6176 GB, free: 2.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.5217, allocations: 0.4923 MB / 0.618 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009794/0.5227, allocations: 267.4 kB / 0.6183 GB, free: 1.387 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008233/0.5235, allocations: 0.5378 MB / 0.6188 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5235, allocations: 0 / 0.6188 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09397/0.6174, allocations: 40.71 MB / 0.6586 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.34, allocations: 6.922 kB / 0.6586 GB, free: 8.465 MB / 0.4981 GB " [Timeout remaining time 645] (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 os._exit(0), Time elapsed: 18.151994412764907] Failed to read output from testmodel.py, exit status != 0: 15.489653571974486 15.515800156 15.118700338 Calling exit ...