Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00126/0.00126, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001397/0.001397, allocations: 218.3 kB / 22.26 MB, free: 5.215 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.988 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.1284/0.1284, allocations: 23.89 MB / 336.3 MB, free: 11.25 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,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_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.001936/0.001936, allocations: 71.91 kB / 471.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3114, allocations: 59.87 MB / 0.5186 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009075/0.3205, allocations: 10.46 MB / 0.5289 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04001/0.3605, allocations: 33.13 MB / 0.5612 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.3625, allocations: 32.22 kB / 0.5612 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.3645, allocations: 0.6985 MB / 0.5619 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008273/0.3728, allocations: 2.666 MB / 0.5645 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01325/0.386, allocations: 4.37 MB / 0.5688 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005111/0.3911, allocations: 3.01 MB / 0.5717 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.393, allocations: 1.363 MB / 0.5731 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.3953, allocations: 1.482 MB / 0.5745 GB, free: 428 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/0.3984, allocations: 1.632 MB / 0.5761 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004825/0.3988, allocations: 264 kB / 0.5764 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/0.411, allocations: 3.662 MB / 0.5799 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009591/0.4119, allocations: 0.6075 MB / 0.5805 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.414, allocations: 1.326 MB / 0.5818 GB, free: 9.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01696/0.431, allocations: 6.833 MB / 0.5885 GB, free: 2.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.431, allocations: 0 / 0.5885 GB, free: 2.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.431, allocations: 4 kB / 0.5885 GB, free: 2.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.728e-05/0.431, allocations: 0 / 0.5885 GB, free: 2.262 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.0071/0.4381, allocations: 3.238 MB / 0.5917 GB, free: 14.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4382, allocations: 8.031 kB / 0.5917 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003606/0.4385, allocations: 295.9 kB / 0.592 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.4411, allocations: 0.588 MB / 0.5925 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.4433, allocations: 1.077 MB / 0.5936 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.4434, allocations: 164.6 kB / 0.5937 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/0.4438, allocations: 220.3 kB / 0.5939 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004504/0.4483, allocations: 2.826 MB / 0.5967 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.4483, allocations: 0 / 0.5967 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.4485, allocations: 84 kB / 0.5968 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/0.4485, allocations: 52 kB / 0.5968 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005824/0.4544, allocations: 3.827 MB / 0.6006 GB, free: 5.703 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.01485/0.4692, allocations: 8.304 MB / 0.6087 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005801/0.475, allocations: 3.325 MB / 0.6119 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.4765, allocations: 0.9153 MB / 0.6128 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.488, allocations: 4.962 MB / 0.6177 GB, free: 3.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.4882, allocations: 43.88 kB / 0.6177 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008099/0.489, allocations: 190.6 kB / 0.6179 GB, free: 3.598 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.588e-06/0.489, allocations: 0 / 0.6179 GB, free: 3.598 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.0296/0.5186, allocations: 6.193 MB / 0.6239 GB, free: 13.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.5187, allocations: 73.41 kB / 0.624 GB, free: 13.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.5208, allocations: 1.691 MB / 0.6257 GB, free: 11.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.521, allocations: 57.7 kB / 0.6257 GB, free: 11.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/0.5218, allocations: 1.065 MB / 0.6268 GB, free: 10.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005773/0.5223, allocations: 0.6198 MB / 0.6274 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006571/0.523, allocations: 480.8 kB / 0.6278 GB, free: 9.344 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5231, allocations: 305.1 kB / 0.6281 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.5245, allocations: 0.8092 MB / 0.6289 GB, free: 8.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.5265, allocations: 1.608 MB / 0.6305 GB, free: 6.258 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.5299, allocations: 2.424 MB / 0.6328 GB, free: 3.473 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.5299, allocations: 8 kB / 0.6328 GB, free: 3.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008568/0.5385, allocations: 3.152 MB / 0.6359 GB, free: 300 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.5385, allocations: 16 kB / 0.6359 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/0.5385, allocations: 24.16 kB / 0.636 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004089/0.5426, allocations: 494.8 kB / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.5447, allocations: 0.5812 MB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.5563, allocations: 7.316 MB / 0.6441 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.5582, allocations: 88 kB / 0.6442 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.5584, allocations: 136 kB / 0.6444 GB, free: 7.191 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.0008714/0.5593, allocations: 428.9 kB / 0.6448 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/0.5597, allocations: 174.9 kB / 0.6449 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008032/0.5678, allocations: 2.396 MB / 0.6473 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.5678, allocations: 16 kB / 0.6473 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.5678, allocations: 4 kB / 0.6473 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.245e-05/0.5678, allocations: 11.95 kB / 0.6473 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.5709, allocations: 1.831 MB / 0.6491 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.5709, allocations: 4 kB / 0.6491 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/0.5722, allocations: 347.5 kB / 0.6494 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003834/0.576, allocations: 459.2 kB / 0.6499 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.5762, allocations: 63.97 kB / 0.6499 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.5866, allocations: 7.111 MB / 0.6569 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.5867, allocations: 4 kB / 0.6569 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008366/0.595, allocations: 3.008 MB / 0.6598 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.5955, allocations: 162.8 kB / 0.66 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.5957, allocations: 40 kB / 0.66 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/0.5966, allocations: 39.98 kB / 0.66 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.5969, allocations: 157.7 kB / 0.6602 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.5971, allocations: 71.97 kB / 0.6603 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001417/0.5985, allocations: 1.149 MB / 0.6614 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5985, allocations: 4 kB / 0.6614 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003892/0.6024, allocations: 1.383 MB / 0.6627 GB, free: 3.734 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.01142/0.6138, allocations: 4.995 MB / 0.6676 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004288/0.6181, allocations: 2.392 MB / 0.67 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6181, allocations: 0 / 0.67 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.6201, allocations: 1.284 MB / 0.6712 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.6219, allocations: 367 kB / 0.6716 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/0.656, allocations: 16.58 MB / 0.6877 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.6572, allocations: 1.382 MB / 0.6891 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001597/0.6588, allocations: 441.6 kB / 0.6895 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.6602, allocations: 0.9556 MB / 0.6905 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/0.6602, allocations: 0 / 0.6905 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3189/0.9792, allocations: 65.18 MB / 0.7541 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.33/20.31, allocations: 13.61 kB / 0.7541 GB, free: 173.9 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.00664353100001] Failed to read output from testmodel.py, exit status != 0: 20.457948442999623 20.467828352 20.034454843 Calling exit ...