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.001352/0.001352, 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.001614/0.001614, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.793 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.1407/0.1407, allocations: 24 MB / 336.4 MB, free: 10.84 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.00292/0.00292, allocations: 67.91 kB / 471.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3309, allocations: 59.89 MB / 0.5187 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007268/0.3381, allocations: 6.265 MB / 0.5248 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.025/0.3631, allocations: 19.19 MB / 0.5436 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.3643, allocations: 20.5 kB / 0.5436 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.3657, allocations: 404 kB / 0.544 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005545/0.3712, allocations: 1.636 MB / 0.5456 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008836/0.3801, allocations: 2.842 MB / 0.5484 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002963/0.383, allocations: 1.826 MB / 0.5501 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.3843, allocations: 0.7599 MB / 0.5509 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.3859, allocations: 0.8752 MB / 0.5517 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.3877, allocations: 0.8539 MB / 0.5526 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.3881, allocations: 152.6 kB / 0.5527 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00756/0.3957, allocations: 2.206 MB / 0.5549 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007203/0.3964, allocations: 364.2 kB / 0.5552 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.3982, allocations: 0.6608 MB / 0.5559 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.4097, allocations: 4.251 MB / 0.56 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4097, allocations: 0 / 0.56 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4097, allocations: 0 / 0.56 GB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.902e-05/0.4098, allocations: 4 kB / 0.56 GB, free: 14.99 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.004827/0.4146, allocations: 2.041 MB / 0.562 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4147, allocations: 16.03 kB / 0.562 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.4149, allocations: 182 kB / 0.5622 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.4167, allocations: 395.1 kB / 0.5626 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.4182, allocations: 0.7003 MB / 0.5633 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.584e-05/0.4183, allocations: 94.84 kB / 0.5634 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.4185, allocations: 124.3 kB / 0.5635 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.4216, allocations: 1.787 MB / 0.5652 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.4216, allocations: 3.984 kB / 0.5652 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.4217, allocations: 52 kB / 0.5653 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.4218, allocations: 28 kB / 0.5653 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/0.4256, allocations: 2.496 MB / 0.5677 GB, free: 7.16 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.009308/0.435, allocations: 4.331 MB / 0.572 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.4388, allocations: 1.838 MB / 0.5738 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009117/0.4397, allocations: 494.7 kB / 0.5742 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007074/0.4468, allocations: 2.703 MB / 0.5769 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.4468, allocations: 35.22 kB / 0.5769 GB, free: 13.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.085e-06/0.4468, allocations: 7.938 kB / 0.5769 GB, free: 13.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01541/0.4622, allocations: 3.225 MB / 0.5801 GB, free: 10.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.4623, allocations: 68.41 kB / 0.5801 GB, free: 10.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.4643, allocations: 1.354 MB / 0.5815 GB, free: 8.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.621e-05/0.4644, allocations: 41.7 kB / 0.5815 GB, free: 8.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000679/0.4651, allocations: 0.7022 MB / 0.5822 GB, free: 8.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/0.4655, allocations: 341.2 kB / 0.5825 GB, free: 7.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005493/0.466, allocations: 287.4 kB / 0.5828 GB, free: 7.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.4663, allocations: 361.9 kB / 0.5831 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009839/0.4673, allocations: 0.5232 MB / 0.5836 GB, free: 6.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.4687, allocations: 1.008 MB / 0.5846 GB, free: 5.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/0.4709, allocations: 1.449 MB / 0.586 GB, free: 3.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.4709, allocations: 4 kB / 0.586 GB, free: 3.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005148/0.4761, allocations: 1.928 MB / 0.5879 GB, free: 1.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.4761, allocations: 12 kB / 0.5879 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/0.4762, allocations: 16 kB / 0.5879 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/0.4782, allocations: 249.5 kB / 0.5882 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.4795, allocations: 351.5 kB / 0.5885 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007039/0.4865, allocations: 3.645 MB / 0.5921 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.4884, allocations: 44 kB / 0.5921 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003312/0.4887, allocations: 84.16 kB / 0.5922 GB, free: 13.2 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.0008666/0.4896, allocations: 293.3 kB / 0.5925 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/0.4901, allocations: 115.2 kB / 0.5926 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006369/0.4964, allocations: 1.252 MB / 0.5938 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.4964, allocations: 11.98 kB / 0.5938 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4965, allocations: 7.938 kB / 0.5938 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.4965, allocations: 7.922 kB / 0.5938 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.4992, allocations: 0.9289 MB / 0.5947 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.4992, allocations: 0 / 0.5947 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.5004, allocations: 179.8 kB / 0.5949 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002799/0.5032, allocations: 229.5 kB / 0.5951 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.5033, allocations: 35.98 kB / 0.5952 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008489/0.5118, allocations: 3.526 MB / 0.5986 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5118, allocations: 0 / 0.5986 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007918/0.5197, allocations: 1.596 MB / 0.6002 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/0.5203, allocations: 107.3 kB / 0.6003 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/0.5206, allocations: 16 kB / 0.6003 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.5217, allocations: 23.94 kB / 0.6003 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.522, allocations: 84.73 kB / 0.6004 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.5221, allocations: 39.98 kB / 0.6004 GB, free: 4.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002146/0.5243, allocations: 0.9336 MB / 0.6013 GB, free: 3.484 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5243, allocations: 0 / 0.6013 GB, free: 3.484 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004915/0.5292, allocations: 0.8491 MB / 0.6022 GB, free: 2.633 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.01208/0.5413, allocations: 3.068 MB / 0.6052 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004502/0.5458, allocations: 1.36 MB / 0.6065 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.5458, allocations: 0 / 0.6065 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.5477, allocations: 0.6446 MB / 0.6071 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.55, allocations: 238.7 kB / 0.6074 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/0.5786, allocations: 10.67 MB / 0.6178 GB, free: 1.961 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/0.5792, allocations: 496.2 kB / 0.6182 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001074/0.5803, allocations: 263.7 kB / 0.6185 GB, free: 1.188 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008947/0.5812, allocations: 0.5456 MB / 0.619 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5812, allocations: 0 / 0.619 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09619/0.6774, allocations: 40.73 MB / 0.6588 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.44, allocations: 0 / 0.6588 GB, free: 8.254 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 os._exit(0), Time elapsed: 18.341022579930723] Failed to read output from testmodel.py, exit status != 0: 15.593597399070859 15.623700945 15.208106686 Calling exit ...