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.000912/0.000912, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009194/0.0009195, allocations: 177.3 kB / 15.94 MB, free: 228 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.296/1.296, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2298/0.2298, allocations: 15.25 MB / 306.2 MB, free: 15.81 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 12 kB / 371.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2982, allocations: 54.61 MB / 426.1 MB, free: 40.23 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.005166/0.3034, allocations: 5.285 MB / 431.4 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.3175, allocations: 14.05 MB / 445.4 MB, free: 29.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.3186, allocations: 21.28 kB / 445.4 MB, free: 29.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.3195, allocations: 322 kB / 445.7 MB, free: 29.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.3229, allocations: 1.456 MB / 447.2 MB, free: 28.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.3278, allocations: 1.777 MB / 449 MB, free: 27.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.3297, allocations: 1.012 MB / 450 MB, free: 26.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007227/0.3305, allocations: 0.656 MB / 450.6 MB, free: 26.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006594/0.3311, allocations: 0.5578 MB / 451.2 MB, free: 26.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007939/0.332, allocations: 0.7437 MB / 451.9 MB, free: 26.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.3321, allocations: 69.88 kB / 452 MB, free: 26.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005651/0.3377, allocations: 1.954 MB / 454 MB, free: 25.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002971/0.3381, allocations: 252.4 kB / 454.2 MB, free: 25.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.3384, allocations: 244 kB / 454.5 MB, free: 25.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003359/0.3418, allocations: 1.961 MB / 456.4 MB, free: 24.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3418, allocations: 2.969 kB / 456.4 MB, free: 24.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3418, allocations: 0 / 456.4 MB, free: 24.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.3419, allocations: 0 / 456.4 MB, free: 24.9 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.002423/0.3443, allocations: 1.521 MB / 457.9 MB, free: 23.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3443, allocations: 9.312 kB / 457.9 MB, free: 23.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.3445, allocations: 169.5 kB / 458.1 MB, free: 23.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009773/0.3455, allocations: 270.7 kB / 458.4 MB, free: 23.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.3462, allocations: 0.5869 MB / 459 MB, free: 23.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-05/0.3463, allocations: 114 kB / 459.1 MB, free: 23.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.3465, allocations: 111.1 kB / 459.2 MB, free: 23.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.3483, allocations: 1.318 MB / 460.5 MB, free: 22.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.3483, allocations: 0.9375 kB / 460.5 MB, free: 22.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.3484, allocations: 41.5 kB / 460.5 MB, free: 22.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.3485, allocations: 25.72 kB / 460.6 MB, free: 22.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.3508, allocations: 1.688 MB / 462.3 MB, free: 22.13 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.006151/0.357, allocations: 4.223 MB / 466.5 MB, free: 19.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.3602, allocations: 2.27 MB / 468.8 MB, free: 18.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006329/0.3666, allocations: 5.246 MB / 474 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.3666, allocations: 38.72 kB / 474 MB, free: 14.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.3666, allocations: 0 / 474 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.01469/0.3813, allocations: 3.599 MB / 477.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.3814, allocations: 65.84 kB / 477.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000723/0.3821, allocations: 0.5823 MB / 478.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.3822, allocations: 45.39 kB / 478.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.3825, allocations: 0.5235 MB / 478.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.3827, allocations: 337.8 kB / 479.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.3828, allocations: 25.09 kB / 479.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3829, allocations: 393.3 kB / 479.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/0.3835, allocations: 355.4 kB / 479.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/0.3842, allocations: 0.7431 MB / 480.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.3849, allocations: 465.5 kB / 481.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.3849, allocations: 4.375 kB / 481.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003963/0.3889, allocations: 1.472 MB / 482.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3889, allocations: 11.31 kB / 482.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.3889, allocations: 13.31 kB / 482.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.391, allocations: 260.4 kB / 482.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.3924, allocations: 331.6 kB / 483.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004592/0.397, allocations: 3.539 MB / 486.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.3981, allocations: 69.11 kB / 486.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.3982, allocations: 68.03 kB / 486.9 MB, free: 6.43 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.0004795/0.3987, allocations: 276.7 kB / 487.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.3988, allocations: 87.27 kB / 487.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004089/0.4029, allocations: 1.347 MB / 488.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.403, allocations: 14.94 kB / 488.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.403, allocations: 4.219 kB / 488.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.403, allocations: 5.859 kB / 488.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.4044, allocations: 1.069 MB / 489.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4044, allocations: 0 / 489.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.4055, allocations: 227 kB / 489.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/0.4075, allocations: 238.7 kB / 490.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-05/0.4075, allocations: 35.98 kB / 490.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003854/0.4114, allocations: 3.457 MB / 493.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4114, allocations: 0 / 493.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/0.4154, allocations: 1.79 MB / 495.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.4157, allocations: 159.9 kB / 495.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.4159, allocations: 20.06 kB / 495.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005225/0.4164, allocations: 31.98 kB / 495.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.4166, allocations: 76.89 kB / 495.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/0.4167, allocations: 36.11 kB / 495.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004453/0.4171, allocations: 395 kB / 496.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4171, allocations: 0 / 496.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001946/0.4191, allocations: 0.6441 MB / 496.8 MB, free: 13.39 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.005668/0.4248, allocations: 3.299 MB / 0.4883 GB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.4269, allocations: 1.234 MB / 0.4895 GB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/0.427, allocations: 8 kB / 0.4896 GB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009982/0.428, allocations: 0.7423 MB / 0.4903 GB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008234/0.4288, allocations: 172.7 kB / 0.4904 GB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00701/0.4358, allocations: 12.29 MB / 0.5024 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.4364, allocations: 1.067 MB / 0.5035 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009593/0.4374, allocations: 232.8 kB / 0.5037 GB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.438, allocations: 471.6 kB / 0.5042 GB, free: 9.41 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.438, allocations: 0 / 0.5042 GB, free: 9.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04869/0.4867, allocations: 30.13 MB / 0.5336 GB, free: 11.56 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.4869, allocations: 218.7 kB / 0.5338 GB, free: 11.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.047, allocations: 2.812 kB / 0.5338 GB, free: 11.32 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: