Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007578/0.0007578, 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.0008159/0.0008159, 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.8661/0.8661, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.09021/0.09021, allocations: 17.37 MB / 276.6 MB, free: 11.84 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.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 3.984 kB / 411.5 MB, free: 416 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.824e-05, allocations: 3.688 kB / 411.5 MB, free: 412 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.02124/0.02126, allocations: 26.43 MB / 437.9 MB, free: 6.043 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1746/0.1959, allocations: 14.72 MB / 452.6 MB, free: 58.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.1962, allocations: 21.16 kB / 452.6 MB, free: 58.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.1967, allocations: 311.2 kB / 452.9 MB, free: 57.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.1982, allocations: 1.516 MB / 454.5 MB, free: 57.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.2005, allocations: 2.084 MB / 456.5 MB, free: 56.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006763/0.2011, allocations: 1.596 MB / 458.1 MB, free: 55.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.2015, allocations: 0.6974 MB / 458.8 MB, free: 54.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.202, allocations: 1.072 MB / 459.9 MB, free: 54.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.2025, allocations: 0.6922 MB / 460.6 MB, free: 54.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/0.2025, allocations: 139.1 kB / 460.7 MB, free: 54.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.2042, allocations: 1.711 MB / 462.4 MB, free: 53.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.2044, allocations: 335.9 kB / 462.8 MB, free: 53.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.2046, allocations: 0.4933 MB / 463.3 MB, free: 53.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.2067, allocations: 3.658 MB / 466.9 MB, free: 51.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2067, allocations: 4 kB / 466.9 MB, free: 51.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2067, allocations: 2.906 kB / 466.9 MB, free: 51.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.2067, allocations: 0 / 466.9 MB, free: 51.98 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.001624/0.2083, allocations: 1.756 MB / 468.7 MB, free: 50.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2084, allocations: 9.688 kB / 468.7 MB, free: 50.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.2085, allocations: 164 kB / 468.9 MB, free: 50.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005865/0.2091, allocations: 278.9 kB / 469.1 MB, free: 50.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000611/0.2097, allocations: 0.6093 MB / 469.7 MB, free: 50.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.65e-05/0.2098, allocations: 137.4 kB / 469.9 MB, free: 50.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.2099, allocations: 120.7 kB / 470 MB, free: 50.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.211, allocations: 1.332 MB / 471.3 MB, free: 49.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.211, allocations: 2.969 kB / 471.3 MB, free: 49.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.2111, allocations: 49.88 kB / 471.4 MB, free: 49.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.2111, allocations: 25.34 kB / 471.4 MB, free: 49.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.2126, allocations: 1.674 MB / 473.1 MB, free: 49.14 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.003321/0.2159, allocations: 3.532 MB / 476.6 MB, free: 47.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.2177, allocations: 1.867 MB / 478.5 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.2181, allocations: 0.5315 MB / 479 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003062/0.2212, allocations: 2.79 MB / 481.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.2212, allocations: 41.94 kB / 481.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 1.784e-06/0.2212, allocations: 0 / 481.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.006896/0.2281, allocations: 3.436 MB / 485.3 MB, free: 43.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2281, allocations: 62.16 kB / 485.3 MB, free: 43.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.2285, allocations: 0.6117 MB / 485.9 MB, free: 43.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.2286, allocations: 41.2 kB / 486 MB, free: 43.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.2287, allocations: 0.5395 MB / 486.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.2289, allocations: 345.3 kB / 486.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.2291, allocations: 235.8 kB / 487.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.2291, allocations: 394.8 kB / 487.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.2295, allocations: 358.8 kB / 487.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.23, allocations: 0.748 MB / 488.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009967/0.231, allocations: 1.202 MB / 489.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.231, allocations: 4.031 kB / 489.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002156/0.2332, allocations: 1.476 MB / 491.3 MB, free: 40.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2332, allocations: 11.66 kB / 491.3 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.2332, allocations: 12.75 kB / 491.3 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008679/0.2341, allocations: 245.2 kB / 491.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.2349, allocations: 328.9 kB / 491.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.2375, allocations: 3.627 MB / 495.5 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.2379, allocations: 46.33 kB / 495.5 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.2379, allocations: 66.61 kB / 495.6 MB, free: 36.78 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.0002635/0.2382, allocations: 277.5 kB / 495.9 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.2383, allocations: 90.97 kB / 495.9 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.2405, allocations: 1.327 MB / 497.3 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.2405, allocations: 9.781 kB / 497.3 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2405, allocations: 1.188 kB / 497.3 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.2405, allocations: 9.938 kB / 497.3 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008806/0.2414, allocations: 0.9062 MB / 498.2 MB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2414, allocations: 5.219 kB / 498.2 MB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.242, allocations: 216.9 kB / 498.4 MB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008543/0.2428, allocations: 227 kB / 498.6 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.2429, allocations: 34.3 kB / 498.7 MB, free: 35.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.2452, allocations: 3.528 MB / 0.4904 GB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2452, allocations: 2.031 kB / 0.4904 GB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.2477, allocations: 1.748 MB / 0.4921 GB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.2477, allocations: 82.75 kB / 0.4922 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/0.2478, allocations: 24.92 kB / 0.4922 GB, free: 31.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.248, allocations: 20.67 kB / 0.4923 GB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.2482, allocations: 84.28 kB / 0.4923 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.2482, allocations: 46.38 kB / 0.4924 GB, free: 31.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003336/0.2486, allocations: 387.8 kB / 0.4927 GB, free: 31.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2486, allocations: 0 / 0.4927 GB, free: 31.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001574/0.2501, allocations: 0.676 MB / 0.4934 GB, free: 30.99 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.003314/0.2534, allocations: 3.03 MB / 0.4964 GB, free: 29.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.2547, allocations: 1.198 MB / 0.4975 GB, free: 28.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2547, allocations: 1.969 kB / 0.4975 GB, free: 28.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.2553, allocations: 0.6848 MB / 0.4982 GB, free: 28.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.2559, allocations: 205.1 kB / 0.4984 GB, free: 28.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008939/0.2649, allocations: 8.38 MB / 0.5066 GB, free: 21.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.2653, allocations: 455 kB / 0.507 GB, free: 20.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000584/0.2659, allocations: 228.1 kB / 0.5072 GB, free: 20.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.2662, allocations: 474 kB / 0.5077 GB, free: 20.37 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2662, allocations: 0 / 0.5077 GB, free: 20.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/0.3062, allocations: 34.28 MB / 0.5412 GB, free: 4.383 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.821/9.127, allocations: 7.859 kB / 0.5412 GB, free: 4.375 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.034858855418861] Failed to read output from testmodel.py, exit status != 0: 9.235194212757051 9.246125605 9.037597779 Calling exit ...