Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0007816/0.0007816, 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.0007679/0.0007679, 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.8326/0.8326, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.08031/0.08031, allocations: 17.45 MB / 276.6 MB, free: 11.77 MB / 266.7 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,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.311e-05, allocations: 2.281 kB / 411.6 MB, free: 252 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.007063/0.007076, allocations: 9.063 MB / 420.7 MB, free: 7.145 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.171/0.1781, allocations: 28.95 MB / 449.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.1792, allocations: 31.16 kB / 449.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1803, allocations: 0.6391 MB / 450.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.184, allocations: 2.704 MB / 453 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005914/0.19, allocations: 4.506 MB / 457.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.1914, allocations: 3.113 MB / 460.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007541/0.1921, allocations: 1.358 MB / 462 MB, free: 40.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009254/0.193, allocations: 2.054 MB / 464 MB, free: 40.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008221/0.1939, allocations: 1.297 MB / 465.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.1941, allocations: 263.9 kB / 465.6 MB, free: 39.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.1981, allocations: 3.47 MB / 469 MB, free: 39.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.1983, allocations: 0.6156 MB / 469.7 MB, free: 38.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.1988, allocations: 0.9678 MB / 470.6 MB, free: 38.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.203, allocations: 7.246 MB / 477.9 MB, free: 36.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.203, allocations: 0 / 477.9 MB, free: 36.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.203, allocations: 3.188 kB / 477.9 MB, free: 36.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.203, allocations: 0 / 477.9 MB, free: 36.02 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.002758/0.2058, allocations: 3.204 MB / 481.1 MB, free: 34.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2058, allocations: 9.625 kB / 481.1 MB, free: 34.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002218/0.206, allocations: 294.7 kB / 481.4 MB, free: 33.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.2072, allocations: 0.5805 MB / 482 MB, free: 33.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.2084, allocations: 1.084 MB / 483 MB, free: 33.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/0.2085, allocations: 159 kB / 483.2 MB, free: 33.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.2088, allocations: 216.6 kB / 483.4 MB, free: 33.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.2113, allocations: 2.814 MB / 486.2 MB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.2113, allocations: 1.25 kB / 486.2 MB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.2115, allocations: 85.22 kB / 486.3 MB, free: 31.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.2115, allocations: 56.03 kB / 486.4 MB, free: 31.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/0.215, allocations: 3.79 MB / 490.2 MB, free: 30.74 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.007389/0.2224, allocations: 6.977 MB / 497.1 MB, free: 27.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.2257, allocations: 3.256 MB / 0.4887 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008519/0.2266, allocations: 0.9114 MB / 0.4896 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005272/0.2318, allocations: 4.686 MB / 0.4941 GB, free: 24.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.2319, allocations: 43.59 kB / 0.4942 GB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002445/0.2321, allocations: 191.3 kB / 0.4944 GB, free: 23.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 2.495e-06/0.2321, allocations: 4 kB / 0.4944 GB, free: 23.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=170): time 0.01224/0.2443, allocations: 6.194 MB / 0.5004 GB, free: 21.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.2444, allocations: 73.41 kB / 0.5005 GB, free: 21.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009451/0.2453, allocations: 1.739 MB / 0.5022 GB, free: 19.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.2454, allocations: 49.7 kB / 0.5022 GB, free: 19.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.2457, allocations: 1.066 MB / 0.5033 GB, free: 18.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.2458, allocations: 0.6117 MB / 0.5039 GB, free: 18.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.2462, allocations: 479.3 kB / 0.5043 GB, free: 17.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.15e-05/0.2462, allocations: 301.1 kB / 0.5046 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.2469, allocations: 0.8025 MB / 0.5054 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009091/0.2478, allocations: 1.605 MB / 0.507 GB, free: 14.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.2495, allocations: 2.43 MB / 0.5093 GB, free: 12.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.2495, allocations: 8 kB / 0.5093 GB, free: 12.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003718/0.2532, allocations: 3.153 MB / 0.5124 GB, free: 9.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2532, allocations: 19.94 kB / 0.5124 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.2532, allocations: 31.94 kB / 0.5125 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.2547, allocations: 483.1 kB / 0.5129 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/0.2556, allocations: 0.5877 MB / 0.5135 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/0.26, allocations: 7.241 MB / 0.5206 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/0.2607, allocations: 84 kB / 0.5206 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.2608, allocations: 140 kB / 0.5208 GB, free: 192 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.0004455/0.2612, allocations: 427.7 kB / 0.5212 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.2614, allocations: 174.9 kB / 0.5214 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.2654, allocations: 2.394 MB / 0.5237 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.2654, allocations: 16 kB / 0.5237 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2654, allocations: 4 kB / 0.5237 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.2654, allocations: 11.95 kB / 0.5237 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.2669, allocations: 1.574 MB / 0.5253 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2669, allocations: 11.97 kB / 0.5253 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.2675, allocations: 339.6 kB / 0.5256 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/0.2691, allocations: 466.9 kB / 0.526 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/0.2691, allocations: 59.97 kB / 0.5261 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/0.2743, allocations: 7.042 MB / 0.533 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2743, allocations: 4 kB / 0.533 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.2784, allocations: 3 MB / 0.5359 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.2785, allocations: 170.8 kB / 0.5361 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.2787, allocations: 32 kB / 0.5361 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.2791, allocations: 40 kB / 0.5361 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000405/0.2795, allocations: 161.6 kB / 0.5363 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.2796, allocations: 71.97 kB / 0.5364 GB, free: 15.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008187/0.2804, allocations: 1.153 MB / 0.5375 GB, free: 14.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2804, allocations: 0 / 0.5375 GB, free: 14.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002206/0.2826, allocations: 1.375 MB / 0.5388 GB, free: 13.14 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.006243/0.2888, allocations: 5.055 MB / 0.5438 GB, free: 8.199 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.2911, allocations: 2.391 MB / 0.5461 GB, free: 5.766 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2911, allocations: 4.062 kB / 0.5461 GB, free: 5.762 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.2922, allocations: 1.263 MB / 0.5473 GB, free: 4.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000906/0.2931, allocations: 373.1 kB / 0.5477 GB, free: 4.094 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/0.31, allocations: 16.49 MB / 0.5638 GB, free: 2.582 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.3105, allocations: 0.8102 MB / 0.5646 GB, free: 1.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008796/0.3114, allocations: 440.5 kB / 0.565 GB, free: 1.301 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007962/0.3122, allocations: 0.9566 MB / 0.5659 GB, free: 352 kB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3122, allocations: 0 / 0.5659 GB, free: 352 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1971/0.5093, allocations: 65.88 MB / 0.6303 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.129/9.639, allocations: 2.234 kB / 0.6303 GB, free: 161.6 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.413083562627435] Failed to read output from testmodel.py, exit status != 0: 9.753238693811 9.759459398 9.555098255 Calling exit ...