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.001338/0.001338, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001455/0.001455, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1391/0.1391, allocations: 23.85 MB / 332.7 MB, free: 12.35 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.001964/0.001964, allocations: 59.91 kB / 466 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2975, allocations: 59.84 MB / 0.5135 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007053/0.3046, allocations: 7.025 MB / 0.5203 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02542/0.33, allocations: 21.89 MB / 0.5417 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.3311, allocations: 22.5 kB / 0.5417 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.3324, allocations: 461.5 kB / 0.5422 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.3375, allocations: 1.662 MB / 0.5438 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008161/0.3457, allocations: 2.811 MB / 0.5465 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.3486, allocations: 1.834 MB / 0.5483 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.3497, allocations: 0.7691 MB / 0.5491 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.3509, allocations: 0.8684 MB / 0.5499 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.3524, allocations: 0.9559 MB / 0.5509 GB, free: 15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.3527, allocations: 152.2 kB / 0.551 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008506/0.3612, allocations: 2.346 MB / 0.5533 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006459/0.3618, allocations: 364.8 kB / 0.5536 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.3631, allocations: 0.7926 MB / 0.5544 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.3752, allocations: 4.254 MB / 0.5586 GB, free: 10.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3752, allocations: 1.312 kB / 0.5586 GB, free: 10.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3752, allocations: 4 kB / 0.5586 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.788e-05/0.3753, allocations: 0 / 0.5586 GB, free: 10.65 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.005096/0.3804, allocations: 2.127 MB / 0.5607 GB, free: 9.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3804, allocations: 13.08 kB / 0.5607 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002506/0.3807, allocations: 178.3 kB / 0.5608 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.3826, allocations: 384 kB / 0.5612 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.384, allocations: 0.7687 MB / 0.562 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.28e-05/0.3841, allocations: 92.34 kB / 0.562 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.3843, allocations: 126.8 kB / 0.5622 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.3873, allocations: 1.767 MB / 0.5639 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.3874, allocations: 0 / 0.5639 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.3875, allocations: 50 kB / 0.5639 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.3875, allocations: 34.48 kB / 0.564 GB, free: 6.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003969/0.3915, allocations: 2.48 MB / 0.5664 GB, free: 4.77 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.009232/0.4007, allocations: 5.116 MB / 0.5714 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/0.4046, allocations: 2.184 MB / 0.5735 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008841/0.4055, allocations: 0.4883 MB / 0.574 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008282/0.4137, allocations: 5.328 MB / 0.5792 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4138, allocations: 35.22 kB / 0.5792 GB, free: 6.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.435e-06/0.4138, allocations: 0 / 0.5792 GB, free: 6.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01548/0.4293, allocations: 3.385 MB / 0.5825 GB, free: 3.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.4293, allocations: 68.39 kB / 0.5826 GB, free: 3.172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.431, allocations: 1.296 MB / 0.5839 GB, free: 1.852 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.112e-05/0.4311, allocations: 45.64 kB / 0.5839 GB, free: 1.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.4316, allocations: 0.7022 MB / 0.5846 GB, free: 1.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.4319, allocations: 337.2 kB / 0.5849 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.4324, allocations: 291.4 kB / 0.5852 GB, free: 476 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4325, allocations: 357.9 kB / 0.5855 GB, free: 112 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/0.4334, allocations: 0.5154 MB / 0.586 GB, free: 15.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.4347, allocations: 1.004 MB / 0.587 GB, free: 14.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.4368, allocations: 1.43 MB / 0.5884 GB, free: 12.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.4368, allocations: 4 kB / 0.5884 GB, free: 12.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005024/0.4418, allocations: 1.908 MB / 0.5903 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.4418, allocations: 12 kB / 0.5903 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/0.4419, allocations: 16 kB / 0.5903 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.4439, allocations: 249.5 kB / 0.5906 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.4452, allocations: 351.5 kB / 0.5909 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006073/0.4513, allocations: 3.873 MB / 0.5947 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.4525, allocations: 52.06 kB / 0.5947 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.4527, allocations: 83.97 kB / 0.5948 GB, free: 5.891 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.000574/0.4533, allocations: 285.3 kB / 0.5951 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.4536, allocations: 119.2 kB / 0.5952 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.4577, allocations: 1.24 MB / 0.5964 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.4577, allocations: 11.98 kB / 0.5964 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4577, allocations: 0 / 0.5964 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.4577, allocations: 11.92 kB / 0.5964 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.4597, allocations: 1.098 MB / 0.5975 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.4597, allocations: 0 / 0.5975 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.4604, allocations: 175.8 kB / 0.5977 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001988/0.4624, allocations: 241.5 kB / 0.5979 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.4626, allocations: 27.98 kB / 0.5979 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005577/0.4681, allocations: 3.772 MB / 0.6016 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4681, allocations: 0 / 0.6016 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004514/0.4727, allocations: 1.588 MB / 0.6031 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/0.473, allocations: 184.4 kB / 0.6033 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.4732, allocations: 16 kB / 0.6033 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.4738, allocations: 23.94 kB / 0.6034 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.474, allocations: 84.77 kB / 0.6034 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.39e-05/0.474, allocations: 36.11 kB / 0.6035 GB, free: 12.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.4752, allocations: 0.9179 MB / 0.6044 GB, free: 11.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4752, allocations: 0 / 0.6044 GB, free: 11.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002801/0.478, allocations: 0.8491 MB / 0.6052 GB, free: 10.79 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.007009/0.485, allocations: 3.079 MB / 0.6082 GB, free: 7.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002664/0.4877, allocations: 1.347 MB / 0.6095 GB, free: 6.293 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4877, allocations: 2 kB / 0.6095 GB, free: 6.293 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.4888, allocations: 0.6514 MB / 0.6102 GB, free: 5.617 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.4901, allocations: 229.9 kB / 0.6104 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.51, allocations: 10.6 MB / 0.6207 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/0.5108, allocations: 1.089 MB / 0.6218 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.5118, allocations: 259.8 kB / 0.622 GB, free: 8.836 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008096/0.5126, allocations: 0.5341 MB / 0.6226 GB, free: 8.301 MB / 478.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5126, allocations: 0 / 0.6226 GB, free: 8.301 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08465/0.5973, allocations: 38.97 MB / 0.6606 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.2, allocations: 11.94 kB / 0.6606 GB, free: 1.57 MB / 0.4981 GB " [Timeout remaining time 644] (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 sys.exit(0), Time elapsed: 19.096237409001333] Failed to read output from testmodel.py, exit status != 0: 16.318614235991845 16.343194468 15.963192029 Calling exit ...