Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.0009353, allocations: 94.03 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2079/0.2079, allocations: 15.26 MB / 306.3 MB, free: 15.72 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003136, allocations: 8 kB / 371.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2695, allocations: 54.62 MB / 426.2 MB, free: 40.03 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011:65: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 1.4.0/package.mo:3011:6-3011:65: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.Examples.ClimateChange.HydrogenotrophicMethanogenesis): time 0.004956/0.2745, allocations: 5.835 MB / 432 MB, free: 39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.287, allocations: 15.18 MB / 447.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.2882, allocations: 33.31 kB / 447.2 MB, free: 27.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008661/0.2891, allocations: 295.6 kB / 447.5 MB, free: 27.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003357/0.2924, allocations: 1.291 MB / 448.8 MB, free: 27.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.297, allocations: 1.609 MB / 450.4 MB, free: 26.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.2987, allocations: 1.415 MB / 451.8 MB, free: 25.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007168/0.2994, allocations: 0.6565 MB / 452.5 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007575/0.3002, allocations: 0.6141 MB / 453.1 MB, free: 24.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008175/0.301, allocations: 0.7688 MB / 453.9 MB, free: 24.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3012, allocations: 70.66 kB / 453.9 MB, free: 24.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004429/0.3056, allocations: 1.616 MB / 455.6 MB, free: 24.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.3059, allocations: 253.6 kB / 455.8 MB, free: 24.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003641/0.3063, allocations: 241.6 kB / 456 MB, free: 24.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.3095, allocations: 2.484 MB / 458.5 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3095, allocations: 4 kB / 458.5 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3095, allocations: 0 / 458.5 MB, free: 23.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.3095, allocations: 0 / 458.5 MB, free: 23.12 MB / 350.1 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.002536/0.3121, allocations: 1.524 MB / 460.1 MB, free: 22.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3121, allocations: 8.906 kB / 460.1 MB, free: 22.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.3123, allocations: 161.5 kB / 460.2 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.3134, allocations: 273.9 kB / 460.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/0.3142, allocations: 0.6085 MB / 461.1 MB, free: 21.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.3144, allocations: 113.6 kB / 461.2 MB, free: 21.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.3145, allocations: 118.2 kB / 461.3 MB, free: 21.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.3167, allocations: 1.318 MB / 462.6 MB, free: 20.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.3168, allocations: 0 / 462.6 MB, free: 20.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.3169, allocations: 46.38 kB / 462.7 MB, free: 20.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.3169, allocations: 29.44 kB / 462.7 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.3196, allocations: 1.687 MB / 464.4 MB, free: 20.35 MB / 350.1 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.006205/0.3258, allocations: 4.256 MB / 468.7 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.3289, allocations: 2.279 MB / 470.9 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/0.3298, allocations: 0.5864 MB / 471.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005541/0.3354, allocations: 5.278 MB / 476.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.3354, allocations: 39.36 kB / 476.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.054e-06/0.3354, allocations: 0 / 476.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.01392/0.3493, allocations: 3.601 MB / 480.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.3494, allocations: 70.39 kB / 480.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/0.3501, allocations: 0.5856 MB / 481.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.3501, allocations: 40.45 kB / 481.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.3504, allocations: 0.5284 MB / 481.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.3506, allocations: 330.5 kB / 482 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.3507, allocations: 29.69 kB / 482 MB, free: 9.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3508, allocations: 393.1 kB / 482.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.3514, allocations: 355.6 kB / 482.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.3521, allocations: 0.7425 MB / 483.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.3528, allocations: 466.8 kB / 483.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/0.3528, allocations: 3.438 kB / 484 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00377/0.3566, allocations: 1.472 MB / 485.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3567, allocations: 13.19 kB / 485.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.3567, allocations: 12.38 kB / 485.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.3586, allocations: 271.1 kB / 485.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.3599, allocations: 325.7 kB / 486 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/0.3646, allocations: 3.507 MB / 489.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000934/0.3655, allocations: 77.33 kB / 489.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3656, allocations: 64.06 kB / 489.7 MB, free: 4.418 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004232/0.3661, allocations: 273.5 kB / 489.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.3662, allocations: 88.53 kB / 490 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.37, allocations: 1.347 MB / 491.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.37, allocations: 16 kB / 491.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.37, allocations: 0.75 kB / 491.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.37, allocations: 4.547 kB / 491.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.3713, allocations: 1.08 MB / 492.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.3713, allocations: 0 / 492.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.3723, allocations: 211.7 kB / 492.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.3741, allocations: 245.5 kB / 492.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.3742, allocations: 35.98 kB / 493 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/0.3785, allocations: 3.406 MB / 496.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3786, allocations: 4.031 kB / 496.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004234/0.3828, allocations: 1.744 MB / 498.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.3831, allocations: 156 kB / 498.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.3832, allocations: 24 kB / 498.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005032/0.3837, allocations: 36.05 kB / 498.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.3839, allocations: 84.83 kB / 498.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.384, allocations: 43.98 kB / 498.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005731/0.3846, allocations: 383.1 kB / 498.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3846, allocations: 0 / 498.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002095/0.3867, allocations: 0.6519 MB / 499.5 MB, free: 10.75 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005847/0.3925, allocations: 2.975 MB / 0.4907 GB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.3947, allocations: 1.243 MB / 0.4919 GB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3947, allocations: 0 / 0.4919 GB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009987/0.3957, allocations: 0.7449 MB / 0.4926 GB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3968, allocations: 196.3 kB / 0.4928 GB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.4073, allocations: 6.139 MB / 0.4988 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.408, allocations: 1.045 MB / 0.4998 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001005/0.409, allocations: 236.8 kB / 0.5 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/0.4096, allocations: 469.4 kB / 0.5005 GB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.384e-06/0.4096, allocations: 0 / 0.5005 GB, free: 13.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04849/0.4581, allocations: 30.34 MB / 0.5301 GB, free: 15.22 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.4583, allocations: 226.4 kB / 0.5303 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.075, allocations: 0 / 0.5303 GB, free: 14.98 MB / 414.1 MB (rm -f Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) Environment - environmentSimulation: