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.0008335/0.0008335, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000847/0.000847, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8455/0.8455, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.07768/0.07768, allocations: 17.37 MB / 276.6 MB, free: 11.85 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 411.4 MB, free: 428 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.656e-05, allocations: 2.281 kB / 411.4 MB, free: 424 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.004997/0.005013, allocations: 6.243 MB / 417.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.01863, allocations: 19.18 MB / 436.9 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.01912, allocations: 19.88 kB / 436.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007488/0.01987, allocations: 416.7 kB / 437.3 MB, free: 6.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.02287, allocations: 1.687 MB / 439 MB, free: 4.758 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004963/0.02784, allocations: 2.927 MB / 441.9 MB, free: 1.812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1583/0.1862, allocations: 1.889 MB / 443.8 MB, free: 45.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008923/0.1871, allocations: 0.7594 MB / 444.6 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009071/0.188, allocations: 1.209 MB / 445.8 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.1886, allocations: 0.755 MB / 446.5 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.1887, allocations: 155.3 kB / 446.7 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/0.1924, allocations: 2.22 MB / 448.9 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.1928, allocations: 369.2 kB / 449.2 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005209/0.1933, allocations: 0.573 MB / 449.8 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.1993, allocations: 4.518 MB / 454.3 MB, free: 45.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1993, allocations: 5.094 kB / 454.3 MB, free: 45.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1993, allocations: 0 / 454.3 MB, free: 45.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.02e-05/0.1993, allocations: 0 / 454.3 MB, free: 45.12 MB / 410.7 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.002457/0.2018, allocations: 2.042 MB / 456.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2018, allocations: 8.969 kB / 456.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.2019, allocations: 185.1 kB / 456.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.2028, allocations: 382.3 kB / 456.9 MB, free: 43.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008544/0.2037, allocations: 0.6975 MB / 457.6 MB, free: 43.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.2037, allocations: 92.81 kB / 457.7 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.2039, allocations: 131.9 kB / 457.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.2055, allocations: 1.775 MB / 459.6 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.2055, allocations: 192 / 459.6 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.2056, allocations: 53.59 kB / 459.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.2056, allocations: 31.91 kB / 459.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.2076, allocations: 2.497 MB / 462.2 MB, free: 42.71 MB / 410.7 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.004814/0.2125, allocations: 4.32 MB / 466.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.2144, allocations: 1.852 MB / 468.4 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.215, allocations: 497.1 kB / 468.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003643/0.2186, allocations: 2.702 MB / 471.6 MB, free: 38.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2186, allocations: 45.38 kB / 471.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/0.2186, allocations: 0 / 471.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.007313/0.2259, allocations: 3.231 MB / 474.9 MB, free: 37.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.226, allocations: 61.16 kB / 474.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2271, allocations: 1.357 MB / 476.3 MB, free: 36.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/0.2272, allocations: 40.61 kB / 476.3 MB, free: 36.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.2274, allocations: 0.6956 MB / 477 MB, free: 36.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.2276, allocations: 333.8 kB / 477.3 MB, free: 35.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.2278, allocations: 293.7 kB / 477.6 MB, free: 35.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.2279, allocations: 354.7 kB / 478 MB, free: 35.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.2285, allocations: 0.5248 MB / 478.5 MB, free: 35.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.2291, allocations: 1.007 MB / 479.5 MB, free: 34.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2304, allocations: 1.443 MB / 480.9 MB, free: 33.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.2304, allocations: 6 kB / 480.9 MB, free: 33.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002749/0.2331, allocations: 1.939 MB / 482.9 MB, free: 32.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.2331, allocations: 12.62 kB / 482.9 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.2332, allocations: 18.91 kB / 482.9 MB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008813/0.234, allocations: 248.2 kB / 483.2 MB, free: 32.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/0.2348, allocations: 348.6 kB / 483.5 MB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.2379, allocations: 3.632 MB / 487.1 MB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009392/0.2389, allocations: 51.56 kB / 487.2 MB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.239, allocations: 82.47 kB / 487.3 MB, free: 29.51 MB / 410.7 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.0005082/0.2395, allocations: 291 kB / 487.5 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.2397, allocations: 108.5 kB / 487.7 MB, free: 29.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.2417, allocations: 1.248 MB / 488.9 MB, free: 28.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.2418, allocations: 9.344 kB / 488.9 MB, free: 28.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2418, allocations: 3.938 kB / 488.9 MB, free: 28.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.2418, allocations: 4.734 kB / 488.9 MB, free: 28.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.2429, allocations: 0.9453 MB / 489.9 MB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.2429, allocations: 2.312 kB / 489.9 MB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.2432, allocations: 179.2 kB / 490 MB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008347/0.2441, allocations: 225.1 kB / 490.3 MB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.2441, allocations: 36.55 kB / 490.3 MB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.2465, allocations: 3.521 MB / 493.8 MB, free: 25.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2465, allocations: 4.875 kB / 493.8 MB, free: 25.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.2488, allocations: 1.591 MB / 495.4 MB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.2491, allocations: 103 kB / 495.5 MB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/0.2492, allocations: 21.38 kB / 495.5 MB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.2495, allocations: 22.7 kB / 495.6 MB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.2496, allocations: 78.16 kB / 495.6 MB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.2496, allocations: 38.41 kB / 495.7 MB, free: 24.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007555/0.2504, allocations: 0.9328 MB / 496.6 MB, free: 23.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2504, allocations: 0 / 496.6 MB, free: 23.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002003/0.2524, allocations: 0.8466 MB / 497.4 MB, free: 23.52 MB / 410.7 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.004106/0.2565, allocations: 3.114 MB / 0.4888 GB, free: 22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.2583, allocations: 1.352 MB / 0.4902 GB, free: 21.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2583, allocations: 1 kB / 0.4902 GB, free: 21.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.2589, allocations: 0.6516 MB / 0.4908 GB, free: 21.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008731/0.2597, allocations: 232.7 kB / 0.491 GB, free: 20.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.2711, allocations: 10.6 MB / 0.5014 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.2714, allocations: 0.4931 MB / 0.5018 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006516/0.2721, allocations: 256.2 kB / 0.5021 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.2725, allocations: 0.5476 MB / 0.5026 GB, free: 13.81 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2725, allocations: 0 / 0.5026 GB, free: 13.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0529/0.3254, allocations: 40.9 MB / 0.5426 GB, free: 8.523 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.93/9.255, allocations: 10.14 kB / 0.5426 GB, free: 8.52 MB / 442.7 MB " [Timeout remaining time 651] (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: 11.056811375543475] Failed to read output from testmodel.py, exit status != 0: 9.364635584875941 9.373676748 9.172115308 Calling exit ...