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.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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.001134/0.001134, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1629/0.1629, allocations: 15.31 MB / 305.7 MB, free: 15.33 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.89 kB / 370.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07736/0.07853, allocations: 53.61 MB / 424 MB, free: 14.22 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.ClimateChange.HydrogenotrophicMethanogenesis): time 0.2612/0.3398, allocations: 25.43 MB / 449.5 MB, free: 40.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.3508, allocations: 16.66 MB / 466.1 MB, free: 31.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.3512, allocations: 14.44 kB / 466.2 MB, free: 31.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.3518, allocations: 342.8 kB / 466.5 MB, free: 31.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.3542, allocations: 1.474 MB / 468 MB, free: 30.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.3575, allocations: 1.989 MB / 469.9 MB, free: 29.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.3586, allocations: 1.53 MB / 471.5 MB, free: 28.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.3592, allocations: 0.8591 MB / 472.3 MB, free: 28.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.3598, allocations: 0.7566 MB / 473.1 MB, free: 27.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007633/0.3606, allocations: 0.8507 MB / 473.9 MB, free: 27.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.3608, allocations: 134.2 kB / 474.1 MB, free: 27.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003684/0.3645, allocations: 1.781 MB / 475.9 MB, free: 27.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.3647, allocations: 329.4 kB / 476.2 MB, free: 26.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004739/0.3652, allocations: 0.6875 MB / 476.9 MB, free: 26.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.3687, allocations: 3.323 MB / 480.2 MB, free: 25.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3687, allocations: 0 / 480.2 MB, free: 25.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3687, allocations: 1.156 kB / 480.2 MB, free: 25.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3688, allocations: 0 / 480.2 MB, free: 25.06 MB / 366.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.002568/0.3713, allocations: 1.802 MB / 482 MB, free: 23.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3714, allocations: 10.22 kB / 482 MB, free: 23.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.3715, allocations: 167.1 kB / 482.2 MB, free: 23.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.3726, allocations: 268.8 kB / 482.4 MB, free: 23.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.3733, allocations: 0.6499 MB / 483.1 MB, free: 23.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.422e-05/0.3734, allocations: 110.4 kB / 483.2 MB, free: 23.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.3735, allocations: 116.8 kB / 483.3 MB, free: 23.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.3752, allocations: 1.334 MB / 484.6 MB, free: 22.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3752, allocations: 1.062 kB / 484.6 MB, free: 22.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.3753, allocations: 44.7 kB / 484.7 MB, free: 22.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3754, allocations: 26.62 kB / 484.7 MB, free: 22.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.3775, allocations: 1.7 MB / 486.4 MB, free: 22.13 MB / 366.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.005138/0.3826, allocations: 4.314 MB / 490.7 MB, free: 19.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/0.3854, allocations: 2.273 MB / 493 MB, free: 18.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000638/0.3861, allocations: 0.5941 MB / 493.6 MB, free: 18.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004892/0.391, allocations: 5.396 MB / 499 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.391, allocations: 47.36 kB / 499 MB, free: 13.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.054e-06/0.391, allocations: 0 / 499 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=95): time 0.01239/0.4034, allocations: 3.559 MB / 0.4908 GB, free: 12.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.4035, allocations: 63.38 kB / 0.4909 GB, free: 12.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.4039, allocations: 0.5861 MB / 0.4914 GB, free: 12.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.404, allocations: 42.2 kB / 0.4915 GB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.4042, allocations: 0.5352 MB / 0.492 GB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.4044, allocations: 333.6 kB / 0.4923 GB, free: 11.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.4047, allocations: 226.8 kB / 0.4925 GB, free: 11.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.4048, allocations: 404.2 kB / 0.4929 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.4053, allocations: 358 kB / 0.4933 GB, free: 10.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/0.4059, allocations: 0.7523 MB / 0.494 GB, free: 10.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.4071, allocations: 1.203 MB / 0.4952 GB, free: 9.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4071, allocations: 3.531 kB / 0.4952 GB, free: 9.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003349/0.4105, allocations: 1.476 MB / 0.4966 GB, free: 8.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4105, allocations: 13.78 kB / 0.4966 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.4105, allocations: 12.34 kB / 0.4966 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.4123, allocations: 243.7 kB / 0.4969 GB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.4136, allocations: 329.5 kB / 0.4972 GB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.4177, allocations: 3.862 MB / 0.501 GB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.4184, allocations: 45.98 kB / 0.501 GB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/0.4185, allocations: 67.7 kB / 0.5011 GB, free: 4.77 MB / 366.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 (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.000289/0.4188, allocations: 273.5 kB / 0.5013 GB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.4189, allocations: 87.72 kB / 0.5014 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/0.4223, allocations: 1.343 MB / 0.5027 GB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.4224, allocations: 8 kB / 0.5027 GB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4224, allocations: 4 kB / 0.5027 GB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.4224, allocations: 4.969 kB / 0.5027 GB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4234, allocations: 1.067 MB / 0.5038 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4234, allocations: 3.938 kB / 0.5038 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.4245, allocations: 217.7 kB / 0.504 GB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/0.4261, allocations: 233 kB / 0.5042 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.088e-05/0.4262, allocations: 35.88 kB / 0.5043 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/0.4301, allocations: 3.757 MB / 0.5079 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4301, allocations: 0 / 0.5079 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003773/0.4339, allocations: 1.744 MB / 0.5096 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.4341, allocations: 152.1 kB / 0.5098 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.4342, allocations: 24.12 kB / 0.5098 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.4346, allocations: 20 kB / 0.5098 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.4348, allocations: 88.77 kB / 0.5099 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.4349, allocations: 35.98 kB / 0.5099 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003591/0.4352, allocations: 391.1 kB / 0.5103 GB, free: 11.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4352, allocations: 4 kB / 0.5103 GB, free: 11.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001656/0.4369, allocations: 0.6753 MB / 0.511 GB, free: 10.89 MB / 382.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 (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.00523/0.4421, allocations: 2.977 MB / 0.5139 GB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.4445, allocations: 1.325 MB / 0.5152 GB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4445, allocations: 0 / 0.5152 GB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009318/0.4454, allocations: 0.7449 MB / 0.5159 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/0.4463, allocations: 219.5 kB / 0.5161 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.4591, allocations: 8.716 MB / 0.5246 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.4597, allocations: 1.041 MB / 0.5256 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008864/0.4606, allocations: 227.2 kB / 0.5258 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005619/0.4612, allocations: 476.2 kB / 0.5263 GB, free: 10.49 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4612, allocations: 0 / 0.5263 GB, free: 10.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.022/3.483, allocations: 31.83 MB / 0.5574 GB, free: 10.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/15.11, allocations: 7.938 kB / 0.5574 GB, free: 10.81 MB / 430.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/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)