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.001261/0.001261, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001452/0.001452, allocations: 215.7 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.785 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.1304/0.1304, allocations: 23.88 MB / 336.3 MB, free: 10.93 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.001998/0.001998, allocations: 67.91 kB / 471.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 59.86 MB / 0.5185 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007222/0.3286, allocations: 6.268 MB / 0.5246 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02448/0.353, allocations: 19.19 MB / 0.5434 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.3545, allocations: 26.81 kB / 0.5434 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.356, allocations: 410.6 kB / 0.5438 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0068/0.3628, allocations: 1.632 MB / 0.5454 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.3749, allocations: 2.851 MB / 0.5482 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004084/0.379, allocations: 1.831 MB / 0.55 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.3803, allocations: 0.7667 MB / 0.5507 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.3816, allocations: 0.8662 MB / 0.5516 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.3832, allocations: 0.9597 MB / 0.5525 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.3835, allocations: 152.5 kB / 0.5526 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008448/0.3919, allocations: 2.263 MB / 0.5549 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006062/0.3925, allocations: 365.8 kB / 0.5552 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.3937, allocations: 0.6681 MB / 0.5559 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.4056, allocations: 4.243 MB / 0.56 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4056, allocations: 0 / 0.56 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4056, allocations: 0 / 0.56 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.096e-05/0.4056, allocations: 1.125 kB / 0.56 GB, free: 14.78 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.004348/0.41, allocations: 2.05 MB / 0.562 GB, free: 13.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.41, allocations: 8.031 kB / 0.562 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/0.4102, allocations: 186 kB / 0.5622 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.4119, allocations: 387.3 kB / 0.5626 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.4135, allocations: 0.7002 MB / 0.5632 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.4136, allocations: 94.84 kB / 0.5633 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.4138, allocations: 136.3 kB / 0.5635 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.4166, allocations: 1.775 MB / 0.5652 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.4166, allocations: 4 kB / 0.5652 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.4167, allocations: 48 kB / 0.5652 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.4168, allocations: 32 kB / 0.5653 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003685/0.4205, allocations: 2.496 MB / 0.5677 GB, free: 7.078 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.008486/0.4289, allocations: 4.328 MB / 0.5719 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.4324, allocations: 1.839 MB / 0.5737 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008291/0.4332, allocations: 498.7 kB / 0.5742 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0065/0.4397, allocations: 2.703 MB / 0.5768 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.4398, allocations: 43.22 kB / 0.5769 GB, free: 13.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.374e-06/0.4398, allocations: 0 / 0.5769 GB, free: 13.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01422/0.454, allocations: 3.236 MB / 0.58 GB, free: 10.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.454, allocations: 60.41 kB / 0.5801 GB, free: 10.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.4558, allocations: 1.354 MB / 0.5814 GB, free: 8.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.4559, allocations: 37.7 kB / 0.5815 GB, free: 8.785 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.4564, allocations: 0.7022 MB / 0.5821 GB, free: 8.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.4568, allocations: 337.1 kB / 0.5825 GB, free: 7.742 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/0.4572, allocations: 295.4 kB / 0.5828 GB, free: 7.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.4574, allocations: 361.9 kB / 0.5831 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000837/0.4582, allocations: 0.5232 MB / 0.5836 GB, free: 6.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.4596, allocations: 1.008 MB / 0.5846 GB, free: 5.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.4616, allocations: 1.445 MB / 0.586 GB, free: 3.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.4616, allocations: 8 kB / 0.586 GB, free: 3.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004648/0.4663, allocations: 1.936 MB / 0.5879 GB, free: 1.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4663, allocations: 12 kB / 0.5879 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.4663, allocations: 16 kB / 0.5879 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.4681, allocations: 249.5 kB / 0.5882 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4693, allocations: 351.5 kB / 0.5885 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005684/0.4749, allocations: 3.635 MB / 0.5921 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.476, allocations: 52.06 kB / 0.5921 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.4761, allocations: 83.97 kB / 0.5922 GB, free: 13.1 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.0005132/0.4766, allocations: 285.3 kB / 0.5925 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.4769, allocations: 115.2 kB / 0.5926 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.4806, allocations: 1.252 MB / 0.5938 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.4807, allocations: 8 kB / 0.5938 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4807, allocations: 0 / 0.5938 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.4807, allocations: 3.984 kB / 0.5938 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.4822, allocations: 0.933 MB / 0.5947 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.4822, allocations: 4 kB / 0.5947 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/0.4829, allocations: 175.7 kB / 0.5949 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.4847, allocations: 241.5 kB / 0.5951 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/0.4848, allocations: 27.98 kB / 0.5951 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/0.4898, allocations: 3.53 MB / 0.5986 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4898, allocations: 4.031 kB / 0.5986 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004156/0.494, allocations: 1.6 MB / 0.6002 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.4944, allocations: 99.33 kB / 0.6002 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.4945, allocations: 20 kB / 0.6003 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005193/0.495, allocations: 24 kB / 0.6003 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.4952, allocations: 76.8 kB / 0.6004 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.18e-05/0.4953, allocations: 39.98 kB / 0.6004 GB, free: 4.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.4965, allocations: 0.9297 MB / 0.6013 GB, free: 3.402 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4965, allocations: 0 / 0.6013 GB, free: 3.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002742/0.4993, allocations: 0.853 MB / 0.6021 GB, free: 2.547 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.006746/0.506, allocations: 3.064 MB / 0.6051 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.5085, allocations: 1.364 MB / 0.6065 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5085, allocations: 0 / 0.6065 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009906/0.5095, allocations: 0.6475 MB / 0.6071 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.5107, allocations: 235.8 kB / 0.6073 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/0.529, allocations: 10.66 MB / 0.6177 GB, free: 1.879 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.5296, allocations: 0.4923 MB / 0.6182 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008997/0.5305, allocations: 259.8 kB / 0.6185 GB, free: 1.102 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/0.5312, allocations: 0.5417 MB / 0.619 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5312, allocations: 3.938 kB / 0.619 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09141/0.6226, allocations: 41.16 MB / 0.6592 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.31, allocations: 7.859 kB / 0.6592 GB, free: 7.734 MB / 0.4981 GB " [Timeout remaining time 646] (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: 16.91959771802067] Failed to read output from testmodel.py, exit status != 0: 14.450719918997493 14.464752289 14.056068179 Calling exit ...