Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.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.0007633/0.0007633, 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.0007815/0.0007815, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8303/0.8303, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.08748/0.08748, allocations: 17.45 MB / 276.6 MB, free: 11.75 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.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.033e-05, allocations: 3.266 kB / 411.6 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis): time 0.02115/0.02117, allocations: 26.45 MB / 438.1 MB, free: 5.867 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1638/0.185, allocations: 14.71 MB / 452.8 MB, free: 57.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006423/0.1856, allocations: 14.22 kB / 452.8 MB, free: 57.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006414/0.1863, allocations: 319.2 kB / 453.1 MB, free: 57.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.1887, allocations: 1.521 MB / 454.6 MB, free: 56.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.1921, allocations: 2.083 MB / 456.7 MB, free: 55.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.1931, allocations: 1.599 MB / 458.3 MB, free: 55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.1936, allocations: 0.6933 MB / 459 MB, free: 54.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006275/0.1943, allocations: 1.069 MB / 460.1 MB, free: 54.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.1949, allocations: 0.7004 MB / 460.8 MB, free: 54.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.195, allocations: 132.3 kB / 460.9 MB, free: 54.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.1981, allocations: 1.707 MB / 462.6 MB, free: 53.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.1983, allocations: 338.1 kB / 462.9 MB, free: 53.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.1986, allocations: 0.4988 MB / 463.4 MB, free: 53.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.2037, allocations: 3.653 MB / 467.1 MB, free: 51.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2037, allocations: 0 / 467.1 MB, free: 51.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2037, allocations: 2.656 kB / 467.1 MB, free: 51.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.2037, allocations: 3.312 kB / 467.1 MB, free: 51.78 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002172/0.2059, allocations: 1.757 MB / 468.8 MB, free: 50.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2059, allocations: 9.5 kB / 468.8 MB, free: 50.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.206, allocations: 163.7 kB / 469 MB, free: 50.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006196/0.2067, allocations: 275.5 kB / 469.3 MB, free: 50.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.2073, allocations: 0.6129 MB / 469.9 MB, free: 50.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/0.2074, allocations: 134.7 kB / 470 MB, free: 50.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.2075, allocations: 123.2 kB / 470.1 MB, free: 50.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.2086, allocations: 1.328 MB / 471.5 MB, free: 49.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.2087, allocations: 4.312 kB / 471.5 MB, free: 49.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/0.2087, allocations: 49.66 kB / 471.5 MB, free: 49.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2087, allocations: 25.88 kB / 471.5 MB, free: 49.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.2102, allocations: 1.673 MB / 473.2 MB, free: 48.94 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.003347/0.2135, allocations: 3.53 MB / 476.8 MB, free: 47.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.2154, allocations: 1.863 MB / 478.6 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.2158, allocations: 0.5323 MB / 479.1 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00349/0.2193, allocations: 2.803 MB / 481.9 MB, free: 45.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2193, allocations: 38.47 kB / 482 MB, free: 44.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.477e-06/0.2193, allocations: 0 / 482 MB, free: 44.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.007477/0.2268, allocations: 3.433 MB / 485.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2268, allocations: 62.72 kB / 485.5 MB, free: 43.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.2273, allocations: 0.6097 MB / 486.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.2273, allocations: 41.05 kB / 486.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.2275, allocations: 0.5496 MB / 486.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.2277, allocations: 343.9 kB / 487 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.2279, allocations: 232.4 kB / 487.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.228, allocations: 392.5 kB / 487.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.2284, allocations: 359.2 kB / 488 MB, free: 41.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.2289, allocations: 0.7472 MB / 488.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2299, allocations: 1.206 MB / 489.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2299, allocations: 3.438 kB / 489.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002129/0.2321, allocations: 1.477 MB / 491.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.2321, allocations: 13.06 kB / 491.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.2321, allocations: 12.84 kB / 491.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008544/0.233, allocations: 245.3 kB / 491.7 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.2337, allocations: 328.3 kB / 492 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.2364, allocations: 3.628 MB / 495.6 MB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.2369, allocations: 39.84 kB / 495.7 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.237, allocations: 70.8 kB / 495.7 MB, free: 36.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (152): * Single equations (assignments): 150 * 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.0003246/0.2373, allocations: 280.5 kB / 496 MB, free: 36.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2374, allocations: 87.53 kB / 496.1 MB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.2396, allocations: 1.329 MB / 497.4 MB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.2396, allocations: 10.86 kB / 497.4 MB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2396, allocations: 1 kB / 497.4 MB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.2396, allocations: 8.719 kB / 497.4 MB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.2406, allocations: 0.9176 MB / 498.4 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.2406, allocations: 2.016 kB / 498.4 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.2412, allocations: 220 kB / 498.6 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008346/0.2421, allocations: 224.9 kB / 498.8 MB, free: 35.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.2421, allocations: 33.88 kB / 498.8 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.2445, allocations: 3.523 MB / 0.4906 GB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2445, allocations: 4.031 kB / 0.4906 GB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.247, allocations: 1.745 MB / 0.4923 GB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.2472, allocations: 81.62 kB / 0.4924 GB, free: 31.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.2472, allocations: 22.31 kB / 0.4924 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.2475, allocations: 20.8 kB / 0.4924 GB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.2476, allocations: 83.41 kB / 0.4925 GB, free: 31.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.2477, allocations: 39.64 kB / 0.4925 GB, free: 31.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003574/0.248, allocations: 389.8 kB / 0.4929 GB, free: 30.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.248, allocations: 4.25 kB / 0.4929 GB, free: 30.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001669/0.2497, allocations: 0.6766 MB / 0.4936 GB, free: 30.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (solution.temperature,CH4.logn,CO2.logn,H2O.logn,H2.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 (98): * Single equations (assignments): 96 * 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.003658/0.2534, allocations: 3.038 MB / 0.4965 GB, free: 29.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.255, allocations: 1.193 MB / 0.4977 GB, free: 28.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.255, allocations: 0 / 0.4977 GB, free: 28.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.2557, allocations: 0.6927 MB / 0.4984 GB, free: 28.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007879/0.2565, allocations: 198.5 kB / 0.4986 GB, free: 28.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009368/0.2659, allocations: 8.374 MB / 0.5067 GB, free: 20.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2662, allocations: 455.2 kB / 0.5072 GB, free: 20.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006181/0.2668, allocations: 230.5 kB / 0.5074 GB, free: 20.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.2672, allocations: 471.8 kB / 0.5078 GB, free: 20.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2672, allocations: 8.719 kB / 0.5078 GB, free: 20.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/0.3161, allocations: 34.28 MB / 0.5413 GB, free: 4.113 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/8.716, allocations: 7.797 kB / 0.5413 GB, free: 4.105 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.540412355214357] Failed to read output from testmodel.py, exit status != 0: 8.818336050957441 8.828293783 8.622872718 Calling exit ...