Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001412/0.001412, 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.001683/0.001683, allocations: 170.3 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.851/0.851, allocations: 177.2 MB / 202.8 MB, free: 5.75 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.09398/0.09398, allocations: 17.38 MB / 276.6 MB, free: 11.86 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,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 411.4 MB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.451e-05, allocations: 2.281 kB / 411.4 MB, free: 436 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.006966/0.006991, allocations: 9.076 MB / 420.5 MB, free: 7.309 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.1836/0.1906, allocations: 28.94 MB / 449.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.1922, allocations: 31.09 kB / 449.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.1936, allocations: 0.6392 MB / 450.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005756/0.1994, allocations: 2.703 MB / 452.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007868/0.2072, allocations: 4.498 MB / 457.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003048/0.2103, allocations: 3.125 MB / 460.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.2119, allocations: 1.354 MB / 461.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.2138, allocations: 2.057 MB / 463.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.2153, allocations: 1.294 MB / 465.2 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004684/0.2158, allocations: 263.4 kB / 465.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007321/0.2231, allocations: 3.468 MB / 468.9 MB, free: 39.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006683/0.2237, allocations: 0.6171 MB / 469.5 MB, free: 38.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.2249, allocations: 0.9673 MB / 470.5 MB, free: 38.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.238, allocations: 7.25 MB / 477.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.238, allocations: 0 / 477.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.238, allocations: 7.281 kB / 477.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001075/0.2381, allocations: 0 / 477.7 MB, free: 35.99 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: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.005509/0.2436, allocations: 3.2 MB / 480.9 MB, free: 34.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/0.2437, allocations: 9.656 kB / 480.9 MB, free: 34.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002757/0.244, allocations: 296.1 kB / 481.2 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.2457, allocations: 0.5744 MB / 481.8 MB, free: 33.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.2476, allocations: 1.081 MB / 482.9 MB, free: 33.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-05/0.2477, allocations: 158.8 kB / 483 MB, free: 33.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.248, allocations: 221 kB / 483.3 MB, free: 33.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.2516, allocations: 2.813 MB / 486.1 MB, free: 31.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.2517, allocations: 1.312 kB / 486.1 MB, free: 31.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.2518, allocations: 85.94 kB / 486.2 MB, free: 31.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.2518, allocations: 59.09 kB / 486.2 MB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004409/0.2563, allocations: 3.792 MB / 490 MB, free: 30.72 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.01036/0.2666, allocations: 6.973 MB / 497 MB, free: 27.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/0.2705, allocations: 3.262 MB / 0.4885 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.2718, allocations: 0.9128 MB / 0.4894 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007593/0.2794, allocations: 4.683 MB / 0.494 GB, free: 24.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.2794, allocations: 45.84 kB / 0.494 GB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004986/0.2799, allocations: 192.1 kB / 0.4942 GB, free: 23.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 4.107e-06/0.2799, allocations: 3.938 kB / 0.4942 GB, free: 23.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=170): time 0.01456/0.2945, allocations: 6.187 MB / 0.5003 GB, free: 21.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2945, allocations: 69.41 kB / 0.5003 GB, free: 21.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.296, allocations: 1.738 MB / 0.502 GB, free: 19.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.2961, allocations: 53.7 kB / 0.5021 GB, free: 19.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.2965, allocations: 1.067 MB / 0.5031 GB, free: 18.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.2969, allocations: 0.6139 MB / 0.5037 GB, free: 18.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.2973, allocations: 474.1 kB / 0.5042 GB, free: 17.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.478e-05/0.2973, allocations: 301.1 kB / 0.5044 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008909/0.2982, allocations: 0.8094 MB / 0.5052 GB, free: 16.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.2993, allocations: 1.607 MB / 0.5068 GB, free: 15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.3012, allocations: 2.428 MB / 0.5092 GB, free: 12.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.258e-05/0.3013, allocations: 12.88 kB / 0.5092 GB, free: 12.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004736/0.306, allocations: 3.153 MB / 0.5123 GB, free: 9.328 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.3061, allocations: 19.94 kB / 0.5123 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.3061, allocations: 24 kB / 0.5123 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.3078, allocations: 487.1 kB / 0.5128 GB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.3089, allocations: 0.585 MB / 0.5133 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005204/0.3141, allocations: 7.242 MB / 0.5204 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.3155, allocations: 80 kB / 0.5205 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.3157, allocations: 139.9 kB / 0.5206 GB, free: 324 kB / 410.7 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.000706/0.3164, allocations: 429.5 kB / 0.521 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.3167, allocations: 182.8 kB / 0.5212 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.321, allocations: 2.38 MB / 0.5235 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.321, allocations: 20 kB / 0.5236 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.321, allocations: 3.938 kB / 0.5236 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.321, allocations: 7.969 kB / 0.5236 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.3231, allocations: 1.581 MB / 0.5251 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.3231, allocations: 7.922 kB / 0.5251 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/0.3239, allocations: 343.6 kB / 0.5254 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/0.3255, allocations: 467.1 kB / 0.5259 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.3256, allocations: 59.97 kB / 0.526 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005698/0.3313, allocations: 7.042 MB / 0.5328 GB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3313, allocations: 0 / 0.5328 GB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.3362, allocations: 3 MB / 0.5358 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.3367, allocations: 170.7 kB / 0.5359 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.3369, allocations: 44 kB / 0.536 GB, free: 52 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.3375, allocations: 36 kB / 0.536 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.3377, allocations: 157.7 kB / 0.5361 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/0.3378, allocations: 75.97 kB / 0.5362 GB, free: 15.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001035/0.3388, allocations: 1.145 MB / 0.5373 GB, free: 14.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3388, allocations: 0 / 0.5373 GB, free: 14.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003466/0.3423, allocations: 1.383 MB / 0.5387 GB, free: 13.26 MB / 442.7 MB 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.00764/0.3499, allocations: 5.046 MB / 0.5436 GB, free: 8.328 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003262/0.3532, allocations: 2.394 MB / 0.546 GB, free: 5.891 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3532, allocations: 0 / 0.546 GB, free: 5.891 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.3546, allocations: 1.272 MB / 0.5472 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.3559, allocations: 369.6 kB / 0.5476 GB, free: 4.219 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/0.3782, allocations: 16.49 MB / 0.5637 GB, free: 2.699 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.3788, allocations: 0.8024 MB / 0.5644 GB, free: 1.855 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001194/0.38, allocations: 432.9 kB / 0.5649 GB, free: 1.434 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/0.381, allocations: 0.9605 MB / 0.5658 GB, free: 484 kB / 458.7 MB Notification: Performance of SimCode: time 2.224e-06/0.381, allocations: 0 / 0.5658 GB, free: 484 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2266/0.6076, allocations: 65.88 MB / 0.6301 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.882/10.49, allocations: 4.859 kB / 0.6301 GB, free: 161.8 MB / 0.5105 GB " [Timeout remaining time 649] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.399267465807498] Failed to read output from testmodel.py, exit status != 0: 10.608857640996575 10.618178366 10.378015737 Calling exit ...