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: translateModel(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001056, allocations: 108.6 kB / 16.41 MB, free: 6.512 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.0009777/0.0009777, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.27/1.27, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07195/0.07195, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 63.89 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09749, allocations: 53.61 MB / 479.5 MB, free: 5.789 MB / 350.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.03284/0.1304, allocations: 25.41 MB / 0.493 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1877/0.3181, allocations: 16.66 MB / 0.5093 GB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.3185, allocations: 10.78 kB / 0.5093 GB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.3192, allocations: 332.5 kB / 0.5096 GB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.3221, allocations: 1.487 MB / 0.5111 GB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.3259, allocations: 1.987 MB / 0.513 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.3272, allocations: 1.539 MB / 0.5145 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000841/0.328, allocations: 0.8456 MB / 0.5154 GB, free: 17.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006679/0.3287, allocations: 0.774 MB / 0.5161 GB, free: 17.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009312/0.3296, allocations: 0.8497 MB / 0.5169 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.3299, allocations: 134.7 kB / 0.5171 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004124/0.334, allocations: 1.785 MB / 0.5188 GB, free: 16.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.3342, allocations: 328.5 kB / 0.5191 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.3348, allocations: 0.6884 MB / 0.5198 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.339, allocations: 3.335 MB / 0.5231 GB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3391, allocations: 5.188 kB / 0.5231 GB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3391, allocations: 0 / 0.5231 GB, free: 15.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3391, allocations: 1.062 kB / 0.5231 GB, free: 15.03 MB / 382.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.002798/0.3419, allocations: 1.806 MB / 0.5248 GB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3419, allocations: 9.75 kB / 0.5248 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.3431, allocations: 268.9 kB / 0.5251 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008257/0.3439, allocations: 0.6699 MB / 0.5257 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.344, allocations: 115.5 kB / 0.5259 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.3442, allocations: 109.6 kB / 0.526 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.3462, allocations: 1.337 MB / 0.5273 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.3462, allocations: 6.594 kB / 0.5273 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.3463, allocations: 45.59 kB / 0.5273 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.3463, allocations: 29.2 kB / 0.5273 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.3486, allocations: 1.694 MB / 0.529 GB, free: 12.23 MB / 382.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.005281/0.3539, allocations: 4.285 MB / 0.5332 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.3568, allocations: 2.283 MB / 0.5354 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/0.3575, allocations: 0.5916 MB / 0.536 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005104/0.3626, allocations: 5.383 MB / 0.5412 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.3627, allocations: 45.81 kB / 0.5413 GB, free: 2.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.114e-06/0.3627, allocations: 0 / 0.5413 GB, free: 2.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=95): time 0.0134/0.3761, allocations: 3.576 MB / 0.5448 GB, free: 15.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3761, allocations: 60.41 kB / 0.5448 GB, free: 15.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.3767, allocations: 0.5822 MB / 0.5454 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.3768, allocations: 45.7 kB / 0.5455 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.3771, allocations: 0.531 MB / 0.546 GB, free: 14.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.3774, allocations: 336.5 kB / 0.5463 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.3777, allocations: 234 kB / 0.5465 GB, free: 13.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3778, allocations: 394.7 kB / 0.5469 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/0.3784, allocations: 354.5 kB / 0.5472 GB, free: 12.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.3793, allocations: 0.7506 MB / 0.548 GB, free: 11.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.3808, allocations: 1.206 MB / 0.5491 GB, free: 10.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3809, allocations: 4 kB / 0.5491 GB, free: 10.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003842/0.3847, allocations: 1.473 MB / 0.5506 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3847, allocations: 12 kB / 0.5506 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3848, allocations: 12 kB / 0.5506 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/0.3867, allocations: 249.5 kB / 0.5508 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.3881, allocations: 322.2 kB / 0.5512 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/0.3934, allocations: 3.859 MB / 0.5549 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.3941, allocations: 43.98 kB / 0.555 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-05/0.3942, allocations: 67.98 kB / 0.555 GB, free: 4.191 MB / 398.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.000374/0.3946, allocations: 276 kB / 0.5553 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.3948, allocations: 86.88 kB / 0.5554 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/0.3987, allocations: 1.332 MB / 0.5567 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.3987, allocations: 3.984 kB / 0.5567 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3988, allocations: 7.875 kB / 0.5567 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3989, allocations: 150.7 kB / 0.5568 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.399, allocations: 23.98 kB / 0.5569 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.3995, allocations: 16 kB / 0.5569 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.3997, allocations: 76.89 kB / 0.5569 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003352/0.4031, allocations: 1.162 MB / 0.5581 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002141/0.4052, allocations: 1.536 MB / 0.5596 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005914/0.4058, allocations: 419.8 kB / 0.56 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004086/0.4062, allocations: 388.3 kB / 0.5603 GB, free: 14.75 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.4062, allocations: 7.125 kB / 0.5604 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003843/0.4101, allocations: 1.915 MB / 0.5622 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 0.002724/0.4128, allocations: 2.285 MB / 0.5645 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Templates: time 0.03664/0.4495, allocations: 26.71 MB / 0.5905 GB, free: 0.6484 MB / 430.1 MB make -j1 -f Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile (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 & ./Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1)